Skip to content

Add Header & Footer to PDF

Add custom header and footer text to PDF pages with {page}, {pages}, {date}, {time} and {filename} tokens. Choose left, centre or right, font size, colour, opacity, margin and pages, with a live preview.

PDF Runs client-side Free to use
Jump to the tool
Share: X WhatsApp
Loading Add Header & Footer to PDF…

About the Add Header & Footer to PDF

Add Header & Footer to PDF writes your own text at the top and bottom of PDF pages, entirely in your browser. Type a header, a footer or both, and use tokens that are filled in for every page: {page} for the page number, {pages} for the total number of pages, {date} and {time} from your device’s clock in the format you choose, and {filename} for the PDF’s name. Place each line on the left, centre or right, and set the font size, colour, opacity, distance from the edge and which pages to change.

A live preview shows the first selected page with your text placed using the same measurements as the final file. The text is added to the page content as real, selectable text in the standard Helvetica PDF font, which covers Western European characters — anything it cannot write is reported before processing. The tool does not change the document’s metadata and does not certify, date-stamp or legally verify anything. Password-protected PDFs cannot be edited, and nothing is uploaded.

How to use

  1. Choose or drop a PDF.
  2. Type header and/or footer text, using tokens such as Page {page} of {pages}.
  3. Choose the position, font size, colour, opacity, margin and date/time formats.
  4. Enter a page range or leave it blank for all pages, and check the preview.
  5. Click Add header & footer and download the new PDF.

Key features

  • Separate header and footer text with left, centre or right placement.
  • Tokens: {page}, {pages}, {date}, {time} and {filename}.
  • Choice of date and time formats from your device clock.
  • Font size, colour, opacity and margin controls.
  • All pages or a selected range.
  • Live preview using the same layout as the export; real, selectable text.

Best practices

  • Leave enough margin so text does not overlap existing page content.
  • Use a subtle grey and a small size for professional documents.
  • Use “Page {page} of {pages}” to help readers keep printed pages in order.
  • Skip the cover page with a range such as 2-20.
  • Check the result on a few pages, especially landscape or rotated ones.

Benefits

  • Label documents consistently in seconds.
  • Automatic page numbers, dates and file names.
  • No software or upload needed.
  • Original content is kept; only text is added.

Frequently asked questions

Which tokens can I use?

{page} (current page number), {pages} (total pages in the document), {date}, {time} and {filename}. They can be mixed with your own text, for example “{filename} — Page {page} of {pages}”.

Where do the date and time come from?

From your device’s clock at the moment you click the button, in the format you choose. No online time service is used.

Is the header text searchable?

Yes. It is written as real text in the standard Helvetica font, not as an image.

Why are some characters rejected?

The standard PDF font supports Western European characters. Other scripts and emoji cannot be written with it, so they are listed before processing instead of producing broken text.

Does this certify or timestamp my document?

No. It adds visible text only. It does not change metadata, create a trusted timestamp or certify anything.

How is this different from adding page numbers?

Besides page numbers, you can write any header and footer text, combine tokens, and choose position and style for each line.

Is my PDF uploaded anywhere?

No. The PDF is opened and processed by local copies of PDF.js and pdf-lib running in your browser. Nothing is sent to a server, and passwords you type are used only in this tab.