Add Header & Footer to PDF
Add custom header and footer text to PDF pages with {page}, {pages}, {date}, {time} and {filename} tokens. Choose left, centre or right, font size, colour, opacity, margin and pages, with a live preview.
Add custom header and footer text to PDF pages with {page}, {pages}, {date}, {time} and {filename} tokens. Choose left, centre or right, font size, colour, opacity, margin and pages, with a live preview.
Add Header & Footer to PDF writes your own text at the top and bottom of PDF pages, entirely in your browser. Type a header, a footer or both, and use tokens that are filled in for every page: {page} for the page number, {pages} for the total number of pages, {date} and {time} from your device’s clock in the format you choose, and {filename} for the PDF’s name. Place each line on the left, centre or right, and set the font size, colour, opacity, distance from the edge and which pages to change.
A live preview shows the first selected page with your text placed using the same measurements as the final file. The text is added to the page content as real, selectable text in the standard Helvetica PDF font, which covers Western European characters — anything it cannot write is reported before processing. The tool does not change the document’s metadata and does not certify, date-stamp or legally verify anything. Password-protected PDFs cannot be edited, and nothing is uploaded.
{page} (current page number), {pages} (total pages in the document), {date}, {time} and {filename}. They can be mixed with your own text, for example “{filename} — Page {page} of {pages}”.
From your device’s clock at the moment you click the button, in the format you choose. No online time service is used.
Yes. It is written as real text in the standard Helvetica font, not as an image.
The standard PDF font supports Western European characters. Other scripts and emoji cannot be written with it, so they are listed before processing instead of producing broken text.
No. It adds visible text only. It does not change metadata, create a trusted timestamp or certify anything.
Besides page numbers, you can write any header and footer text, combine tokens, and choose position and style for each line.
No. The PDF is opened and processed by local copies of PDF.js and pdf-lib running in your browser. Nothing is sent to a server, and passwords you type are used only in this tab.