PDF Header and Footer

Add text to the top and bottom margins of a PDF: a document name, the date, page numbers or “Confidential”. Set the left, centre and right of the header and the footer separately, and check the position in a preview before you save. Your PDF is processed on your device.

On-device・No uploadMobile friendlyWorks offline

Your files and input are processed only inside your browser on this device and are never uploaded to our servers.

Drop a PDF here

or

Choose one PDF (up to 300 MB and 1000 pages).Accepts: PDFUp to 300 MB per filePaste (Ctrl+V) also works

How to use

  1. report.pdf

    Add a PDF

  2. report.pdf{page} inserts the number

    Set the text and margins

  3. report (numbered).pdf

    Save the PDF with headers and footers

Add header and footer text or page numbers to every page, then save the PDF
  1. Drop a PDF or click “Choose file”. Page 1 appears in the preview.

  2. Type the text for the left, centre and right of the header and footer. {page}, {total}, {date} and {filename} are replaced with their values when you save.

  3. Choose the font size, colour and margin (mm). You can also skip the cover, mirror the left and right on facing pages, and limit the pages.

  4. Use the previous and next buttons to check other pages, and make sure the text does not overlap the body.

  5. Click “Save” and download the file.

What it does

Six slots, set separately

Each of the six places (header and footer, left, centre, right) takes fixed text and placeholders for page number, total pages, date and file name. Empty slots add nothing.

Preview uses the same processing as saving

The preview builds a one-page PDF with the same code as the save, so the page numbering and the position match the saved file.

Japanese text, selectable and searchable

Noto Sans JP (SIL Open Font License) is loaded only when the text contains Japanese, and only the characters used are embedded. The text in the saved PDF can be selected and searched.

Skip the cover, move numbers to the outer edge

Page 1 can be skipped. Swapping left and right on odd and even pages puts the text on the outer edge of facing pages. You can also choose a page range such as 2-5, 8.

The original content is kept

The text is added as a new layer over the existing content, so the body, images, bookmarks and links are not rewritten.

Use cases

  • Mark every page of a document with “Confidential”
  • Print page numbers with the total (for example 3 / 12)
  • Put a document name and date at the top of minutes or a report
  • Place page numbers on the outer edge of a duplex-printed booklet

Supported formats

Input

PDF (.pdf)

Output

PDF (.pdf)

Capability matrix

FeatureSupportNotes
Text in the left, centre and right of the header or footerSupported—
Placeholders for page number, total pages, date and file nameSupported—
Skip page 1, page ranges, mirror left and rightSupported—
Japanese charactersSupportedNoto Sans JP is embedded (only the characters used)
Automatic detection of overlap with existing textNot supportedCheck overlaps in the preview
Editing or deleting existing textNot supportedUse “Edit PDF” to change text
Different text per page listed one by oneNot supportedPage ranges share one text per slot
Changing page size or orientationNot supportedUse “PDF Page Size”

Limits & notes

  • Also works on phones and tablets, but a PC is more reliable for fine positioning and checking the result.
  • Up to 300 MB and 1000 pages per file. Each line of text is up to 120 characters and must fit the page width inside the margins; otherwise the file is not saved.
  • Font size 6–24 pt, margin 3–50 mm. A small margin can hide text at the binding or the edge of a printed page.
  • Overlap with the body is not detected. Check the preview, and widen the margin or change the text if they overlap.
  • The text is drawn over the page; existing content is never erased or redrawn.
  • {date} is the date on this device when you save (not the file’s creation date).
  • Password-protected PDFs cannot be opened.

Privacy & safety

Reading, previewing and saving the PDF all happen in your browser; the PDF is never sent to a server.

FAQ

How do I add page numbers to every page?
Type {page} / {total} in the footer’s centre slot. {page} becomes the page number and {total} the number of pages. Check the position in the preview before you save.
Can I leave the cover (page 1) without text?
Yes. Tick “Skip page 1”. Page numbers still count page 1, so the second page shows 2.
How do I put page numbers on the outer edge of facing pages?
Tick “Mirror left and right on odd and even pages”. On even pages (the left-hand pages of a spread), left and right are swapped.
Is {date} the creation date of the file?
No. {date} is the date on this device when you save. To show another date, type it as text.
The text overlaps the body. What should I do?
Increase the margin (mm) to move the text outside the body, or make the text smaller. This tool does not detect overlaps automatically, so always check the preview.
Is my PDF uploaded?
No. Everything is processed in your browser.

Last updated: