Add Page Numbers — Free Online
Add page numbers to your PDF in your browser. Choose the format, start number, position, font, and pages — original content stays intact and selectable.
Private by design — files stay in your browser
Add a PDF file to get started.
Drag & drop a PDF here
one file at a time — it never leaves your browser
How it works
Add Page Numbers stamps a short text label onto the pages you choose. Each label is appended as native PDF text with a Standard-14 font — nothing is rasterized, so your original text stays selectable, images and vector graphics survive, and page count and dimensions do not change. Numbers are assigned in page order starting from your chosen value; skipped pages consume no number. Placement uses the same display-space anchors as Watermark PDF, so a label stays at, say, the bottom center even on a rotated page, and the numbers themselves are never tilted. All processing happens in your browser.
How to use it
- Under 'Drag & drop a PDF here', click 'Choose a PDF' (or drag the file in). One PDF at a time; extra files are ignored with a warning.
- The file card shows the name, size, page count, and active page size in points. The 'Page number preview' panel shows the current page with zoom controls and 'Prev'/'Next'; its header shows the label that will be stamped, or 'not numbered'.
- Choose a 'Number format' — '1', 'Page 1', '1 / 10', or 'Page 1 of 10'. Set 'Start at' (1–999999), 'Font' (Helvetica, Helvetica Bold, Times, Courier), 'Font size' (8–72 pt), 'Color', 'Edge margin' (0–120 pt), and one of six 'Position' anchors.
- Under 'Pages', pick 'All (N)' or 'Custom' with a range like '1-3,5'. Tick 'Skip first page (cover)' and optionally fill 'Also skip pages (optional, e.g. 2,7-8)'. The inline summary shows how many pages will be numbered and the start…end numbers.
- Click 'Add Page Numbers', read the summary ('N pages numbered from S · size · original content preserved'), then click 'Download numbered PDF' to save <name>-numbered.pdf, or 'Start over' to try different settings.
Numbering and totals
Numbering starts at your 'Start at' value and increases by one across the selected pages in page order. Skipped pages — whether the cover checkbox or the skip list — are left blank and do not consume a number. The '1 / 10' and 'Page 1 of 10' formats always use the document's full page count as the total, not the number of pages you stamped: a four-page document numbered from 5 prints 'Page 5 of 4'. The preview header shows the exact label for the active page so you can check this before downloading.
Preview and placement
Only the active page is rendered, with the label drawn as an HTML overlay using the same anchors and margin as the PDF writer. Edge margin is in points and is converted to a display fraction, so it matches on landscape pages and pages with a /Rotate value. The numbers are drawn horizontally even when the page is rotated. Use the zoom buttons or 'Fit' and 'Prev'/'Next' to inspect pages; a page outside the range or in the skip list reads 'not numbered'. If a page cannot be rendered, the tool says 'Could not render this page' — the page is still included in the output.
Output and download
A successful run reports 'Page numbers added' and a summary of the numbered page count, starting number, output size, and that original content was preserved. 'Download numbered PDF' saves <name>-numbered.pdf from an in-memory blob; its temporary URL is released when you start over or leave the page. 'Start over' keeps the PDF and settings so you can try another format. The file never leaves your device.
Formats & limitations
- PDF input only, accepted by application/pdf MIME type or a .pdf filename; one file at a time, and a PDF with no pages is rejected.
- Four label formats: '1', 'Page 1', '1 / 10', and 'Page 1 of 10'. The '/ total' value is always the full document page count.
- 'Start at' is a whole number from 1 to 999999. Font size is 8–72 pt, edge margin is 0–120 pt in the UI (the writer accepts up to 288 pt), and color comes from a hex picker.
- Fonts are limited to the Standard-14 choices Helvetica, Helvetica Bold, Times, and Courier, so no custom font embedding is available.
- Six positions are available: top, bottom, and center in left, center, or right columns. Numbers are never rotated.
- Page selection is 'All' or a 1-based 'Custom' range such as 1-3,5, with an optional 'Skip first page (cover)' checkbox and an additional skip range.
- The labels are vector text, not a flattened image: original content, page count, and dimensions are preserved. No coded file-size or page-count limit was found.
- Password-protected PDFs cannot be opened here; unlock them first with Unlock PDF.
How results are validated
- The source is strictly parsed with pdf-lib, and a PDF with no pages is rejected before numbering.
- 'Start at' must be a whole number between 1 and 999999; font size 8–72 pt, margin 0–288 pt, color a valid hex value, and format, font, and position from the offered lists.
- Custom ranges and the skip range use 1-based page numbers within the document; malformed, reversed, or out-of-bounds entries show an inline error.
- Skipping every selected page is rejected with 'Select at least one page to number.'; the target list is deduplicated and bounds-checked before writing.
Troubleshooting
'“name” is not a PDF file.', 'This PDF has no pages.', or a warning that other files were ignored.
Add one non-empty PDF per run. Other file types are rejected, blank documents cannot be numbered, and extra files are ignored with the kept file named in the message.
'Start must be a whole number between 1 and 999999.'
Enter an integer in that range. The writer rejects fractional or out-of-range starting numbers.
A red page-range message such as '“7-2” runs backwards. Write the smaller page first.'
Use 1-based page numbers and ranges within the document, with the smaller page first, for example 1-3,5. The same format applies to 'Also skip pages'.
'Select at least one page to number.'
Your skips removed every selected page. Remove a skip, shorten the skip range, or widen the custom range so at least one page remains.
The preview header says 'not numbered' on a page.
That page is outside the custom range or was skipped. Adjust 'Pages', 'Skip first page (cover)', or 'Also skip pages'.
'This file is not a valid PDF.' or 'Could not render this page.'
Encrypted and unreadable PDFs cannot be opened — unlock them with Unlock PDF first. A page that only fails to render is still included in the output; only its preview is affected.
Real-world examples
- Number a 30-page report '1', '2', '3' at the bottom center and keep every page's text selectable.
- Skip the cover page so numbering starts at 1 on page two, a common layout for proposals and theses.
- Stamp only the appendix pages 12–16 with 'Page N of M' while leaving the front matter untouched.
- Add small Courier numbers in the top-right corner with a 24 pt edge margin for a print-ready draft.
- Try 'Start over' to switch to 'Page N of M' and confirm the total still reflects the whole document before downloading <name>-numbered.pdf.
Frequently asked questions
Can I skip the cover page or other pages?
Yes. Use 'Skip first page (cover)' or list pages in 'Also skip pages', such as 2,7-8. Skipped pages are left blank and do not consume a number, but the '/ total' value still refers to the full document page count.
Which number formats are available?
Four: '1', 'Page 1', '1 / 10', and 'Page 1 of 10'. You also choose the starting number, so 'Page N of M' can legitimately show a label like 'Page 5 of 4' when the document has four pages.
Does numbering change the page layout?
No. Labels are native text drawn inside the existing page box, so page dimensions and original content are unchanged. The 'Edge margin' slider (0–120 pt) sets how far from the edge the numbers sit; increase it if they crowd your content.
Can I change the font, size, color, and position?
Yes. Choose Helvetica, Helvetica Bold, Times, or Courier; set 8–72 pt size, a hex color, and an edge margin from 0–120 pt in the UI. Six top/bottom positions are available, and labels stay horizontal on rotated pages.
What does the numbered PDF contain?
'Download numbered PDF' saves <name>-numbered.pdf with your chosen labels stamped on the selected pages; the rest of the file is unchanged. In 'Page N of M' formats, M is always the document's full page count, even if you numbered only some pages.