Skip to content

Add Page Numbers to PDF

Stamp page numbers onto every page of a PDF, with your choice of position and format — free, nothing uploaded.

Runs in your browserFree, no sign-up

Settings

Use {n} for the page number and {total} for the page count.

Results update automatically as you type.

Fill in the settings to see your result here.

Your result appears here instantly — nothing is uploaded.

About Add Page Numbers to PDF

This tool stamps a page number onto every page of a PDF, using whichever position and text format you choose — a plain number, or something like 'Page 3 of 12'. It works entirely in your browser: the file is read, numbered and rebuilt on your own device, and is never uploaded anywhere, which matters as much for a signed contract as it does for a school report.

Common uses

Preparing a report or thesis for printing

Add consistent page numbers to a long document before printing or submitting it, without opening a full desktop PDF editor.

Numbering a scanned document

Add page references to a scanned document that had none to begin with, making it easier to cite a specific page later.

Starting numbering after a cover page

Set the starting number so a cover page or title page doesn't count as page 1, matching how printed books and reports are conventionally numbered.

How to get your result

  1. 1

    Upload the PDF you want to number.

  2. 2

    Choose where the number should appear on the page.

  3. 3

    Set the text format, using {n} for the page number and {total} for the page count.

  4. 4

    Optionally change the starting number and font size.

  5. 5

    Download the numbered PDF.

How the number is placed on each page

The tool measures the exact pixel width of the formatted label at the chosen font size, then positions it so it's genuinely left-aligned, right-aligned or centred — rather than approximating the position, which would drift for labels of different lengths, such as 'Page 1 of 12' next to the wider 'Page 10 of 12'.

Tips

  • Use {n} of {total} for a format like 'Page 3 of 12' — the total is calculated automatically from the document, not entered manually.
  • A smaller font size (8-10pt) keeps the number unobtrusive in a corner; going larger works better for a bold centred page marker.
  • This stamps every page, including a cover page. If the cover shouldn't carry a number at all, split it off first, number the remaining pages starting at 1, then merge the cover back on with a PDF merger.

Answers to common questions

Can I start numbering from a page other than 1?
Yes — set 'Start numbering at' to any number. Useful when a cover page or table of contents shouldn't count toward the visible page number.
What placeholders can I use in the format field?
{n} is replaced with the current page's number and {total} with the document's total page count, so 'Page {n} of {total}' produces 'Page 1 of 12', 'Page 2 of 12', and so on.
Does this work on a password-protected PDF?
No, an encrypted PDF needs to be unlocked in a PDF reader first. This tool works with standard, unencrypted PDFs.
Does adding page numbers affect the existing content?
No — the number is drawn as an additional text layer on top of each page. Everything already on the page is left untouched.

Looking for something else? Browse all pdf tools or see every tool.