Number PDF pages

Add page numbers to a PDF: 1, 1/10 or Page 1 of 10, at the position you want.

loading Number PDF pages
About this tool

How do you add page numbers to a PDF?

Adding page numbers to a PDF means stamping a number such as 1, 1/10 or Page 1 of 10 on each page, at a position you choose. It is what you need when a thesis, a contract or a bundle of scanned documents has no numbering and someone says "see page 14", or when a court, a school or a client requires numbered pages.

This tool does it in your browser. You pick a format, a position, the first number, the size and which pages to number, and the page shows a live preview of one page before you save. The numbers are drawn into the PDF with pdf-lib: nothing is uploaded, there is no account and no server-side limit. If your format uses Greek or Cyrillic letters, the font needed for them is downloaded once from this same site; nothing goes to third parties.

The numbers are written as ordinary text on top of each page; the original content is not changed or redrawn. Pages with their own rotation (a landscape scan stored as rotated) get the number turned to match, so it still reads upright. Before numbering, you may want to merge PDFs into one file, or to put pages in the right order with organize PDF pages.

How to number the pages of a PDF

  1. Open the page. An example PDF is loaded; drop your own file anywhere on the page or click Choose a file to replace it.
  2. In Number format choose 1, 1/10, Page 1 of 10 or Custom. With Custom, type your own text using {n} for the number and {total} for the count, for example Page {n} of {total} or - {n} -. The format must contain {n}.
  3. Choose Position: bottom center, bottom right, bottom left, top center, top right or top left.
  4. Set First number (it can be any whole number) and Size (the default is 11 points, with a 28-point margin from the edge).
  5. In Pages to number (empty = all), leave it empty for every page or type a range such as 2- to skip the cover.
  6. Check the Preview of page image, click Number pages and download. The file keeps the original name with -numbered at the end, for example thesis-numbered.pdf.

Examples

Number everything, "1/10" style

A 10-page report with the 1/10 format at bottom center and defaults for the rest: page 1 shows 1/10, page 5 shows 5/10 and the last shows 10/10. This is the simplest and most readable choice for printing.

Skip the cover but keep real page positions

A 10-page file where the cover should have no number but the second page should read 2. Set Pages to number to 2-, First number to 2 and the format to {n}/{total}. Pages 2 to 10 receive 2/10 to 10/10, because {total} is the last number shown. The cover stays clean.

Start counting at the first page of the body

Same 10-page file, but you want the cover and a table of contents unnumbered and the body to start at 1. Set Pages to number to 3-, First number to 1 and format Page {n} of {total}. Page 3 reads Page 1 of 8 and page 10 reads Page 8 of 8: the total counts only the numbered pages.

Pages to numberFirst numberFormatFirst stampLast stamp
(empty)1{n}/{total}1/1010/10
2-2{n}/{total}2/1010/10
3-1Page {n} of {total}Page 1 of 8Page 8 of 8

A number in the top corner for a manuscript

Choose Top right, format {n} and size 12. This is the usual place for manuscripts and legal filings.

Common errors and how to fix them

  • "The format needs {n} (the page number), for example {n}/{total}.": a custom format without the number token is refused. Add {n}.
  • "These characters cannot be drawn: ...": emoji and Chinese, Japanese or Korean characters are not supported. Latin, Greek and Cyrillic letters, digits and common punctuation work.
  • "Invalid page selection..." or "Page ... does not exist in this PDF.": the pages field accepts forms such as 2-, 1-3, 5 or all (or empty), and numbers within the page count.
  • "... is password protected, so it cannot be read. Remove the password first.": use remove PDF password first.
  • The number overlaps the page content: choose another corner, or check that the page has free space at that edge; the stamp is drawn on top and does not move content.

Frequently asked questions

Is numbering a PDF free?

Yes. No account, no watermark and no limit on pages, because everything runs on your device.

Are my files sent to a server?

No. The preview and the final file are generated in your browser.

Can I number only some pages?

Yes. Use the pages field: 2- numbers from the second page, 1-3, 5 numbers those pages only. Numbering counts only the selected pages, and First number sets what the first of them shows.

Can I start at a number other than 1?

Yes. First number accepts any whole number, such as 5 for a chapter that continues a previous file, or 0.

Can I use roman numerals, or "i, ii, iii"?

Not in this tool: it writes Arabic digits only.

Will the numbers print correctly?

They are real text in the PDF, in a standard font, at the size you chose. The default distance from the edge is 28 points (about 1 cm), which falls inside the printable area of most printers.

Can I remove the numbers later?

Not automatically. Keep the original file, since the tool saves a new copy and does not alter the one you opened.

Report a problem