---
title: "Add Header and Footer to PDF: Free & Private - WeConvert"
description: "Add a header and footer to every PDF page free. Your files never leave your device. Page number, page count and file name fill in for each page."
url: "https://weconvert.app/pdf/header-footer"
language: "en"
---

> Prices, limits and privacy: https://weconvert.app/llms.txt

# Header and footer

Type {page}, {total} or {file} to fill in the page number, the page count or the file name. Text too wide for the page is made smaller, never cut off. For now, only Latin letters of Western European languages, digits and common symbols can be added, in file names too.

## Questions about Header and footer

### How does Header and footer work?

Header and footer writes one line of text at the top of every page, at the bottom, or both, aligned left, centre or right. Placeholders fill in the page number, the page count and the file name, so one setting suits a whole document.

### How do I add "Page 1 of 10" to every page?

Type Page {page} of {total} in the Header or Footer field. {page} becomes each page's number and {total} the number of pages, so a 3-page file reads Page 1 of 3, Page 2 of 3 and Page 3 of 3. {file} adds the file name without its extension.

### Can I add today's date?

Not automatically. There is no date placeholder, so {date} prints exactly as typed; write the date itself instead. Without a clock involved, the same file and settings always give the same PDF.

### What happens if my text is too long for the page?

It is made smaller until it fits between the half-inch margins, so it is never cut off or wrapped onto a second line. Each field takes up to 120 characters, at a size from 6 to 72 pt (10 by default).

### Can I write the header in any language?

For now, only Western European Latin letters, digits and common symbols, such as é, ß, € and dashes. Chinese, Japanese, Korean, Polish ł, emoji and other characters are refused with a message naming them, before any file is changed, instead of being printed as empty boxes.

## Related

[All PDF tools](https://weconvert.app/pdf)

- [Bates numbering](https://weconvert.app/pdf/bates-numbering)
- [Edit PDF metadata](https://weconvert.app/pdf/edit-metadata)
- [Remove PDF metadata](https://weconvert.app/pdf/remove-metadata)
- [Flatten PDF](https://weconvert.app/pdf/flatten)
- [Remove PDF annotations](https://weconvert.app/pdf/remove-annotations)
- [Add page numbers](https://weconvert.app/pdf/page-numbers)
- [Watermark PDF](https://weconvert.app/pdf/watermark)
- [Rotate PDF](https://weconvert.app/pdf/rotate)
- [Remove PDF pages](https://weconvert.app/pdf/remove-pages)
- [Extract PDF pages](https://weconvert.app/pdf/extract-pages)
- [Reverse PDF pages](https://weconvert.app/pdf/reverse)
- [Compress PDF](https://weconvert.app/compress/pdf)
