Loading tool...

How to Add Header & Footer to a PDF

1

Upload PDF

Select your PDF file by clicking or dragging it into the upload area.

2

Set Header Text

Enter header text. Use {page} for page number, {total} for total pages, {date} for today's date.

3

Set Footer Text

Configure footer text with the same dynamic token options and alignment settings.

4

Apply & Download

Click Apply and download your updated PDF with headers and footers on every page.

Dynamic Text Tokens

Use these tokens in your header or footer text to insert dynamic values automatically:

{page}

Replaced with the current page number on each page.

{total}

Replaced with the total number of pages in the document.

{date}

Replaced with today's date in your local format.

Example: Page {page} of {total} becomes Page 1 of 12 on the first page.

Features

Independent Header & Footer

Configure header and footer independently with different text, alignment, font size, and color.

3 Alignment Options

Left, center, or right alignment for both header and footer.

Custom Font Size

Choose from 7pt to 18pt to match your document style.

Custom Color

Pick any color using the color picker or enter a hex code.

Live Preview

See a real-time preview of how your header and footer will look on the page.

100% Private

All processing happens in your browser. Your PDF never leaves your device.

Frequently Asked Questions

Can I add only a header or only a footer?

Yes. You can leave either the header or footer text blank and only the filled one will be applied to the PDF.

Will the header/footer be added to all pages?

Yes. The header and footer are applied to every page of the PDF document.

Can I add page numbers using this tool?

Yes. Use the {page} token in your header or footer text. For example, 'Page {page} of {total}' will show the current page and total pages on each page.

Does this work on password-protected PDFs?

No. Password-protected PDFs cannot be edited. Use our PDF Unlock tool first to remove the password, then add headers and footers.

Related PDF Tools