Add headers and footers

Put header and footer lines on PDF pages, with the page number, page count, or date filled in.

Use the tool

PDF files only. Your file stays on this device.

One PDF up to 300 MB. Text is drawn in a standard PDF font, so only Latin (Western European) characters can be used.

Header and footer text

Use {page} for the page number, {total} for the page count of the file, and {date} for the date the tool runs. The date is written as four-digit year, month, and day, in that order: 2000-12-31. At least one box needs text; a run with every box empty is refused with a message.

Latin characters only: the text is drawn in Helvetica, a standard PDF font with Western European letters such as é, ü, ñ, and ß, digits, common punctuation, and €. Cyrillic, Greek, Chinese, Japanese, Arabic, Hebrew, and emoji cannot be drawn.

Top of the page. Up to 100 characters; leave empty for no text here.

Top of the page. Up to 100 characters; leave empty for no text here.

Top of the page. Up to 100 characters; leave empty for no text here.

6 to 72 points.

Distance from the page edges, 0 to 50 mm.

Pages to stamp

Type pages and ranges with commas, like 2-6 to skip a cover page. On those pages {page} is the page's own number in the file and {total} is the page count of the file.

Good to know
  • The text is drawn in Helvetica, one of the fonts every PDF reader already has, so nothing is added to the file but the lines you ask for. That font covers Latin (Western European) letters, digits, and common punctuation only. Wording with any other character is refused with a message naming it; no character is dropped or swapped.
  • {page} is the page's own number in the file and {total} is its page count, so a file of six pages can say “Report 2 of 6” on its second page. {date} is the date the tool runs, in year-month-day order.
  • Each line is placed in the visible part of the page as it appears on screen. Turned (rotated) and cropped pages get their text in the chosen spot, reading upright.
  • Lines are printed in black on top of what is already on the page, and they do not change any text the PDF already has. If something already sits where a line goes, pick another box or a larger margin.
  • An encrypted PDF (one with a password or editing restrictions) cannot be stamped here. If you know the password, remove it with Unlock PDF first.
How to add headers and footers to a PDF
  1. Choose the PDF from your device, or drop it on the picker above.
  2. Type text in any of the six boxes, with {page}, {total}, or {date} where a number or the date should go. Leave the boxes you do not need empty.
  3. Set the font size in points and the margin in millimetres.
  4. Stamp every page, or choose Selected pages and type a range such as 2-6.
  5. Press Add headers and footers and save the stamped copy. Your original file stays as it was.

The stamping runs in this browser tab, and the PDF stays on your device.

Menu

Up and down arrows choose a tool, Enter opens it, Escape closes. Open this search from any page with Ctrl+K or /.