Add Page Numbers, Header and Footer to PDF
Number PDF pages, add header and footer text or Bates numbers, with your choice of position, style, start number and range, without uploading it.
Drop PDFs here, or
Your files never leave your device
Processed in this browser · up to 50 at a time
Adds page numbers to a PDF: a report or thesis to submit, a bundle of scans to refer to by page, or a document with a cover and front matter. It also adds text to the header and footer, such as a title, the date or “Page 3 of 12”, and Bates numbers, the running reference (ABC-000001) that lawyers put on every page of a set of documents. All of it is added on top of each page as real text in the font Noto Sans; the page itself is not drawn again, so its text stays selectable and links and form fields keep working. The PDF is stamped on your device and never uploaded.
How to use it
Add one or more PDFs; a PDF with a password asks for it. Choose what to add:
- Numbers (the default): a page number in one of nine places. Each PDF is numbered on its own, from the start number.
- Header & footer: text in up to six places, left, centre and right along the top and bottom edges, up to 120 characters each. In the text,
{n}is the page's number,{N}the last number printed in the PDF,{date}today's date, written as28 February 2026, and{file}the PDF's name without.pdf. Anything else, including other words in braces, is printed as typed; a place left empty prints nothing. Like numbers,{n}starts again in each PDF. - Bates: a prefix, a counter padded with zeros to 4 to 10 digits, and a suffix, as in
ABC-000001. The counter carries on from one PDF to the next in the order they are listed, so a set of files runs as one. It counts the pages chosen with Pages. If the counter would outgrow its digits the tool stops and says so, rather than printing numbers of different lengths: add digits or start lower.
The other options, with their defaults:
- Style (Numbers only):
1,Page 1,Page 1 of 9,1 / 9, or lower-case Roman numerals (i, ii, iii, up to 3999). N is the last number printed. - Position (Numbers and Bates; Bates start at bottom right): one of nine places, as the page is shown, so a page turned sideways in the PDF is numbered where a reader sees its bottom. Default bottom centre.
- Margin: from the edges beside the text, in millimetres; default 10.
- Start at (default 1; for Bates, the counter's first value, which may be 0), Size in points (default 11) and Colour (default black), the same for everything stamped.
- Pages: such as
3-to leave the first two pages bare; empty stamps every page. - Skip the first page (Numbers and Header & footer): leaves page 1, a cover, bare and out of the count.
The stamped PDF is named as in report-numbered.pdf. Text that runs into its neighbour or off the page is still printed, and the result says on how many pages it did: use shorter text or a smaller size. Text is drawn in Noto Sans, which covers Latin, Greek, Cyrillic and Devanagari; characters it lacks are refused before anything is made.
Examples
A 5-page report with a cover
With the style Page 1 of N and Skip the first page on, the cover is left bare and N counts only the numbered pages: page 2: “Page 1 of 4”, page 3: “Page 2 of 4”, page 4: “Page 3 of 4”, page 5: “Page 4 of 4”.
Front matter in Roman numerals
For a 12-page PDF with Pages 2-4 and the Roman style: page 2: “i”, page 3: “ii”, page 4: “iii”. To go on with Arabic numbers from page 5, add the numbered PDF again with Pages 5- and the style 1.
Continuing from another file
Chapter two of a book whose first file ends at page 40: Start at 41 gives page 1: “41”, page 2: “42”, page 3: “43”.
A header and footer on a report
- Header left
- {file}
- Header right
- {date}
- Footer centre
- Page {n} of {N}
For annual-report.pdf of 3 pages, on a day that is 28 February 2026, page 1 gets “annual-report”, “28 February 2026”, “Page 1 of 3”. N is 3, the last number printed in the PDF.
Bates numbers across two files
- Prefix
- ABC-
- Digits
- 6
- Start at
- 1
With a 3-page contract and a 2-page exhibit listed in that order, the contract's pages read ABC-000001, ABC-000002, ABC-000003 and the exhibit's ABC-000004, ABC-000005: the counter does not start again in the second file.
Frequently asked questions
ABC-000001, so that any page can be cited exactly, as in legal discovery and audits. Choose Bates, give the prefix, the number of digits and the first number, and add all the files at once in the order they should run. The tool does not check the numbers against any court's or case's rules.See also
- Merge PDF — to join files first, so the numbers run through all of them.
- Watermark PDF — to stamp a word such as DRAFT or a logo on the pages.
- PDF Editor — to add text, a signature or an image anywhere on a page.