How to add a header and footer
Placeholders
| Placeholder | Becomes |
|---|---|
| {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
- Text is added on top of the page. If the page already has content near the edge, increase the margin so they do not overlap.
- The built-in fonts cover Western European characters; Urdu, Arabic and other scripts are not supported for header text yet.
- Pages saved with a rotation setting need to be made upright first with Rotate PDF.
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.