Add header and footer to PDF
Processed in your browser. Your file never leaves your device.
How to add a header or footer to a PDF online for free
- 1
Open the PDF you want to stamp
Click Select PDF file and pick your document. The first page renders as a live preview so you can watch each header and footer slot fill in as you type, navigate to any page with the ← → buttons above the preview to confirm placement across the file.
- 2
Type into the six slots and drop in tokens
The sidebar shows two panels, Header and Footer, each with a Left, Center and Right text input. Type any static text, then tap the {page}, {total}, {date} or {filename} chip under the row to insert that token at the cursor position of the last-focused slot. You can mix freely: "Confidential, {filename}" in the header-left, "Page {page} of {total}" in the footer-right.
- 3
Set the look and choose which pages get stamped
Pick a Font size (6 to 72pt, default 10), a Color from the swatch picker, and a Margin from edge, Small (18pt), Normal (28pt) or Big (44pt). Under Pages, choose All pages or Page range and type something like 2-10 or 1,3,5-9 to skip a cover page or target a specific section.
- 4
Click Add Header & Footer and download
The tool writes each slot's text, with tokens resolved for the actual page, as a Helvetica text layer on every included page, respecting page rotation so headers stay on top even for sideways scans. The output downloads as your-file-stamped.pdf; the original PDF isn't overwritten.
Smart tokens: dates, filenames and page numbers that fill themselves
The chips beneath each row of inputs, {page}, {total}, {date} and {filename}, are the reason this tool is faster than doing headers by hand in a word processor. Tap one and the token is inserted at the end of whichever slot you last focused; when the PDF saves, each token is replaced with the real value for that page.
Type Page {page} of {total} in Footer-Center and every page auto-numbers itself with the true totals; drop {date} in a header slot and today's date (DD/MM/YYYY) stamps across the file at save time; put {filename} in a corner and every page carries the document's name minus the .pdf extension. Combining is free-form, so a footer of "Confidential, {filename}, Page {page} of {total}" is one line of typing that produces a fully-referenced, per-page stamp on a 200-page document.
Label every page like a professional document
A report without a header, a bundle without a footer, or a printed handout without a date all share the same problem, the pages don't know what they are. Any page that gets photographed, forwarded, stapled, unstapled or dropped becomes an orphan without a way back to its source.
A quiet title along the top and a small "Page X of Y" along the bottom fixes that in one pass. It makes the document referenceable in meetings ("see page 14 of the RFP"), hard to misfile after printing, and instantly identifiable when a single page is forwarded on. That's the entire brief of this tool: give a plain PDF the metadata a professional reader expects to see on the page itself.
Frequently asked questions
Can I put different text in different positions?+
Yes. There are separate left, center and right text slots for both the header and footer.
How do I add page numbers?+
Insert {page} for the current page number and {total} for the document page count. For example, Page {page} of {total} combines both tokens.
Can I insert the date or filename?+
Yes. Use {date} for the date and {filename} for the source filename without its .pdf extension.
Which styling controls are available?+
You can change font size, text color and the margin from the page edge. The exported text uses Helvetica.
Can I stamp only certain pages?+
Yes. Choose the page-range option instead of all pages and enter the pages to stamp.
Will the tool make space for my header and footer?+
No. Text is drawn over the existing page without moving its contents. Check the preview and choose a margin and font size that avoid overlap.