Skip to content
DoYourPDF

Headers & Footers

Repeat a line of text above and below the content on each page.

PDF

Processed on this device. Nothing is uploaded.

How to use Headers & Footers

  1. 1Choose a PDF, or drop it on the page.
  2. 2Type the text for each place you want, using {page} and {pages} for page numbers, and set “Skip first pages” for a cover.
  3. 3Press “Add headers and footers”, check the first page shown, and download.

About this tool

Six positions (left, centre, right at top and bottom). Use {page}, {pages}, {date}, {time}, {filename} and {title} placeholders.

Your files stay on this device. DoYourPDF opens and processes them inside your browser. The counter in the top bar shows how many bytes of your files this page has sent to any server: it should read 0 B. How this works

Related tools

Questions about Headers & Footers

What can I put in a header or footer?

Any text, in up to six places: left, centre and right, at the top and at the bottom of each page. {page} and {pages} become the page number and the number of pages, {date} and {time} today's date and time, {filename} your file's name and {title} the PDF's title (or the file name if it has none).

How do I leave the cover page without a footer?

Set “Skip first pages” to 1, or to the number of cover pages. Skipped pages still count, so the second page reads “Page 2 of 10”, not “Page 1 of 9”.

Will the header cover my text?

It can, if the page's own content reaches into the margin: the line is printed on top of what is there, at the “Distance from edge” you set (10 mm unless you change it). Check the first page shown after it's made; if it overlaps, lower the distance or the “Text size”.

What happens to a long line?

Each of the three places in a row has about a third of the page's width. Text longer than that is cut short with “…”, so the three never run into each other.

Which date format does {date} use?

Your browser's language decides it: “15 Nov 2026” in English (India), “Nov 15, 2026” in US English. {time} gives hours and minutes. Both are fixed when the file is made and don't change afterwards.

Is DoYourPDF really free?

Yes. Every tool costs nothing: no account, no page caps, and nothing stamped on your files.

Are my files uploaded?

No. Files are opened and processed by your own browser. They never reach a server. Apart from an anonymous visit count, the only things that use the network are optional: AI answers (if this site enables them) send the question plus relevant passages of text, never the file; P2P Share and the whiteboard connect two browsers over an encrypted connection.