Add page numbers to a PDF
Number the pages of a PDF, with control over position, starting number and format — including skipping a cover page. Runs on your device; the file is never uploaded.
- Choose the PDF you want to number.
- Pick where the number should sit and which format you want — a bare number, “Page 3”, or “3 of 12”.
- Set the starting number, and tick the box if your first page is a cover that should stay unnumbered.
- Click Add page numbers. The numbered PDF downloads to your device.
When a document needs numbers and does not have them
Page numbers stop being decorative the moment a document leaves your hands. A court bundle, a tender response, a thesis appendix, a set of minutes circulated before a meeting — in all of these, somebody needs to be able to say “look at page nine” and have everyone arrive at the same place. Documents assembled from several files almost never have usable numbering, because each source started again at one.
This adds numbers to the pages as they now stand, which is why it is worth doing after you have merged, split and reordered everything rather than before.
Skipping the cover, and starting somewhere other than one
Two options exist because real documents are rarely as simple as the default. Skip the first page leaves a title page clean while numbering everything after it — and note that the following page then becomes number one, which is normally what people want rather than number two.
Start numbering at handles the other case: a section that continues from a previous file. If part one ended on page 48, start part two at 49 and the two print as one continuous document. Setting it to 0 is allowed, which some binding conventions use for a cover sheet.
What it does to the file
The number is drawn onto each page as text, in Helvetica, using the open-source pdf-lib library. Nothing else about the page changes: existing text stays selectable, images keep their resolution, and the file does not get re-rendered or re-compressed on the way through.
The numbers are drawn in a margin, and on a document whose content already runs very close to the edge they can overlap it. Nothing is deleted if that happens — the number simply sits on top — but it looks wrong, so check the first page of the output and move the position or reduce the font size if needed.
Pages that were scanned upside down or sideways will take their number in the orientation the page is stored in, not the orientation you see it in. Rotate them permanently first and the numbering follows.