Add Page Numbers to PDF
Add sequential page numbers to a PDF — pick the position, starting number, and a custom format like 'Page {n} of {total}'. Runs entirely in your browser; your file is never uploaded.
Input
Page numbering runs entirely in your browser — nothing is uploaded.
Use {n} for the page number and {total} for the total, e.g. Page {n} of {total}.
e.g. 2-end to skip a cover page. Leave blank to number every page.
Numbered PDF
Upload a PDF, choose a position and format, and press Add Page Numbers. The numbered file is built in your browser — download it when you're ready.
Guides
What it does
Add Page Numbers to PDF stamps a sequential page number onto every page of a PDF — or onto only the pages you choose, so you can skip a cover page or title sheet. Pick where the number sits, what it looks like, and how it's written (a plain number, or a custom format like Page {n} of {total}).
How to use it
- Upload a PDF.
- Choose a position — any of the six corners/edges (top or bottom, left/center/right).
- Set the format:
{n}for a plain number, or something likePage {n} of {total}for a page count. Any other text in the format is printed as-is. - Set the starting number — useful when a document's numbering should continue from a previous section, or start at 0.
- Optionally restrict numbering to a page range (e.g.
2-endto skip a cover page) and adjust the font size and color. - Press Add Page Numbers and download the result.
Settings
- Position — top-left, top-center, top-right, bottom-left, bottom-center, or bottom-right.
- Format — a template string.
{n}is replaced with the page's number;{total}is replaced with the count of pages being numbered (not necessarily the document's full page count, if a page range is set). - Starting number — the number printed on the first numbered page. The rest count up from there.
- Pages — a page range like
1-3, 5, 8-end, or blank for every page. - Font size and color — control how the stamp looks.
Privacy
This runs entirely in your browser using pdf-lib — the PDF is never uploaded to a server.
FAQ
Can I skip the cover page?
Yes — set the page range to 2-end and the first page is left untouched while numbering starts on page 2.
Can I add "Page 1 of 12" instead of just a number?
Yes — set the format to Page {n} of {total}. {total} reflects however many pages you're numbering (the full document, or just the range you picked).
Related tools
Need to mark up the pages instead of numbering them? Try Watermark PDF to stamp text like CONFIDENTIAL or DRAFT across every page. To reorder, rotate, or remove pages first, see Organize PDF or Delete PDF Pages.