Skip to content
Utilboxes

Add Header and Footer to PDF

To add a header or footer to a PDF, type the wording and use {page}, {total} and {date} where you want them filled in, such as Page {page} of {total}. Choose the alignment, size and distance from the edge, and skip the cover page if needed. The text is real and selectable. Nothing is uploaded.

Files never leave your device

Updated

How to use Add Header and Footer to PDF

  1. 1Add the PDF you want to label.
  2. 2Type a header, a footer, or both — use {page}, {total} and {date} where you want those filled in.
  3. 3Choose the alignment, the text size and how far from the edge it sits.
  4. 4Tick Skip the first page if the document opens with a cover, then save.

How it works

The text is drawn into each page in the standard Helvetica font, so it stays selectable, searchable and sharp however far you zoom in. Nothing is re-rendered, so the rest of the page is exactly what it was.

Three placeholders are filled in as the pages are written: {page} becomes the current page number, {total} the number of pages, and {date} today's date in your computer's regional format. A footer of Page {page} of {total} is the common case and is filled in for you to start with.

Alignment is calculated from the actual width of the finished string in the chosen font, so centred text is genuinely centred and right-aligned text sits the same distance from the edge on every page, including pages of different widths.

The file is read into your browser's memory, changed there, and handed straight back to you. Nothing is uploaded, so there is no queue and no copy sitting on a server afterwards.

Tips and common mistakes

  • Use Page {page} of {total} in the footer of anything that will be printed, so a missing page is obvious.
  • Put a reference number, client name or “Draft” in the header of documents that circulate in several versions.
  • Tick Skip the first page when the document opens with a cover.
  • If the text collides with content at the edge, increase the distance from the edge rather than shrinking the text.

Frequently asked questions

How is this different from the page numbering tool?
Page numbers are one line in a fixed set of formats. This lets you write any wording, top and bottom, with the numbering available as a placeholder.
Will the header cover existing content?
It is drawn on top, so it can overlap if the page already has content at the very edge. Increase the distance from the edge if that happens.
Can I use a different font?
The built-in Helvetica is used, which every PDF reader has. That keeps the file small and avoids embedding a font.
Does {date} update later?
No. It is filled in once, when you save, and stays fixed in the file after that.
Can I add a header and a footer at the same time?
Yes. Fill in either or both, each with its own wording and alignment.
Is the header text searchable?
Yes. It is written as real text, so it can be selected, copied and searched.
What date format does {date} use?
Your computer's regional format, so it reads the way dates are normally written where you are.

Guides