Add page numbers to a PDF
Pick a position and a format, and the numbers are drawn onto every page. Because they are text rather than an image, they remain selectable and can be found by search.
- Files never leave your device
- No account, no queue
- Works offline
- No upload step
Drop a PDF to number
Numbers are drawn as real text, so they stay selectable and searchable.
Choose filesHow it works
- 1
Drop the PDF
Page count and size are read locally. Nothing is uploaded.
- 2
Choose the format
Plain numbers, “1 / 12”, “Page 1 of 12” or dashes. Start at any number, so a chapter can continue from 47.
- 3
Download
Numbers are added to the existing pages; nothing else about the document changes.
Frequently asked questions
Can I skip the cover page?
Yes — tick “Skip the first page”. The numbering still counts from the first page by default, so a 12-page document shows 2 / 12 on its second page, which is what readers expect.
Why were some pages skipped?
Pages with a non-zero rotation are reported and skipped. A PDF page can carry a /Rotate attribute that the viewer applies when displaying it, so a “bottom centre” number would end up along a different edge. Rotate those pages upright first.
Do the numbers become part of the text?
Yes. They are drawn with an embedded standard font, so they are selectable, searchable and accessible to screen readers — unlike stamping an image.
Can I number only a range of pages?
Not yet. Numbering always applies to every page, optionally from the second onwards. Splitting the document into parts and numbering each with a different start value is the current workaround.
Is my PDF uploaded?
No. pdf-lib draws the text in this tab; the file never leaves your device.
Other tools
Merge PDFs
Combine several PDFs into one, in the order you choose. Pages are copied at the object level, so nothing is recompressed.
Split a PDF
Extract every page into its own file, or pull out ranges like 1-3, 5, 8-10. Multiple results arrive as a ZIP.
JPG to PDF
Turn JPG, PNG, WebP or AVIF images into one PDF, one image per page, with A4 or fit-to-image sizing.