inyourbrowser.com

Add Page Numbers to a PDF Online

Drop a PDF, pick where the numbers go (bottom centre, bottom right, or top right), choose the first number, size, and colour, and download a copy whose name ends in -numbered.pdf. Each number is placed on the page as it is displayed, so rotated and cropped pages get their numbers in the spot you chose. The numbering runs in your browser.

Drop a PDF here or click to browse

How it works

pdf-lib loads your PDF, embeds the standard Helvetica font, and draws each number 28 points from the page edge at the position you pick. Placement follows the page as it is displayed: the tool reads each page's crop box and /Rotate value, so numbers land at the chosen position on rotated or cropped pages and read upright.

Processing runs in your browser

All processing happens inside your browser. pdf-lib modifies the document structure entirely in memory. Our servers are not involved at any point.

Related operations

For adding a diagonal text watermark to every page, try PDF watermark. To join several numbered files into one, use merge PDF. For turning sideways pages upright before numbering, see rotate PDF.

Frequently asked questions

How do I add page numbers to a PDF?
Drop your PDF into the tool, choose a position (bottom centre is the default), set the starting number, then click 'Add page numbers' and download the result.
What is the numbered file called?
It keeps your file name and adds -numbered, so report.pdf downloads as report-numbered.pdf. Your original file is not changed.
Will page numbers be added to every page?
Yes. The tool stamps a number on every page of the PDF using the position, size, and colour you choose.
Does adding page numbers affect the rest of the PDF content?
The numbers are drawn on top of the existing page content. Text, images, and all other content remain unchanged.
Do the numbers follow rotated or cropped pages?
Yes. The tool reads each page's visible area (its crop box) and its /Rotate value, so the number lands at the position you chose as the page is displayed, and it reads upright.

Last reviewed September 30, 2026

Other pages for this tool

Related tools

Merge PDF
Combine multiple PDF files into one downloadable PDF. Drop in your files and reorder them with arrows. Runs in your browser.
PDF watermark
Add a diagonal text watermark to every page of a PDF. Control opacity, size, and colour.
Reorder PDF pages
Drag PDF pages into any order and download the rearranged PDF. Runs in your browser.
Rotate PDF
Rotate or flip PDF pages 90°, 180°, or 270°. Adjust individual pages or all at once.