PDF Page Numbers

Published Updated

Stamp page numbers in one of six positions as 1, Page 1 or Page 1 of 12, starting from any number, with the cover page left blank if you want.

Three formats, shown on page 3 of a 12-page file

With a starting number of 1:

FormatNormalWith Skip first page
132
Page 1Page 3Page 2
Page 1 of 12Page 3 of 12Page 2 of 11

The total is worked out as the starting number minus one, plus the number of pages that get a label. That keeps the last label and the total equal, so a document can never end on a line such as Page 6 of 5.

One fixed style, half an inch from the edge

Every label is black Helvetica at 10 points, one of the standard 14 fonts listed in section 9.6.2.2 of the PDF standard. There is no setting for font, size, color or margin. The text sits 36 points from the page edges, which is half an inch or 12.7 mm: for bottom positions that is the distance to the baseline, and for top positions the baseline sits 36 points below the top edge.

Left and right labels line up with that same margin, and centered labels are centered on each page's own width, so a file mixing portrait and landscape pages still gets centered numbers. Text already printed in that spot is not moved, so check pages with a footer of their own.

Numbering the pages

  1. Step 1

    Add the PDF

    Once it is read you see the page count, which the Page 1 of 12 style uses for its total.

  2. Step 2

    Set style and position

    Pick the format, one of six spots at the top or bottom, the starting number and whether the first page is skipped.

  3. Step 3

    Apply and download

    Each page gets its number as real text, and the copy downloads with -numbered added to the name.

Files that need a second look

  • Rotated pages. The PDF standard's Rotate entry turns a page only for display. A number added to a page stored at 90 degrees therefore runs vertically along a side.
  • Cropped pages. Positions are measured from the full page, not from a crop. After a 10 mm crop in Crop PDF, a bottom number sits only about 2.7 mm above the visible edge, so add numbers before cropping.
  • Viewer page labels. The PDF standard (section 12.4.2) keeps page labels separate from page order, and this tool does not touch them.
  • Encrypted files. They are refused. Remove a password you know with Unlock PDF first.
  • Other stamps. For a line of text such as Draft or Confidential on every page, PDF Watermark is the matching tool.

Page numbering questions

Can I leave the cover page without a number?

Yes. Tick Skip first page: page 1 gets nothing and page 2 carries your starting number. The total then counts only numbered pages, so a 12-page file runs from Page 1 of 11 to Page 11 of 11.

Can numbering start at a number other than 1?

Yes, at any whole number from 0 upward. The total follows: starting at 5 in a 12-page file gives Page 5 of 16 up to Page 16 of 16, which suits a chapter that continues a longer report.

Can I change the font, size or color?

No. Numbers are always black Helvetica at 10 points. Helvetica is one of the 14 standard fonts that every conforming PDF reader has to provide, so no font file is embedded.

Why is the number sideways on some pages?

Those pages are stored with a rotation setting that the viewer applies on screen. The number is placed on the page as stored, so it turns with the page and ends up along a side edge. On a test page rotated 90 degrees, a Bottom-Center number ran down the left edge.

Can I remove the numbers later?

Not with this tool. They are written into each page's content as ordinary text, which you can select and search. Keep your original file; running the tool again on a numbered copy adds a second set.

Will my PDF viewer show the new numbers in its page box?

No. Viewers count pages from 1 or use the document's page labels, and this tool does not set page labels. If you start at 5, the viewer may still call that page 1.

Related Tools