Skip to main content

How to Add Headers & Footers

1

Upload PDF

Select the PDF file you want to add headers or footers to.

2

Customize

Enter your header and/or footer text, choose alignment and font size. Use {page} and {total} for dynamic page numbers.

3

Download

Click 'Add Header & Footer' and download your updated PDF.

Why Use Our Header & Footer Tool?

100% Private

All processing happens in your browser. Your documents never leave your device.

Free & Unlimited

No registration, no limits. Add headers and footers to as many PDFs as you need.

Dynamic Page Numbers

Use placeholders like {page} and {total} to automatically insert page numbers on every page.

Frequently Asked Questions

Can I add both a header and a footer?
Yes! You can add text to the header, footer, or both simultaneously.
How do I add page numbers?
Use {page} in your text to insert the current page number, and {total} for the total page count. For example: 'Page {page} of {total}'.
Can I change the text alignment?
Yes, you can align both header and footer text to the left, center, or right independently.
What font sizes are available?
You can choose any font size between 6pt and 24pt using the slider.
Is my PDF uploaded to a server?
No. All processing happens in your browser using WebAssembly. Your PDF never leaves your device, making it safe for confidential documents.
Can I add headers and footers to specific pages only?
Headers and footers are added to all pages of the document. For specific pages, split your PDF first, add headers/footers to the desired section, then merge.
Does this work on mobile devices?
Yes. The tool runs entirely in your browser on any device. Add headers and footers from your phone without installing any app.
Can I remove headers and footers after adding them?
Headers and footers are permanently embedded in the PDF. Always keep your original file in case you need the version without headers and footers.
Can I use different headers on different pages?
The same header and footer text is applied to all pages. The {page} and {total} placeholders update automatically per page, but the static text remains the same.
Can I change the font of the header or footer?
The tool uses a standard PDF font (Helvetica) for universal compatibility. You can adjust the font size and color to customize the appearance.
Will headers and footers overlap with existing content?
Headers and footers are placed in the margin area of the page. On PDFs with very small margins, they may overlap with content near the edges.
Can I add a header without a footer, or vice versa?
Yes. Fill in only the header field, only the footer field, or both. Leave a field empty and it will not be added to the pages.

When to Use This Tool

Add "Confidential" headers to sensitive business documents

Place your company name and document title at the top of every page

Add "Page X of Y" footers to manuals, guides, and training materials

Include a date or version number in the footer of technical documents

Supported Formats

FormatDescriptionBest For
Dynamic page numbersUse {page} and {total} placeholdersAutomatic page numbering in headers or footers
Static textCustom text on every pageCompany names, document titles, confidentiality notices
Combined header + footerBoth simultaneouslyProfessional documents with full page labeling

Tips & Best Practices

Use {page} and {total} placeholders for automatic page numbering that updates per page

Set a smaller font size (8-10pt) for footers to keep them unobtrusive

Center alignment works best for page numbers; left alignment for document titles

Preview the result on the first page before downloading to verify position and formatting

How It Works — 100% Private Processing

FyleTools adds headers and footers to your PDF entirely in your browser using WebAssembly and the lopdf library compiled from Rust. The text is embedded with a real font directly into each page content stream, with {page} and {total} placeholders automatically replaced. Your document never leaves your device.

Related Tools

PDF Tools

Merge PDF

Split PDF

Compress PDF

Organize PDF

PDF to Image

PDF Watermark