This tool adds a header and/or footer to every page of a PDF, with independently editable left, centre, and right slots in each, so you can put a document title on the left, the page number in the centre, and a date on the right, for example. Dynamic tokens fill in automatically: {page} and {total} for numbering, {date} for the current date, and {filename} for the document's name.
You control font, size, colour, and margin, and a live preview shows the header/footer positioned on an actual page before you export, so there's no guessing how it'll look. You can apply it across the whole document or just a specific page range using the page picker, useful if a cover page shouldn't carry the same footer as the rest of the report.
This is standard practice for anything formal, reports, theses, contracts, where a consistent header or footer signals a finished, professional document rather than a loose PDF. As with the rest of the editing tools here, it's applied directly into the PDF's real content using pdf-lib, entirely in your browser, so nothing is uploaded.
A running footer with the document title and page count helps anyone who prints the file keep loose pages in order, while a header with the current date is useful for anything that gets revised and reprinted periodically, like a policy document or a price list. Because the {filename} token pulls the document's actual name automatically, it also saves the small hassle of retyping a title that might change if the file itself gets renamed later.
Setting up header and footer text once and applying it across an entire long document is far faster than editing a master template and re-exporting from whatever program originally created the file.
How to Add Header & Footer
- Upload your PDF.
- Fill in the left/centre/right slots for the header and/or footer, using tokens like {page}, {total}, {date}, or {filename}.
- Adjust font size, colour, and margin, and check the live preview.
- Apply to all pages or a specific range, then download.
Frequently asked questions
What dynamic tokens are supported?
{page} and {total} for page numbering, {date} for today's date, and {filename} for the document's name, mix them with your own text in any slot.
Can I have different content in the left, centre, and right of the footer?
Yes, each of the three slots in the header and footer is edited independently.
Can I apply it to only some pages?
Yes, use the page picker to restrict the header/footer to a specific page range instead of the whole document.
Can I preview it before exporting?
Yes, a live preview shows the header/footer positioned on an actual page so you can check font, size, and spacing first.
Is my document uploaded to add a header or footer?
No. This runs entirely in your browser, so your PDF is never sent to a server.
Related tools
- Add Page Numbers: Insert page numbers with custom position and style.
- Add Watermark: Stamp a text or image watermark across every page.
- Add Text & Images: Place text boxes and images anywhere on a PDF page.
- Merge PDF: Combine multiple PDFs into one document, in any order.