Add header & footer
Add custom header and footer text to every page.
Add header & footer stamps custom text at the top and/or bottom of every page, with placeholders for the page number, total pages, and today's date, and optional distinct text for odd vs. even pages.
Click to choose a PDF, or drag one in here
One file at a time
How to use
- Enter header and/or footer text — leave either blank to skip it.
- Use {n}, {total}, and {date} as placeholders for the page number, page count, and today's date.
- Check "Use different text on odd/even pages" for book-style layouts.
Common use scenarios
- Adding a document title or company name as a running header across every page.
- Adding page numbers in a custom format, alongside other header/footer text.
- Creating a book-style layout with different header text on left and right (odd/even) pages.
- Stamping a generation date into the footer of a report.
✓Content & verification reviewed: 2026-09-17
How we verify Add header & footer
How to confirm the header/footer text and placeholders came out correctly.
Placeholders are replaced per page
{n}, {total}, and {date} are substituted with that page's number, the document's total page count, and today's date respectively — check a few different pages to confirm the numbers update correctly.
Odd/even text only applies when enabled
By default the same header/footer text is used on every page — check "use different text on odd/even pages" to set separate text for each.
Text is always centered
Header and footer text is centered horizontally on the page — there's no option for left- or right-aligned text with this tool.
Before you rely on the result
- You've written header/footer text using {n}/{total}/{date} placeholders where needed.
- You've decided whether you need distinct odd/even page text.
- You've checked a few pages in the output to confirm placeholders substituted correctly.
Who this is for
- Anyone adding a running title or company name across a document's pages.
- People who want page numbers combined with other header/footer text.
- Anyone preparing a book-style layout with alternating odd/even headers.
Real-world examples
Adding a report footer with date and page count
A report gets a footer reading "Page {n} of {total} — generated {date}" so every printed copy shows exactly when and how it was produced.
Book-style alternating headers
A document uses the book title as the header on odd pages and the current chapter name on even pages, set up with the odd/even option.
Limitations
- Header/footer text is centered on every page — it doesn't support left/right-aligned variants.
Frequently asked questions
What placeholders can I use?
{n} for the current page number, {total} for the total page count, and {date} for today's date.
Can I left- or right-align the text instead of centering it?
No — header and footer text is always centered with this tool.
Can the header be different from the footer?
Yes — set header text, footer text, or both independently, and each can have its own odd/even variants if enabled.
🔒 Runs in your browser — nothing is uploaded. Results are for reference only; see the disclaimer. Last updated: 2026-09-17
Subscribe for updates
New tools and tips, straight to your inbox. No spam, unsubscribe anytime.