Add page numbers to a PDF

Pick a corner, a starting number, a size and a format. Numbers are drawn as a real text layer on each page, so they stay sharp at any zoom and the content underneath is untouched.

Numbers are text, not an overlay image

The tool embeds the standard Helvetica font in the document and writes one short text run per page. Because it is text, it remains crisp at 400 % zoom, it prints sharply on a laser printer, and it can be selected and copied. It also means the numbers take a few hundred bytes per page rather than a rasterised band across the bottom of every page.

The original content stream is not modified. If the page was a scan, the number is drawn on top of the image; if it was a born-digital document, the number sits above the existing text. Nothing is flattened.

Choosing the placement

Bottom centre is the safe default for reports, theses and anything that will be read on screen. Bottom right is conventional for business documents and invoices. Top centre reads well on landscape pages where the footer is far from the eye. If the document will be bound or stapled on the left edge, keep the number out of the gutter - a right-hand number on a two-sided print often ends up close to the spine.

DocumentPositionFormatSize
Report or thesisBottom centrePage 4 of 1210-11 pt
Invoice or quoteBottom right4 / 129-10 pt
Print-ready book blockBottom centre, mirrored on even pages49-10 pt
Landscape drawing setBottom rightSheet 4 of 1210-12 pt
Internal memoBottom centre410 pt

Starting numbers and covers

The first number does not have to be 1. Documents that are chapters of a larger work often continue a series - setting the first number to 47 makes the last number 47 plus the page count minus one. The leave the first page unnumbered option handles the cover page: the number still counts that page, so the second physical page carries the first number you set.

If you need Roman numerals for front matter and Arabic for the body, that is two runs: number pages 1-N with the Roman setting in a desktop editor, or process the body only by splitting the document first, numbering it, then merging the parts back in order.

Documents that already have numbers

Adding a second set of numbers is almost always a mistake. Flattened print-to-PDF exports often carry numbers burned into the page image, and those cannot be removed by this or any tool - they are pixels. If you see numbers already, check whether they are text (selectable) or pixels before adding more. For a rebuild, crop the old band with a PDF editor, or re-export from the source document without the footer.

Rotated pages

A page with a 90-degree rotation value is displayed turned, so the number has to be counter-rotated or it appears sideways. PDFNest reads each page's rotation and positions the text in the displayed coordinate space, which keeps numbers upright on landscape pages that were produced by rotating a portrait page. Pages with unusual sizes still get their number inside the visible box.

Numbering FAQ

Can I number only some pages?

Not in one step. Split the document with the split tool, number the part you want, then merge back in order. That keeps every page accountable.

Which font is used?

Helvetica, one of the 14 standard PDF fonts. It does not need to be downloaded into the file as a separate embedding, which keeps the output small and portable.

Why do my numbers sit too close to the edge?

The margin is measured from the trim edge in points, not from the text block. 72 points is one inch; 24-32 points looks tight on paper but is normal for a screen document. Increase the margin to 48 for print.

Will the numbers appear in a search?

Yes, they are ordinary text. That is usually an advantage, but it does mean a search for "12" will also find the page number.