PDF Header and Footer
Add header and footer text to every PDF page with font size, margins and page-number tokens.
Add a centered header and footer to selected or all PDF pages, with configurable font size and margin. The tool writes text into the page content using pdf-lib, supports {page} and {total} tokens, and reduces the font size when a line would overflow. It does not reflow the body, so verify that the header and footer do not cover existing content.
PDF Header and Footer
Add header and footer text to every PDF page with font size, margins and page-number tokens.
Tokens: {page} current page, {total} selected page count.
Workflow
Review format and export
Converted file
Choose a file and convert it to preview the result
Use cases
When to use PDF Header and Footer
Add header and footer text to every PDF page with font size, margins and page-number tokens.
Guidance
Get reliable results
- 1Confirm the output fulfills the stated goal: Add header and footer text to every PDF page with font size, margins and page-number tokens.. Then review page geometry, text layer, form fields, metadata, file integrity and output format and the supported limits.
- 2Review page geometry, text layer, form fields, metadata, file integrity and output format before relying on the result, especially values that affect money, security or published content.
- 3Remove sensitive values from test data and validate the final output in the receiving system.
Common mistakes
What usually goes wrong
- 1Placing a footer too close to the page edge can be clipped by printers or crop boxes; keep the margin inside the printable area.
- 2Using a very large font or long text can overlap body content; the tool shrinks text to fit the width but does not move existing elements.
- 3Assuming {page} is the original page label is unsafe when only a range is selected; {page} is the actual page number and {total} is the selected count.
Verification checklist
Check before you ship
- Open the exported PDF and check that the header and footer are visible on every selected page, including landscape pages.
- Confirm the text does not cover body content, signatures, page numbers or crop marks.
- Print or preview the first and last pages to verify margins and font legibility.
Frequently asked questions
What is PDF Header and Footer best used for?
Add header and footer text to every PDF page with font size, margins and page-number tokens. A representative use case is Start with an input that matches the supported fields for PDF Header and Footer, then confirm the output format, required fields and file integrity before using it downstream.
What should I verify before relying on PDF Header and Footer output?
PDF Header and Footer processes the browser inputs described on this page; validate page geometry, text layer, form fields, metadata, file integrity and output format and any external platform rules separately before production use.
Can I start using PDF Header and Footer without installing software?
Yes. Add header and footer text to every PDF page with font size, margins and page-number tokens. Another common workflow is Check page geometry, text layer, form fields, metadata, file integrity and output format on the result rather than relying only on a success message; if something looks wrong, keep the source and narrow the input to reproduce it. Review the target API, runtime, database or document workflow before production use.
Can I use different header and footer text?
Yes. Enter separate text for each; leave one blank to omit it. The tokens {page} and {total} are replaced on every page.
Does it preserve the original text layer?
Yes. The tool adds text without rasterizing the page, so existing text stays searchable and selectable in the exported PDF.
Official references
Primary specifications and vendor documentation used to describe this tool's behavior and limits.
Reviewed by the JsonMind editorial team on 2026-11-21. Browser behavior is tested; external services and target environments require separate validation. Editorial standards