Add Header Footer to PDF Free Online β€” Custom Header & Footer Tool | PDF Online Editor
πŸ“’ Advertisement
πŸ“

Add Header & Footer to PDF β€” Insert Page Numbers, Dates & Custom Text Free Online

Add custom headers and footers to every page of your PDF. Insert page numbers, document titles, dates, or any text you need β€” positioned exactly where you want. Runs entirely in your browser, nothing uploaded anywhere.

βœ… 100% Free πŸ”’ Files Stay on Your Device ⚑ No Signup πŸ”’ Page Numbers Supported
πŸ“

Add Header & Footer to PDF

Upload a PDF, configure your header and footer text, then download the updated file

πŸ“„

Drop your PDF here or click to browse

Select one PDF file Β· Any size Β· Files never leave your device

πŸ“„ Header Settings

Header Text
Use {page} for page number, {total} for total pages, {date} for today's date
Horizontal alignment
Font size
Text color
Click to pick color
Margin from top (pt)

πŸ“‹ Footer Settings

Footer Text
Use {page} for page number, {total} for total pages, {date} for today's date
Horizontal alignment
Font size
Text color
Click to pick color
Margin from bottom (pt)

πŸ“„ Page Range (optional)

Leave blank to apply to all pages
From page to
Live Preview
Header text will appear here
PDF page content
Footer text will appear here

File Summary

File nameβ€”
File sizeβ€”
Total pagesβ€”
πŸ“
Output: .pdf file
Headers & footers on every page
Processing pages…

βœ… Header & Footer Added!

Your PDF now has custom headers and footers on every page. Click the button to download.

πŸ“Adding Headers & Footers β€” More Useful Than It Sounds

I honestly didn't think I'd use this tool that often when I first built it. Then a paralegal friend asked me if there was a free way to add page numbers to a 47-page contract before sending it to a client. She'd been doing it manually β€” printing, hand-writing numbers on the footer, scanning back. That took her about 40 minutes every time. This tool does it in about 8 seconds.

The tool uses PDF-lib to modify the PDF directly in your browser. It renders each page's existing content untouched and draws the header/footer text on top using your chosen font size, color, alignment, and margin settings. The {page}, {total}, and {date} tokens get replaced automatically β€” so "Page {page} of {total}" becomes "Page 1 of 47" on the first page, "Page 2 of 47" on the second, and so on. Nothing leaves your device at any point.

πŸ”’

Page Numbers

Auto-insert page numbers with {page} token

πŸ”’

100% Private

PDF never touches any server

πŸ†“

Always Free

No limits, no payment, no account

🎨

Custom Styling

Pick color, size, and alignment

πŸ“…

Auto Date

Insert today's date with {date}

πŸ“±

Works on Mobile

Use it from your phone too


πŸ“‹How to Add Header & Footer to Your PDF

1

Upload Your PDF

Drag your PDF onto the drop zone or click to browse. Any PDF works β€” text documents, scanned pages, reports.

2

Type Your Header Text

Enter whatever you want in the header. Use {page} for the current page number, {total} for page count, {date} for today's date.

3

Configure the Footer

Same deal for the footer. You can leave either field blank if you only need a header or only need a footer β€” doesn't have to be both.

4

Download the Result

Click the process button, wait a few seconds while each page gets updated, then download your finished PDF.


πŸ‘₯When You Actually Need This Tool

  • Legal documents: Contracts, NDAs, and agreements almost always need page numbers. Judges and arbitrators get annoyed when pages aren't numbered. This takes about 10 seconds and looks completely professional.
  • Reports and proposals: A business proposal looks miles better with the company name in the header and "Confidential β€” Page X of Y" in the footer. Clients notice these details.
  • Academic submissions: Many universities require your name and student number in the header of submitted papers. Add it here without touching the original document structure.
  • Invoice batches: If you're combining multiple invoices into one PDF, adding "Invoice Batch β€” Page {page} of {total}" in the footer makes it easy for accounting to cross-reference.
  • Presentations converted to PDF: When you export a PowerPoint as PDF for a client, adding the date in the footer makes it obvious which version they're looking at.

πŸ”¬Token Reference β€” What Each Placeholder Does

TokenWhat It InsertsExample Output
{page}Current page number (starts at 1)3
{total}Total number of pages in the document47
{date}Today's date (MM/DD/YYYY format)03/13/2026

You can combine them however you like. "Ref: Project Alpha Β· Page {page}/{total} Β· {date}" is a valid header that gives you everything at once. The tokens get swapped per-page, so the page number is always correct regardless of how many pages the document has.


❓Frequently Asked Questions

Is this tool really free β€” no hidden limits? +
Genuinely free. No page limit, no file size cap, no daily quota, no account required. I've processed 300-page PDFs with it and it worked fine β€” just took a bit longer to render. The processing happens on your machine, so there's no server cost to worry about.
Will adding headers/footers mess up my existing content? +
No β€” the tool draws the header and footer text in the margin area outside your existing content. It doesn't reflow or reposition anything inside the page. If your PDF already has very small margins, the header/footer text might overlap slightly, but you can adjust the margin values in the settings to push them closer to the edge.
Can I add a header on some pages and not others? +
Yes β€” use the page range fields to specify which pages get the header and footer. For example, if you want to skip the first page (common for cover pages), set the range to start from page 2. You could also run the tool twice with different settings for different page ranges, though that gets a bit involved.
Does my PDF get sent to a server? +
Never. The entire process runs in your browser using PDF-lib, which is a JavaScript library. Your file is read locally, modified locally, and downloaded locally. I built it this way specifically because people use this for legal contracts and confidential business documents β€” the last thing you want is those files sitting on someone else's server.
What font is used for the header and footer text? +
The tool uses Helvetica (a standard built-in PDF font that's available on all systems without embedding). It's clean, professional, and works well at small sizes like 8–12pt which is what most headers and footers use. Custom font support isn't available yet β€” that's on the list for a future update.
Can I add both a header AND a footer at the same time? +
Yes, absolutely β€” both fields work independently. Fill in both, either, or neither. If you only fill in the header field and leave the footer blank, only the header gets added. Same the other way around. A common setup is a document title in the header and page numbers in the footer β€” both get applied in a single pass.

Ready to Add Headers & Footers to Your PDF?

Free, instant, private. Drop your PDF and add professional headers and footers in seconds β€” no signup, no upload.

⬆ Add Header & Footer Free Now