inyourbrowser.com

Add Page Numbers to PDF

Add page numbers to PDF is a PDF tool that stamps sequential numbers onto every page of a document. It offers bottom-centre, bottom-right, and top-right positions, configurable starting number and font size, and live preview before download. The tool runs in your browser.

Drop a PDF here or click to browse

How to add page numbers to a PDF

  1. Drop your PDF onto the upload area or click to browse, page thumbnails load automatically.
  2. Choose the number position: bottom centre, bottom right, or top right.
  3. Set the starting number, font size, and colour.
  4. Click "Add page numbers" and download the numbered PDF.

Common uses

  • Adding page numbers to a thesis, manuscript, or report before submission. Merge all sections first so numbering is continuous
  • Numbering pages in a merged PDF document for easy navigation
  • Adding sequential numbering to a collection of scanned pages, use compress PDF afterward to reduce the final file size

Technical specification

  • Algorithm or formula: Iterates each page in the loaded PDFDocument and calls page.drawText() with the sequence number at the configured anchor (computed from page width/height and a fixed margin).
  • Browser API or library: pdf-lib for PDF write; embedded Helvetica from the PDF standard 14 fonts (no font upload required).
  • Input limits: PDF up to 100 MB. Starting number from 1; font sizes Small, Medium, Large.
  • Output: New PDF (application/pdf) with the original content plus a number stamped at the chosen position on every page.
  • Known limitations: Number positions are constrained to three fixed anchors. Numbering applies to every page; per-page skipping is not currently configurable.

Frequently asked questions

Is my PDF uploaded to a server?
No. Page numbers are stamped using pdf-lib running in your browser.
Can I start numbering from a number other than 1?
Yes. Set the starting number in the "Start at" field, useful for documents that continue from a previous part.
What positions are available for the page number?
Bottom centre, bottom right, and top right are available. These positions work well for most document types.
Can I choose the font and size?
Yes. Select from Small, Medium, and Large size options. The font is Helvetica for clean, universally supported rendering.

Reviewed and tested May 26, 2026.