AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I add a header or footer to a PDF?

Add headers and footers to a PDF by uploading it, typing the text for the top and bottom margins, and choosing alignment, font size and pages. You can include dynamic fields like page numbers and dates, then download the updated PDF — all in your browser.

  • Separate header and footer text
  • Left, centre and right alignment zones
  • Insert page numbers, dates and titles
  • 100% client-side

What is

PDF Header and Footer

A tool that stamps repeating text into the top (header) and bottom (footer) margins of every chosen PDF page, with support for page numbers and dates.

PDF Tools

Related terms

page numberswatermark

Frequently Asked Questions

Yes, as a field.

You can insert dynamic page-number and date fields that update automatically on every page.

Yes.

Each of the left, centre and right positions in the header and footer can hold its own text.

Yes.

Text is stamped with pdf-lib in your browser; the file is not uploaded.

Detailed Explanation

How It Works

What it does

PDF Header and Footer stamps repeating text into the top and bottom margins of selected pages, including dynamic page numbers and dates.

  • Header + footer zones
  • Dynamic fields
Methodology

How it works

For each page in range, the tool draws your header and footer text at the chosen alignment and size with pdf-lib, substituting page-number and date tokens.

  • Drawn with pdf-lib
Use Cases

Use cases

Add document titles, confidentiality lines, page numbering, dates or Bates-style references to reports, contracts and manuals.

  • Titles and numbering
Limitations

Limitations

Text is placed in the margins; if a page has no margin space the text may overlap content. It stamps text, not images.

  • Margin space needed
Privacy & Security

Privacy

Stamping happens in the browser; the document is never uploaded.

  • 100% local