WebTooli

PDF Header Footer Adder - Free Online PDF Tool

Reports read better with a title at the top and a page number at the bottom. Contracts need the parties' names on every page. This tool adds a header, a footer, or both, inside your browser, without uploading a single byte.

📄
Click to choose a PDF or drag & drop it here Any PDF up to 100 MB
 • 
⚠ This PDF needs a password to open
The tool cannot open the file without the password. Unlock the file first, then upload the unlocked copy.

Header text (top of page)

Footer text (bottom of page)

Tap a token to insert it into the last box you clicked.

Appearance

Live preview

100%
What changes. Header and footer text is drawn in the margin area. Page content is not modified. Latin characters only. Password-protected files must be unlocked first.
Preparing...
0%
Runs entirely in your browser. Nothing is uploaded to a server.

What headers and footers do

A header sits at the top of every page. A footer sits at the bottom. They carry information readers need on any page: a document title, a date, a page number, a confidentiality tag, a company name.

A 40-page report without a header forces the reader to scroll back to page 1 to remember the title. A contract without page numbers makes "see page 12" ambiguous once the pages are printed and shuffled.

Six zones on every page

This tool uses the standard six-zone layout. Three slots across the header (left, center, right). Three slots across the footer (left, center, right).

Fill only the zones you need. A common setup puts the document title in the header center, a confidentiality mark in the header left, and page numbers in the footer center. Everything else stays empty.

The layout matches what word processors and desktop publishing tools produce. Nothing unusual to learn.

Dynamic placeholders

Five tokens fill in automatically on every page.

  • {page} becomes the current page number, starting from 1.
  • {total} becomes the total number of pages in the output.
  • {date} becomes today's date in YYYY-MM-DD format.
  • {title} becomes the PDF file name without the .pdf extension.
  • {filename} becomes the full original file name, extension included.

A footer with Page {page} of {total} produces "Page 3 of 40" on the third page of a forty-page document. No manual updating if the page count changes between runs.

Click any token button to insert it into the last field you used. On a touch device, tapping copies it to the clipboard instead.

The rule line option

A thin grey line separates the header or footer from the main content. The option has four states.

Under header draws a line below the header text. Above footer draws a line above the footer text. Both draws both. None leaves the page clean.

A rule is often what separates a professional-looking document from a loose one. It signals "the header ends here, the content starts here". Both headers and footers look sharper with one, especially on documents with tight margins.

Skipping the cover page

A cover page usually should not carry a header or footer. The title is already the whole page.

The Skip first page option leaves page 1 untouched and applies the header and footer to every other page. This is the standard for reports, theses, and any document with a title page.

Where the file goes

The PDF loads into browser memory. The header and footer text is drawn into the margin area on each page. The new file downloads from a temporary blob.

Nothing is uploaded, logged, or stored on a server. This matters for contracts, internal memos, and anything covered by an NDA. See our PDF Compressor if the output needs to be smaller afterward.

Related tools

If you need sequential numbers that identify every page across a document set, use PDF Page Numbering & Bates Stamping. That tool supports prefixes, suffixes, and zero-padded digits for legal work.

If a page needs to be removed entirely before you add the header, use Delete PDF Pages first. Both tools rebuild the file cleanly, so the output of one can feed directly into the other.

For context on what a PDF header actually is, the format is defined in the Wikipedia PDF article. For compliance requirements in regulated industries, the Library of Congress PDF preservation guide covers what courts and archives expect.

Frequently Asked Questions

Can I have different text on the header and footer?
Yes. Header and footer are independent. Fill any of the six zones. Header zones sit at the top of the page, footer zones at the bottom. You can use a header on its own, a footer on its own, or both at the same time.
How do the placeholder tokens work?
Type a token anywhere in a text field, and the tool substitutes it per page. {page} becomes the current page number. {total} becomes the total pages. {date} becomes today's date. {title} becomes the filename without .pdf. {filename} becomes the full filename. The substitution happens as the PDF is written, so the same value updates on every page.
Will the header and footer cover the existing content?
No. Both sit in the margin area, outside where document content usually sits. The default margin of 28 points (about 10 mm) fits most standard documents. If your PDF has very narrow margins, use the tight setting. If content still gets covered, use the loose setting and re-run.
Can I use Cyrillic or Chinese text in the header?
No. Standard PDF fonts handle Latin characters only. Cyrillic, Greek, and CJK characters require embedding a custom font file, which adds megabytes to the output. This tool rejects those characters before saving rather than producing gibberish. Stick to Latin characters for now.
What does the rule line option do?
It draws a thin grey line to separate the header or footer from the main content. You can place it under the header, above the footer, both, or neither. Headers and footers on documents with tight margins look sharper when a rule is on.
← Back to all tools