inyourbrowser.com

Add Page Numbers to PDF

Upload a PDF and stamp page numbers onto every page. Choose where to place them (bottom centre, bottom right, or top right), set the starting number, adjust size and colour, then download. All processing happens locally in your browser.

Drop a PDF here or click to browse

How it works

This tool uses pdf-lib, a pure JavaScript PDF library. It loads your PDF in memory, uses the built-in Helvetica font to draw a page number on each page at the position you choose, and downloads the result. All without leaving your browser tab.

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 text or image overlays to pages, try PDF watermark. To join several numbered files into one, use merge PDF. For straightening pages 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.
Can I start numbering from a number other than 1?
Yes. Use the 'Start at' field to set any starting number. For example, enter 5 to begin numbering at page 5.
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.
Is my file private?
Yes. Your PDF is processed entirely in your browser using pdf-lib. Our servers are not involved at any point.

Related tools

Compress PDF
Reduce PDF file size in your browser. Lossless optimisation or image re-rendering.
PDF watermark
Add a diagonal text watermark to every page of a PDF. Control opacity, size, and colour.
Merge PDF
Combine multiple PDF files into one downloadable PDF. Drag, drop, reorder. Runs in your browser.
Rotate PDF
Rotate or flip PDF pages 90°, 180°, or 270°. Adjust individual pages or all at once.