Add Header and Footer to PDF
Add custom headers and footers with page, total, filename and date tokens to selected PDF pages.
Private PDF workspace
Start with your document
Choose a PDF to unlock visual page controls. The original file is never modified.
Local
processing
No upload
privacy
output
About the Add Header and Footer to PDF
Add Header and Footer PDF draws separate text labels near the top and bottom of selected pages. Each label has independent left, centre, or right alignment, while font size, colour, and edge margin apply to both.
Templates support {n}, {total}, {filename}, and {date} tokens. The tokens resolve separately for each page, and a page-range field can target part of the document rather than every page.
Labels use embedded Helvetica and are added as PDF text without rasterizing the source. The current date is generated at creation time, and long text can overlap page content or extend beyond the available width.
Key features
- Independent header and footer templates
- Page, total, filename, and current-date tokens
- Left, centre, and right alignment
- Font-size and colour controls
- Adjustable page margin
- All pages or selected ranges
- Live first-page preview
- Vector text output
How to use
- 1Upload the PDF and enter a header, footer, or both.
- 2Add supported tokens where dynamic values are needed.
- 3Choose alignment, font size, colour, and page margin.
- 4Leave Pages blank for all pages or enter a range.
- 5Inspect the preview for overlap and create the labelled PDF.
Examples
Header {filename}, footer Page {n} of {total}, pages 2-12PDF with labels only on the chosen pagesFrequently asked questions
- Which tokens are supported?
- {n} is the source page number, {total} is the document page count, {filename} is the base file name, and {date} is the current date.
- Can header and footer align differently?
- Yes. Each has its own left, centre, or right alignment.
- Can I use different text on different page groups?
- One run uses one header and footer template; process separate page ranges in separate copies if wording must differ.
- Does the tool reserve blank margin space?
- No. It draws over the existing page, so review possible overlap.
- Are source pages rasterized?
- No. Text labels are added to the existing PDF pages.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- PDF ToolsAdd Page Numbers to PDF
Insert page numbers into a PDF with a choice of position and format.
Open tool - PDF ToolsWatermark PDF
Add a text watermark across every page of a PDF in your browser.
Open tool - PDF ToolsBates Numbering
Stamp sequential padded identifiers on PDF pages for legal and document-control workflows.
Open tool
