About the Add Header & Footer to PDF tool
Headers and footers make a PDF look finished and help readers keep track: a company name at the top, a confidentiality notice at the bottom, the date of the version and “Page 3 of 12” in the corner. Adding them normally means going back to the original Word or InDesign file. This tool adds header and footer text straight onto an existing PDF.
There are six text boxes, matching the six classic positions: header left, centre and right, and footer left, centre and right. Leave a box empty to skip that position. Each box accepts plain text plus four tokens that are filled in per page: {page} for the page number, {total} for the page count, {date} for today's date and {filename} for the file name without its extension. For example, “Page {page} of {total}” becomes “Page 7 of 20”.
Choose Helvetica, Times or Courier, a font size from 6 to 24 pt, text colour and the distance from the page edge. Apply it to all pages or a range such as 2-end, and optionally count pages within that range only, so a document with a cover can start at page 1. The preview shows the first selected page exactly as it will be saved, and rotated pages are handled so the text always reads upright.
How to use Add Header & Footer to PDF
- Drop your PDF onto the upload box.
- Type text into any of the Header left/centre/right and Footer left/centre/right boxes, using tokens like {page} and {date}.
- Choose the Font, Date format, Font size, Margin from edge and Text colour.
- Optionally enter Pages such as 2-end and tick “Count {page} and {total} within the selected pages only”.
- Check the preview, then click “Add header & footer & download”.
Features
Six positions at once
Fill any combination of left, centre and right in both the header and footer.
Dynamic tokens
{page}, {total}, {date} and {filename} are replaced individually on every page.
Page ranges with renumbering
Skip a cover or appendix and optionally restart numbering within the selected range.
Live, exact preview
The preview is generated with the same code as the download, so what you see is what you get.
Rotation-aware placement
Text is positioned by how each page is displayed, so it stays upright on rotated or landscape pages.
When to use it
- Stamp “Confidential – Draft” in the header of a report before circulating it.
- Add the file name and date to every page of legal exhibits.
- Put “Page X of Y” footers on a merged PDF that has no numbering.
- Brand exported slides or invoices with a company name and website.
- Label exam papers or handouts with a course code and date.
Frequently asked questions
What tokens can I use?
{page} inserts the page number, {total} the total pages, {date} today's date in the format you choose, and {filename} the PDF's name without “.pdf”. Tokens can be mixed with normal text in any box.
Can I skip the first page?
Yes. Enter a page range like 2-end. Tick the “Count within the selected pages only” box if you want page 2 of the file to show as page 1.
Why do some characters show an error?
Header text is written with the standard PDF fonts (Helvetica, Times, Courier), which support Latin characters only. Text such as Chinese, Arabic, Hindi or emoji — including in the file name or date — can't be encoded with them.
Will the header cover existing content?
It is drawn on top of the page at the margin you set. If the original has content close to the edge, increase the margin or reduce the font size, and check the preview.
How is this different from Add Page Numbers?
Add Page Numbers places a single number in one position. This tool lets you place free text with tokens in up to six positions at the same time.