# Add Header & Footer to PDF

Add custom headers and footers with left, center, and right alignment. Use dynamic variables like {page}, {pages}, {date}, and {filename}. Runs entirely in your browser.

Live page: [https://freetoolsfr.com/pdf-header-footer](https://freetoolsfr.com/pdf-header-footer)

Headers and footers turn a plain PDF into a professional document. Add your company name at the top, the date on the left, and page numbers on the right — all in one step. This tool supports dynamic variables that automatically fill in the current page number, total page count, today's date, and the filename. Everything runs in your browser, so your document never leaves your device.

## How it works

1. **Upload Your PDF** — Select or drag and drop the PDF file you want to stamp with watermarks, page numbers, or headers.
2. **Enable & Configure** — Toggle on Watermark, Page Numbers, and/or Header & Footer. Customize text, position, opacity, and formatting for each.
3. **Download Stamped PDF** — All enabled stamps are applied in a single pass. Download your stamped PDF instantly.

## Use cases

- **Corporate Reports**: Add company name in the header and page numbers in the footer for professional-looking internal and external reports.
- **Legal Documents**: Add case numbers in the header and 'Page X of Y' in the footer for court-ready document formatting.
- **Academic Submissions**: Add your name and paper title in the header, with automatic page numbering in the footer.

## Tips

- **Use Dynamic Variables**: Type {page}, {pages}, {date}, or {filename} in any field to auto-fill with the current page number, total pages, today's date, or the file name.
- **Standard Layout**: A common professional layout: header-left = company name, header-right = date, footer-center = 'Page {page} of {pages}'.
- **Adjust Margin for Existing Content**: If your PDF already has content near the edges, increase the margin (default 36pt = 0.5 inch) to avoid overlap.

## FAQ

### What dynamic variables can I use?

Four variables: {page} (current page number), {pages} (total page count), {date} (today's date), {filename} (the PDF filename without extension).

### Can I use both header and footer?

Yes. You can fill in any combination of the 6 fields: header left/center/right and footer left/center/right.

### Can I combine headers with watermarks?

Yes. Enable both sections and all stamps are applied to the same PDF in one pass.

## Problems solved

- Add professional headers and footers without Adobe Acrobat
- Auto-fill page numbers, dates, and filenames with dynamic variables
- Combine headers/footers with watermarks and page numbers in one step
- Process documents privately without uploading to any server

## Stats

- **6** Text Positions
- **4** Dynamic Variables
- **0 bytes** Uploaded to Servers
- **< 3 sec** Average Processing Time

## Tool

This page is powered by the [page-stamper](https://freetoolsfr.com/pdf/page-stamper) tool.

## Related

- [pdf-watermark-free](https://freetoolsfr.com/pdf-watermark-free)
- [add-page-numbers-to-pdf](https://freetoolsfr.com/add-page-numbers-to-pdf)
- [stamp-pdf-online](https://freetoolsfr.com/stamp-pdf-online)
- [watermark-pdf-online](https://freetoolsfr.com/watermark-pdf-online)

---

Source: https://freetoolsfr.com/pdf-header-footer
Site: https://freetoolsfr.com
