Add Page Numbers to PDF, Headers & Footers
Page numbers, headers, footers and Bates numbers for PDFs
Page numbers, headers, footers and Bates numbers for PDFs
Files are processed only in this browser. Nothing is uploaded to a server.
Number PDF pages with your own start number, position and cover-page skipping
This PDF is password-protected.
Continue in another tool
Processing…
Everything runs inside this browser. Your file is never sent to a server.
Your file is ready to download
Continue with this result
Open page preview
Changing a setting hides the previous result. Run it again to save the latest settings.
Remove the password from an encrypted PDF first. Processing focuses on page content, so bookmarks, attachments, forms and signatures may not be preserved. Keep the original and check the result.
Loading…
Working…
0.0
It hasn't frozen — the result will appear when the calculation finishes.
About Add Page Numbers to PDF, Headers & Footers
A PDF has two different ideas of “page 3”. One is the number printed on the page — characters drawn inside the page content. The other is the page label a viewer shows in its page-number box. This tool adds the first kind: real text at one of nine positions, so it prints and is searchable. By default it also writes the second kind to match.
There are three tabs: plain page numbers; a header and footer tab that adds title, date, logo and a confidentiality line in one pass; and Bates numbering, which stamps a continuous sequence across several files. All three place text relative to the page's visible area (the CropBox) and its rotation, so on a page turned to landscape the number still sits upright at the bottom as you see it.
Printed numbers and page labels are independent
Page labels (ISO 32000-1, section 12.4.2) are stored in the document catalog as rules such as “pages 1–4 are i–iv, then 1, 2, 3 from page 5”. The viewer's page box and “go to page” use them. They are stored separately from the digits drawn on the page, so drawing numbers alone can leave the two out of step.
Without labels, skipping two cover pages and starting the body at 1 leaves the printed number saying 1 while the viewer says page 3 — a common source of confusion when someone in a meeting says “look at page 3”. So “Make the viewer’s page numbers match” (on by default) writes page labels that follow the same rule as the printed numbers: uncounted covers become i, ii and the body runs 1, 2, 3 from the start number; with “count skipped pages” on, the covers continue from the start number too. If you number only a range, the labels still run in sequence. Labels the document already had are replaced, so turn the option off to keep them. A start number of 0 can’t be expressed as a label, so none are written then.
Skipping covers, and what {total} means
With a cover count set, the first N pages get no number. If “count skipped pages” is on, the third sheet starts at 3; if off, it starts at 1. The {total} token is not the document's page count but the largest number actually printed, so “Page 1 of 8” can reflect the body rather than the whole file.
For duplex booklets, turn on mirroring: on even pages left and right swap, so the number always sits on the outer edge. A page range leaves pages outside it unnumbered while the count carries on across them.
Header and footer tab
Six slots — left, centre and right at the top and bottom — take text with tokens {title}, {date}, {confidential}, {page}, {pages} and {file}, filled in per page. Report, confidential and simple presets are included. A PNG or JPG logo can go in one slot at 3–40 mm high, thin rules can separate header and footer from the body, and the {confidential} text can be drawn in red.
If the source already has a printed header, the two will overlap. Increase the margin (0–60 mm), or add page margins first with a margins tool.
Bates numbering: a litigation habit that outlived the stamp
The name comes from Edwin G. Bates, a New York inventor whose 1891 improvement to an automatic numbering machine advanced the number each time the stamp was pressed. Law offices adopted such machines to give every page of a document production a unique number, and today the same scheme is applied electronically to PDFs in e-discovery. Note that Federal Rule of Civil Procedure 34, which governs producing documents, doesn't itself require Bates numbers; they are a convention, often fixed by agreement between the parties or by an ESI protocol.
What matters is that numbering never restarts between files. The format is prefix + zero-padded counter + suffix (for example ABC000001), with 1 to 12 digits. You can exclude each file's first page, and add rules for odd pages, first or last page only, or a range, using tokens such as {bates}, {file}, {page} and {total}. A CSV log of file, page and Bates number is saved with the output — the kind of index opposing counsel tends to ask for.
Prefixes usually identify the producing party (ACME000001), and zero-padding keeps numbers sorting correctly in file lists and review platforms. Pick enough digits for the whole matter up front: going from six to seven digits mid-case produces two inconsistent series.
Worked examples
A 10-page report with two cover pages
- Input
Start 1, skip 2 covers, skipped pages not counted, format “Page {n} of {total}”- Output
Sheets 3–10 read “Page 1 of 8” … “Page 8 of 8”
{total} is 8, the highest number printed. With “count skipped pages” on, sheets 3–10 read “Page 3 of 10” … “Page 10 of 10”. The viewer's page box matches the printed numbers: i, ii, 1–8 in the first case and 1–10 in the second.
Continuous Bates numbers across three files
- Input
Prefix ABC, 6 digits, start 1, files of 12, 30 and 8 pages- Output
ABC000001–ABC000012, ABC000013–ABC000042, ABC000043–ABC000050
Each file picks up where the previous one ended. Excluding each file's first page removes three numbers, so the last becomes ABC000047.
Numbers on the outer edge of a booklet
- Input
Position bottom right, mirroring on- Output
Odd pages bottom right, even pages bottom left
Mirroring swaps left and right on even page numbers, matching how facing pages open in a bound book.
How to use it
- Choose a tab (page numbers, header/footer or Bates) and open the PDF.
- Set format, position, starting number and any cover pages to skip.
- Check placement in the preview and save.
Frequently asked questions
Will the page number shown in my PDF viewer change?
Yes, by default. Page labels are written to follow the printed numbers, with uncounted covers shown as i, ii. Turn off “Make the viewer’s page numbers match” to keep the existing labels.
Can I use Roman numerals for front matter?
Printed numbers are Arabic digits only. Front matter you skip without counting, though, shows as i, ii in the viewer's page box.
How is Bates numbering different from page numbers?
Page numbers restart in every file; Bates numbers are unique across the whole set of documents.
Is Bates numbering legally required?
Not by Rule 34 itself. It's standard practice, and courts or parties often set the format in a discovery agreement.
Can the text include non-Latin characters?
Yes. When the format contains characters outside WinAnsi, a Noto Sans KR subset is embedded.
Sources
- ISO 32000-1:2008 (PDF 1.7) — Adobe public copy (12.4.2 Page Labels)
- The Henry Ford — Bates Numbering Machine, 1919-1925
- Wikipedia — Bates numbering
- Federal Rules of Civil Procedure, Rule 34 (Cornell LII)
Last reviewed: