Loading...

Add Header & Footer to PDF

Add custom text or image headers and footers to every page of your PDF. Use {{page}} and {{total}} for dynamic page numbers.
Click to select a file or drag and drop it here.

All files are processed locally on your device
document.pdf 0 pages
Live Preview
1 / 1
Loading PDF...

Please wait

Header
top of page
Click to upload PNG, JPG, or SVG
Footer
bottom of page
Typography
#000000

About Add Header & Footer to PDF

Add custom text headers and footers to every page of your PDF using our free online tool. Control alignment, font size, margins, and use automatic page number placeholders — all without uploading your file.

What are PDF Headers and Footers?

PDF headers and footers are text elements printed at the top and bottom of every page. They are commonly used for document titles, author names, page numbers, dates, and branding on professional documents.

Features

  • Add independent header and footer text
  • Left, center, and right alignment options
  • Customizable font size and margin settings
  • Automatic page number and total page placeholders
  • Live PDF preview with page navigation
  • Browser-based processing with no file uploads
  • No software installation required

Page Number Options

Use the page number format dropdown to automatically insert page numbers into your header or footer. Choose from formats such as Page X of Y, Page X, X / Y, or a plain page number. Use the position selector to place the page number before or after your custom text.

Privacy Focused Processing

PDF processing occurs locally inside your browser using pdf-lib. Your document is never uploaded to any server, keeping its contents completely private.

Common Use Cases

  • Add document titles to the top of report pages
  • Insert page numbers for long documents
  • Add company names or branding to PDFs
  • Include confidentiality notices at the bottom of pages
  • Prepare documents for printing or distribution

Why Use This Tool?

Add professional headers and footers to any PDF in seconds without Adobe Acrobat or uploading your files.

Frequently Asked Questions

Yes. Use {{page}} anywhere in your header or footer text to insert the current page number, and {{total}} to insert the total page count. For example, Page {{page}} of {{total}} renders as Page 1 of 10 on the first page.

Yes. The header and footer are completely independent. You can set different text, alignment, font size, and margin for each one.

No. All processing is done locally in your browser using pdf-lib. Your document never leaves your device and is never sent to any external server.

The text is drawn near the top or bottom margin of each page on top of existing content. It does not reflow, move, or alter any existing text, images, or layout on the page.

You can align each header and footer independently to the left, center, or right of the page. The horizontal position is calculated automatically based on page width and the margin setting you choose.
View All