inyourbrowser.com

Insert Page Numbers in PDF

Insert sequential page numbers into your PDF in seconds. Select a placement, set the start number, adjust the font size and colour to match your document style, then download. All processing runs 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

What PDF positions are available for page numbers?
You can place page numbers at the bottom centre, bottom right, or top right of each page.
Can I add page numbers to a scanned PDF?
Yes. The page number is drawn as a text overlay on top of whatever content is on the page, whether it is scanned content or native PDF text.
Does inserting page numbers change the page size?
The page dimensions remain unchanged. The number is drawn inside the existing page boundary with a margin from the edge.
Is there a page limit?
There is no hard limit. Large PDFs may take a few seconds to process. All processing runs locally in your browser.
Are my files private?
Yes. All processing runs in your browser. The Content Security Policy on this site blocks all outbound connections at the browser level.

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.