Add Page Numbers to PDF

Add page numbers to a PDF that has none, such as a scanned report, a set of merged documents or an application with its attachments. Choose where the number goes and how it looks, check it on your own pages, then save a new copy.

How to add page numbers to a PDF

  1. Choose a PDF in the box above (drag it in, or click or tap the box). Page 1 appears as a preview, and the arrows under it flip through the other pages.
  2. Pick one of the six spots (top or bottom, left, centre or right) and a format: 1, 1 / N, - 1 - or Page 1.
  3. To leave a cover page out, set “First page to number” to 2. “Start numbering at” decides what that first numbered page is called, so with 1 the second page of the file reads 1. Adjust the font size, the distance from the edge and the colour; the preview follows every change.
  4. Press Add page numbers. The new file is saved as yourfile-numbered.pdf, and your original is not touched.

Good to know

  • One position applies to every page. If the file will be printed double-sided, bottom centre avoids the question of which side is the binding edge.
  • Numbers already printed on the pages are not removed; new ones are added on top. Use a different spot, or limit the range with the first and last page boxes.
  • Many printers cannot print right up to the edge of the paper, so keep the distance at 5 mm or more if the file will be printed.
  • To reorder or delete pages, do that first with Organize PDF pages and number the result, so the numbers run in order.

How it works

How page numbers are added

Every PDF page is drawn from a content stream, a list of instructions such as “set this font, move to this point, show this text”. Adding a number appends one more stream to the page with exactly those instructions. The original ones are not rewritten, which is why the text underneath stays real text that can be selected and searched, and why the number itself is real text too. Pages can also carry a rotation setting (/Rotate) and a crop box smaller than the full sheet. The tool reads both for every page, so the number sits at the visible edge, upright, whatever way the page is stored.

Frequently asked questions

How do I skip the cover page?

Set “First page to number” to 2, and the cover stays unnumbered. To make page 2 show “1”, leave “Start numbering at” on 1. To make it show “2”, as if the cover had counted, set it to 2.

What does N mean in the “1 / N” format?

N is the number of the last numbered page. In a 10-page file numbered from page 1 it reads 1 / 10 up to 10 / 10. If you skip the cover (first page 2, start 1), the second page reads 1 / 9, because nine pages are numbered.

Do the numbers land in the right place on rotated or mixed-size pages?

Yes. The distance from the edge is measured on each page as it is displayed, so a landscape page, or a page stored with a 90° rotation, gets its number at the same visible spot and upright. Pages of different sizes each get their own spot. Use the arrows next to the preview to check any page.

Can I select or copy the numbers afterwards?

Yes for 1, 1 / N, - 1 - and Page 1: they are real text in the PDF’s built-in Helvetica font. The Korean “1페이지” and Japanese “1ページ” wordings are drawn as small images, because a PDF’s built-in fonts have no Korean or Japanese characters; those cannot be selected. Plain digits are always text.

Does it change anything else in my PDF?

The pages are kept as they are and the numbers are added on top, so existing text stays selectable and bookmarks, links and form fields are kept. The document’s Producer property becomes “Hanji (hanji.page)”. A digital signature does not survive, since any change to a file breaks it, so number a document before it is signed.

Related tools