Skip to content
DoItJag

Add Header and Footer to PDF

Add a header, a footer or both to every page of a PDF. Type text for any of six positions and use placeholders for the page number, total pages, date and file name.

or drop a file here · PDF · up to 200 MB

Processed on your device. Your files are not uploaded.

A header is a short line at the top of each page; a footer is the same at the bottom. Offices use them for a company name, a document reference, a “Confidential” label, the date a file was issued or a running “Page 3 of 12”. This tool writes such lines onto an existing PDF.

There are six boxes: left, centre and right for the top, and the same three for the bottom.

Placeholders

  • {page} becomes the page number, counted from the number you choose.
  • {total} becomes the last number used, so “Page {page} of {total}” stays correct.
  • {date} becomes today’s date in the format you pick.
  • {file} becomes the name of the PDF you opened.

Good uses

  • Stamping a tender reference and date across every sheet of a bid.
  • Labelling a draft agreement with the client name and “Draft”.
  • Marking annexures for a court filing, starting the count at a later number.
  • Adding the file name so printed copies can be traced back to the source.

How placement works

Positions follow the page as you see it on screen. Landscape sheets and pages saved with a rotation still get the header along the visible top edge, reading the right way up. If a line is too long for the page width, its size is reduced so it stays inside the margins.

Limits worth knowing

The text is added on top of the page. It does not move existing content, so a scan with writing right at the edge may end up with overlapping text; the preview shows this before you download. Pick a smaller distance from the edge or a smaller size if that happens.

Devanagari is drawn with the Noto Sans Devanagari font. Some conjunct letters may look plainer than in Word. Scripts such as Tamil, Bengali, Arabic or Chinese are not available yet.

Password-protected files must be unlocked first. Everything runs in your browser, and the PDF is never sent anywhere.

How to use Add Header and Footer to PDF

  1. Choose the PDF.
  2. Type the text for the header and footer positions you want. Use {page}, {total}, {date} and {file} where needed.
  3. Pick the font size, colour, distance from the edge and pages, then select Add header and footer.
  4. Check the preview and download the new PDF.

Privacy: how it works

Your files are processed on your own device by your browser. They are not uploaded to any server.

Frequently asked questions

Can I write in Hindi?

Yes. English and other Latin letters, Hindi and Marathi (Devanagari) and the ₹ sign work. For Devanagari the page downloads a free font once from this site. Complex letter joins may look simpler than in a word processor. Other scripts and emoji are not supported yet.

Will the text cover what is already on the page?

It is drawn on top of the page, close to the edge you choose. If the page already has content right at the edge, choose a smaller distance or a smaller font, and check the preview before downloading.

Can I leave out the cover page?

Yes. Type "2-" in the pages box. {page} then counts from the first number you choose on page 2.