Add Page Numbers to a PDF — Any Position, 100% In-Browser
Number every page of a PDF exactly how you want. Choose top or bottom, left, center, or right, pick a style — "1, 2, 3", "01, 02, 03", "Page 1", or "1 / 10" — and fine-tune the size, margin, color, and starting number. A live preview of the first page shows the result before you commit. Everything runs locally in your browser: nothing is uploaded, and your document never leaves your device.
Frequently Asked Questions About Adding PDF Page Numbers
How does the Add Page Numbers tool work?
Upload a PDF, choose where you want the numbers (top or bottom, and which side), pick a style like "1, 2, 3" or "Page 1", and set the size, margin, and color. A live preview of the first page updates as you adjust, then hit "Add page numbers" — pdf-lib draws the number on every page and the finished PDF downloads locally.
Can I start numbering at a number other than 1?
Yes. Set "Start on page number" to any value — handy for reports with title or cover pages where numbering should begin later.
Will the numbers cover any existing page numbers?
The tool draws its own number on top of each page, so if the document already has printed page numbers in the same spot they can be overlapped. Choose a position where your document has space.
Are the numbers searchable text?
Yes. Numbers are drawn as real text using a built-in standard font, so they remain selectable and searchable in the output PDF.