Add Page Numbers to a PDF: Position, Format and Start, No Upload

  • Free
  • No sign-up
  • Runs in your browser
  • Version 1.0.0
  • Last updated 2026-10-26
Report a problem

Number the pages of a PDF without a word processor. Choose where the number goes and what it says, check a live preview, and save. The file never leaves your device.

Everything you enter is processed in your browser and is never sent to a server.

Browsers:Chrome119+Edge119+Firefox121+Safari17.4+Opera105+Samsung Internet25.0+Browsers

How to use

  1. Drop your PDF onto the box, or choose it. A preview of the first numbered page appears.
  2. Pick the position (a corner or the center, at the top or bottom) and the style, such as 1, - 1 - or Page 1 of 10. You can also type your own text, in any language, with {n} for the number and {total} for the last page's number.
  3. To leave a cover page without a number, set First page to number to 2. To start from another number, change Number on that page. Adjust the size, the distance from the edge and the color if you like.
  4. Press Add page numbers and save. You get a copy of the PDF with the numbers added, named like your file with -numbered at the end.

Examples

A 10-page A4 PDF with the default settings
→ Pages 1 to 10 show 1 to 10, centered at the bottom, 28 points from the bottom edge, in 11 point type
The same PDF, text Page {n} of {total}
→ Page 1 shows Page 1 of 10, page 2 shows Page 2 of 10, and so on
The same PDF, text {n} / {total}, bottom right, First page to number 2
→ Page 1 has no number, page 2 shows 1 / 9 and page 3 shows 2 / 9, at the bottom right
To keep counting the cover but leave it blank, set First page to number to 2 and Number on that page to 2.

How it works

The page numbers are added on top of each page, so the rest of the page is left as it was. When the text only needs letters, digits and common punctuation, the open-source pdf-lib library, in its maintained @cantoo fork, draws it as real text with the PDF’s built-in Helvetica font, so it can be selected and searched. A PDF’s built-in fonts have no Korean or most other non-Latin letters, and drawing them wrongly would be worse than not drawing them, so for such text your browser draws each page’s number and the tool places it as a small see-through picture, sized and placed exactly where the text would have gone. The position is measured on the page as it appears on screen, from the visible area, after any rotation, so a number meant for the bottom right stays at the bottom right on a sideways page too.

The last number, used for {total}, is the number on the last page, so a PDF whose cover is left out and whose first numbered page is 1 reads “of 9” on a 10-page file. The preview cuts one page out of your file and numbers it exactly as the whole file will be numbered, so what you see is what you save.

The tool is tested by building PDFs with known text on each page, adding numbers in each of the six positions, to pages turned by 90, 180 and 270 degrees and to cropped pages, and reading the result back with PDF.js to check the text and where it sits. For text drawn as pictures, the tests check the size and place of each picture, and a browser test checks that a Korean number such as 1 페이지 ends up on every page.

Sources

Frequently asked questions

How do I add page numbers to a PDF?
Open the PDF here, choose where the numbers go and what they say, and press Add page numbers and save. The preview shows the result before you save.
How do I skip the cover page?
Set First page to number to 2. The cover gets no number and is not counted, so page 2 shows 1. If you want page 2 to show 2 instead, also set Number on that page to 2.
Can the numbers use Korean or other languages?
Yes, for example {n} 페이지 or 제 {n} 쪽. Letters and digits the PDF's built-in Helvetica font has are added as real text. Anything else, such as Korean, is drawn by your browser and placed as a small picture on each page, so it looks right but cannot be selected or searched as text.
Do the numbers follow rotated pages?
Yes. Positions are measured on the page as you see it, including pages that are turned sideways and pages with a cropped view.
Are my files uploaded?
No. The PDF is read and edited in your browser, so private documents stay on your device.
Is there a limit?
Up to 500 pages and 100 MB for a file. A PDF protected by a password has to be unlocked first with the program that protects it.
Version history
  • 1.0.0 — First release.

Last updated: