Add Header & Footer to PDF

Add running text to the top or bottom of every page — with page number and date tokens

Drop your PDF here

or click to browse

Add a Header or Footer to a PDF Online Free

Need to add a running header or footer to a PDF? Insert page numbers, the current date, or any custom text at the top or bottom of every page — with live preview as you type. Everything runs entirely in your browser; your file is never uploaded.

How to Add a Header or Footer

  1. Upload your PDF — drag it onto the upload zone or click to browse.
  2. Enter your text — type anything, or click a token button to insert {page}, {total} or {date}.
  3. Choose position and style — header or footer, alignment, font size and color, with a live preview.
  4. Click Download — the finished PDF saves directly to your device.

Features

Page Number & Date Tokens

Insert {page}, {total} or {date} anywhere in your text and they are replaced automatically on every page.

Header or Footer

Position your text at the top or bottom of the page, aligned left, center or right.

Skip the Cover Page

Optionally leave page 1 untouched — handy for documents with a title or cover page.

Live Preview

See exactly how it will look before you download, updated instantly as you type.

Any Color & Size

Pick any color and font size from 6pt to 24pt to match your document.

100% Private

All processing runs locally in your browser using pdf-lib and pdf.js. Your file is never uploaded.

Frequently Asked Questions

What is the difference between this and Add Page Numbers?

Add Page Numbers only inserts page numbers. This tool lets you combine any custom text with page number and date tokens in one line, positioned as a header or footer.

Can I add both a header and a footer?

Run the tool once for the header text and once more on the result for the footer text — each pass adds one line to every page.

Does it work on password-protected PDFs?

Password-protected PDFs cannot be modified directly. Please use an unprotected version of your PDF.

Will this affect the rest of my document?

No. The header/footer text is added as a new, separate line — all existing content, images and formatting stay exactly as they were.

Other Free PDF Tools

Add Page Numbers Add Watermark Edit PDF Merge PDFs Crop PDF

Processing...