PDF Header and Footer
Left, Center and Right on Every Page

Free online PDF header and footer tool. Add text at the top and bottom of every page with page number, total pages, date and file name tokens. Choose the font, size, color and margins, skip the first page, use different lines on odd and even pages, or limit it to a page range - and check it all on a live preview of your own file. Works without uploading - your file never leaves your browser.

A PDF page with a header line at the top and a page-number footer at the bottom

PDF Header and Footer Tool

Drop a PDF file here

or click to browse

Max file size: 100MB

Your PDF never leaves this browser. Nothing is uploaded.

Live Preview

Upload a PDF to preview the header and footer on a real page

Header and Footer Text

Insert:

Pages and Tokens

What {n} prints on page 1. Set 0 so page 2 reads 1 after a cover.

Filled from the PDF's title or file name when you upload

Text Style and Margins

Margins are in points (72 points is one inch), measured from the edge of the page as you see it. The standard PDF fonts cover Western European text only.

Download

.pdf extension will be added automatically

Upload a PDF to begin.

Common Use Cases

Brand a Report

Put the report title on the left, the date on the right and Page 3 of 12 at the bottom of every page in one pass.

Mark Pages Confidential

Stamp CONFIDENTIAL or DRAFT in the header and the file name in the footer, so a stray printed page still says where it came from.

Two-Sided Printing

Put page numbers on the outside corners - right on odd pages, left on even pages - like a printed book or manual.

Thesis and Course Work

Add your name and the course in the header of the body pages only, leaving the title page and front matter clean with a page range.

Label Exhibits and Attachments

Print the file name on every page of an attachment so each page can be traced back to its document after it is printed.

Date a Version

Add today's date in the footer of a proposal or price list so everyone can tell which version they are holding.

Tokens and Reference

Tokens

Token Becomes Example
{page}This page's place in the file3
{pages}The total number of pages12
{n}A number counted from your start value103
{date}Today's date, in the format you chose2026-12-02
{file}The file name without .pdfcontract-v2
{title}The document title boxAnnual Report

Common margins

Points Inches Millimeters
180.256.4
300.4210.6
360.512.7
540.7519.1
72125.4

What this tool cannot do: it draws with the standard PDF fonts, so characters outside Western European text print as a question mark. It cannot move or shrink the page's existing content to make room, so choose a margin that clears the text already on the page. It does not edit password-protected files, and the added text becomes part of the page rather than a removable header.

Frequently Asked Questions

Why We Built PDF Header and Footer

Headers and footers are how a document tells you what it is, which version you hold and where you are in it. A PDF handed to you rarely has them, and the usual fix is a paid desktop editor or an upload to a website you know nothing about. Adding a title, a date and Page 3 of 12 should take a minute and stay on your computer.

This tool gives you the controls real documents need: three positions at the top and three at the bottom, tokens for the page number, total pages, date and file name, a choice of font, size, color and margins, a clean cover, a page range, and different lines on odd and even pages for two-sided printing. The live preview is drawn from your own file with the same code the download uses, so what you see is what you get.

Placement is shared with our Add Page Numbers to PDF and Bates Numbering tools: one engine reads each page's size, crop box and rotation and places text against the page as a viewer shows it. The same settings give the same result in all three, so you can number a file in one tool and add a header in another without anything drifting.

Headers and footers fit naturally with the other PDF tools here. Combine files first with Merge PDFs, turn sideways scans upright with the PDF page rotator, add a large diagonal mark with PDF Watermark, or check what changed between two versions with Compare PDF.

PDF Header and Footer is part of RJL.io's collection of free tools, each designed to do one thing well, with no accounts, no tracking and no uploads. Also try PDF Stamp, Flatten PDF and PDF Metadata.

Is your site ready for Google and AI search?

The free SEO Analyzer checks any page in seconds - meta tags, structured data, AI crawler access - and tells you exactly how to fix each issue on your platform.