Zero Signup ToolsFree browser tools

PDF Tools

Add Page Numbers to PDF

Add page numbers to a PDF in your browser. Choose position, format, start number, font size, and margin, then download. Nothing is uploaded.

PDF file

How to use

  1. Drop a PDF onto the upload area or click Choose file. Files up to 200 MB work, and the file is read in your browser and never uploaded.
  2. Pick a position (for example bottom center) and a format such as a plain number, Page N, or N of total.
  3. Set the first number shown, the page numbering should start on, the font size, the margin from the edge, and whether the text is bold. The live preview updates as you change them.
  4. Press Add page numbers to build the new PDF in your browser.
  5. Download the numbered PDF, or use Copy summary to grab a short note of what was stamped.

About this tool

Add Page Numbers to PDF stamps a page number onto every page of a PDF and writes a new, downloadable file with the numbers baked in. It reads your PDF with file.arrayBuffer(), indexes every object in place, walks the page tree, and adds the number as a separate overlay layer on top of each page so your original text, images, and vector graphics are never altered. The number is drawn with Helvetica, one of the Standard 14 fonts that every PDF reader is required to render without embedded font data, so the output stays small and looks identical in Chrome, Firefox, Safari, Adobe Acrobat, Preview, Edge, and Foxit. You control where the number sits (any of six positions: top or bottom, left, center, or right), the format (a plain number, Page N, N of total, N / total, or dashes around the number), the first number shown (start at 1, or any value, which is handy when a document continues from another file), the page the numbering begins on (so a cover or title page can be skipped while the count still starts wherever you choose), the font size in points, whether the text is bold, and the margin from the page edge. A live preview shows where the number will land and how many pages will be numbered before you build anything. Positioning is computed against each page's own MediaBox and rotation, both of which are inheritable down the page tree, so mixed-orientation documents and pages that were rotated still read upright and stay aligned to the correct edge. The output is re-emitted as a clean, self-contained PDF: a fresh catalog and pages root, every carried object renumbered into a contiguous range with its indirect references rewritten, one shared font object, and one small overlay content stream per numbered page, with all existing stream payloads (image data, embedded fonts, content streams) copied byte-for-byte and never decompressed so visual quality matches the source. Encrypted (password-protected) PDFs and PDFs that store their page tree inside compressed object streams (PDF 1.5+ /Type /ObjStm) are detected and rejected with a clear message rather than producing a broken file. Bookmarks, the structure tree, and form fields are not carried over because they reference pages by absolute identity in the source; annotations attached to a page travel with that page. Everything runs locally on your device, so the PDF you number and the file you download never leave your browser.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsPDF Tools