Docelora
ToolsAboutContact
PDF tools

Add Header and Footer to PDF

Add a header, a footer or both to every page of a PDF – for example a document title on the left, a date on the right and “Page 3 of 12” at the bottom – with your choice of font, size, colour and margin.

Quick answer: upload a PDF, type text into any of the six positions and use {n}, {total}, {date} or {file} as placeholders. “Page {n} of {total}” in the footer centre becomes “Page 1 of 12”, “Page 2 of 12” and so on.

Add Header and Footer to PDF

Six positions · placeholders for page numbers, date and file name

or drag and drop a file here

PDF · up to 300 MB · processed on your device

For example 1-3, 6, 9-

Runs on your device: your PDF is processed in this browser tab with open-source PDF libraries served from docelora.com. It is not uploaded to Docelora or anyone else.

How to add a header and footer

1. Choose your PDFDrop it in or pick it from your device.
2. Type your textFill only the positions you need; leave the rest empty.
3. Use placeholders{n} page number, {total} page count, {date} today’s date, {file} the file name.
4. DownloadCheck the result before sending it.

Placeholders

PlaceholderBecomes
{n}The page number (starting from your chosen first number)
{total}The last page number
{date}Today’s date, e.g. 8 November 2026
{file}The PDF’s file name without .pdf

Good to know

Related tools

Frequently asked questions

How do I add page numbers in the footer?

Type “Page {n} of {total}” or just “{n}” in a footer box.

Can I add a header only?

Yes – leave the footer boxes empty.

Can I skip the cover page?

Choose Selected pages and enter, for example, 2-.

Can I start numbering at a number other than 1?

Yes – change First page number.

Can I change the font?

Choose Helvetica, Helvetica Bold, Times or Courier.

Which colour can I use?

Any – pick it with the colour box.

Does it change the existing content?

No – the text is added on top; nothing is removed.

Will the header be selectable text?

Yes, it is real text in the PDF.

Can I add a logo?

Use PDF Overlay with a one-page PDF letterhead for logos.

Why is my text outside the page?

Reduce the margin or font size, or check the page uses an unusual crop box.

Can I use Urdu or Arabic text?

Not yet – the built-in fonts support Western European characters only.

What does {date} show?

The date you run the tool, in day month year format.

Can I add different headers to odd and even pages?

Run the tool twice with Selected pages, e.g. odd pages 1,3,5…

Is this the same as Bates numbering?

Bates numbering adds sequential reference numbers across several files; use the Bates Numbering tool for legal bundles.

Can I remove a header later?

Not automatically – keep your original file.

Is my PDF uploaded?

No. The work happens in your browser with libraries served from docelora.com; the file never leaves your device.

Is there a file size limit?

Up to 300 MB, but very large PDFs depend on your device’s memory. Close other tabs if a big file is slow.

Does it work with password-protected PDFs?

Not while they are locked. Remove the password first, if you are allowed to, then try again.

Does it work on a phone?

Yes, in current versions of Chrome, Safari, Edge and Firefox on Android and iPhone.

Is it free?

Yes. There is no sign-up, watermark or daily limit.

Last reviewed: 8 November 2026.