Add a header and footer to a PDF

Put text, page numbers, the date or the file name at the top and bottom of every page.

  • 100% private
  • No login
  • No uploads
Header and Footer
Advertisement
Sponsor space · 728×90 banner

iHow to use

  1. Drop your PDF into the box.
  2. Type the header and footer text in the left, centre and right boxes, or pick a Quick start layout. Use the Insert buttons for the page number, total, date and file name.
  3. Optionally add a logo image to the header or footer, then choose font, size, colour, distance from the edge and the pages to use.
  4. Click “Add header and footer” and download the PDF.

iAbout Header and Footer

Header and Footer adds your own text to the top and bottom of every page. Each has a left, centre and right position, so you can put a document title on the left, a date on the right and “Page 3 of 12” in the middle of the footer.

Insert the page number, the total, today’s date or the file name with simple codes. Choose the font, size and colour, set the distance from the edge, pick which pages to change and check the result in the live preview. Rotated pages are handled correctly and nothing is uploaded.

★Tips

  • Keep headers short so they do not collide with page content.
  • Use a distance of 28 pt or more so printers do not cut the text off.
  • For page numbers only, Add Page Numbers is quicker.
  • Add a company logo as a header or footer image and set its height in points.
  • Watch the warning above the settings: it tells you when text and images overlap.
  • To put a header and footer on the first page only, choose “First page only” under Apply to. To leave a cover page clean, choose “All pages except the first”.

iWhat you need to know about Header and Footer

Codes you can use. {n} is the page number, {t} is the total number of pages, {date} is today’s date and {file} is the name of the file. For example “Contract – {file}” on the left and “Page {n} of {t}” on the right.

Related tools. Use Add Page Numbers when you only need numbering, Watermark for a large diagonal label and Edit PDF to place text anywhere on one page. Header and footer text is added on top of the pages, so use Flatten PDF if you want it merged into the page. Read our guide: How to add a header and footer to a PDF.

✓Common uses

  • Add “Confidential” or a company name to every page
  • Put page numbers and dates on reports and contracts
  • Label drafts with a version or file name
  • Prepare legal and business documents

Questions

Which values can I insert?

{n} for the page number, {t} for the total number of pages, {date} for today’s date and {file} for the file name.

Can I add a header or footer to only some pages?

Yes. Under Apply to, pick all pages, the first page only, all except the first, odd, even, or type your own pages such as 1-3, 7. The preview shows the header and footer only on the pages that will get them.

Can I add a logo or image?

Yes. Use Header image or Footer image to add a PNG, JPG, WebP or GIF file, then choose its position and height.

Can I choose the date format?

Yes. Choose a format under Date format, for example 17/11/2026 or 17 Nov 2026. The {date} code uses today’s date.

Can I put text on the left, centre and right?

Yes. Both the header and the footer have three boxes: left, centre and right.

Can I skip the first page?

Yes. Under “Apply to”, choose “All pages except the first”, or choose odd, even or custom pages.

Can I use Arabic or Chinese text?

Not yet. Headers and footers support letters and numbers from the standard Latin alphabet.

Does it change the original text of the PDF?

No. The new text is added on top of the pages. Your original is untouched.

Is my PDF uploaded?

No. Everything happens in your browser.

More free PDF tools

Advertisement
Sponsor space · 728×90 banner