Add Page Numbers to PDF
Stamp page numbers where you want them — bottom centre, bottom corner or top right — as “7”, “7 of 40” or “Page 7 of 40”, with the cover page skipped if you like.
A long PDF without page numbers is a small daily friction that compounds. “See page 14” means counting fourteen pages on screen. A printed copy that spills off a desk has no order to gather it back into. Meeting packs, theses, manuals and contracts all read better with numbers, and plenty of documents that need them were exported by software that never added any. This tool draws them in: one number per page, in the corner or at the foot of the page, in the style you pick, without sending the file anywhere.
Numbers are drawn as real text in the PDF's built-in Helvetica, 24 points (about 8.5 mm) in from the page edge, in a neutral dark grey. They become part of the page, so they print and copy like any other text — and a later editor can remove them like any other text, too. Your original file is never modified.
Quick answers
How do I add page numbers to a PDF without uploading it?
Load the file here, pick a position (bottom centre, bottom left, bottom right or top right), a style (1, 1 of N, or Page 1 of N), the starting number and a font size, then download. The numbers are drawn locally with pdf-lib — the file never leaves your browser.
Tick “Skip the first page” for documents with a cover: the cover stays bare and the numbering begins on the second page with the starting number you set.
How do I start PDF page numbering at a number other than 1?
Set “First number shown” to that number. With a start of 37, the first numbered page shows 37 and the sequence runs 37, 38, 39… — the standard fix for a file that continues an earlier document.
The N in “of N” styles is still the page count of this file, not the larger document, so a continuation chapter numbered from 37 in a 12-page file reads “37 of 12” in that style. If that looks odd, the plain-number style is the cleaner choice for continuations.
Can I skip numbering the cover page of a PDF?
Yes — tick “Skip the first page”. The first page is left exactly as it was, and numbering starts on page 2 with your chosen first number, so a skipped cover does not consume a number.
The total page count never changes: a 12-page file with a skipped cover still has 12 pages, 11 of them numbered.
How to use
- Choose the PDF — the page count is shown, and it is the N in the “of N” styles.
- Pick a position (bottom centre, bottom left, bottom right or top right) and a style: plain numbers, “1 of 12”, or “Page 1 of 12”.
- Set the first number shown — 1 normally, or a higher number when this file continues another document — and the font size.
- Tick “Skip the first page” if the file opens with a cover or title page that should carry no number, then click “Add page numbers & download” and check the result.
About this tool
The choices here are the ones real documents actually ask for. Position first: bottom centre is the book convention, a bottom corner suits reports that will be bound or stapled on the other side, and top right is for packs that get flicked through from the top corner. Style second: a plain number is the quietest; “7 of 40” tells a reader how much is left, which matters in a contract or a thesis; “Page 7 of 40” spells it out for documents handed to people who did not grow up with PDFs. Then the two refinements that separate a numbering tool from a stamp: the sequence can start at any number, because a file that is chapter three of a report should not restart at 1, and the first page can be skipped, because covers and title pages look wrong with a number on them — and when you skip it, the second page takes the first number, the way books do it.
Each number is drawn for its own page, measured against that page. The text is set in Helvetica, the font built into every PDF reader, at the size you choose, and its width is measured before it is placed — that measurement is what makes “bottom centre” actually centred and “bottom right” end exactly 24 points from the edge, on a wide landscape page just as on a narrow portrait one. Pages of different sizes in the same file each get their number placed by their own dimensions. The numbers are ordinary page content once drawn: they print, they survive copying the file, and they can be selected as text, because that is what they are.
How it works
Placement is measured per page. The label’s width is taken from the font at the chosen size (Helvetica’s own metrics, via widthOfTextAtSize), then: bottom centre puts the label at x = (page width − label width) ÷ 2; bottom right at x = page width − 24 − label width; bottom left at x = 24. Bottom positions sit at y = 24 points from the foot of the page, and top right at y = page height − 24 − font size, so an 11 pt number’s cap height clears the 24-point margin. 24 points is 8.47 mm — inside the printable area of ordinary printers, clear of the text block on ordinary pages.
The sequence is a counter, not the page index. It starts at your chosen number and increments once per numbered page; a skipped first page does not increment it. In a 12-page file starting at 1 with the cover skipped, the drawn numbers are 1 to 11 across pages 2 to 12, and the “of N” total stays 12, the file’s real page count.
What this tool can’t do
Numbers are drawn over the page, not woven into it: if a page already has content exactly where the number lands — a footer at the same 24-point line, say — the number will sit on top of it. Pick a different corner, or a smaller size, when a page’s own furniture is in the way.
One style, one position and one sequence per pass. Documents that restart numbering per chapter need one pass per chapter file — split the document first, number each part with its own start, then merge.
The numbers are drawn text in Helvetica only. Matching a document’s own serif body font is not something the built-in PDF fonts can do, and uploading a font file for one footer is a heavier tool than this page sets out to be.
Password-protected PDFs cannot be opened by pdf-lib at all, so they cannot be numbered here. This site does not offer a password-removal tool, by design.
Worked examples
A thesis with a title page: A 64-page thesis PDF opens with a title page, then front matter, then the chapters. With “Skip the first page” ticked, style “Page 1 of 64” at bottom centre and a start of 1, the title page stays clean and the second page reads “Page 1 of 64” — 63 numbers drawn, 64 pages in the file, exactly what the status line reports.
Chapter three of a printed report: The third chapter is its own 12-page file, but in the bound report it spans pages 37 to 48. Set the first number to 37 and use the plain style: the file’s pages show 37, 38 … 48, matching the printed volume it will be bound into.
A meeting pack that gets shuffled: A 40-page board pack, printed double-sided and forever being dropped, gets “1 of 40” at top right in 12 pt. Any spilled copy can be gathered back into order at a glance, and a missing page shows itself the moment the sequence jumps.
Quick reference — styles and positions
| Setting | Options | Notes |
|---|---|---|
| Style | 1 · 1 of N · Page 1 of N | N is always this file’s page count |
| Position | Bottom centre · bottom left · bottom right · top right | Measured 24 pt (8.47 mm) in from the edge, per page |
| First number | Any whole number from 0 | A skipped first page does not consume it |
| Font size | 6–36 pt | 11 pt is ordinary footer size; 12–14 pt reads well in printed packs |
Frequently asked questions
Will the numbers print, or are they screen-only?
They print. Each number is drawn into the page content itself, the same way the document’s own text got there, so anything that prints the original prints the numbers — at the size you chose, in the position you chose.
What happens to a PDF that already has page numbers?
This tool adds a second set; it cannot detect or remove numbers that are already part of a page, because to the file they are just text and lines like any other. If the existing numbers sit somewhere else, the two sets can coexist confusingly — number a clean copy instead, or pick a position away from the old ones.
Does adding numbers change my page count or file size much?
The page count never changes — numbers are drawn onto existing pages, nothing is added or removed. The file grows by a few hundred bytes per page at most, for the text and its placement instructions.
Why does “37 of 12” look wrong in my continuation file?
Because N is the page count of the file in front of the tool — it cannot know the larger document’s length. For continuation files, use the plain style (just the running number), which carries no total and reads correctly in the bound set.
Can I number only part of a document, like pages 5 to 20?
Not in one pass on this page — numbering runs from the first page (or the second, when skipped) to the last. Split the document with PDF Merge & Split so the part is its own file, number it with the start value you need, then merge it back if the set has to live in one file.
Are the numbers added on a server somewhere?
No. The file is read into your browser’s memory, pdf-lib draws the numbers there, and the finished PDF is downloaded from the page. You can check in your browser’s Network panel while it works: no upload request appears.
First time embedding? Read the step-by-step guide →
More free tools
PDF Merge & Split
Combine multiple PDFs into one, or split and extract pages — right in your browser, with no upload and no sign-up.
PDF Compressor
Shrink a PDF by re-rendering its pages as compact JPEGs — best for scans and photo PDFs.
PDF to Image Converter
Turn PDF pages into PNG or JPG images — page by page, or all in one ZIP.
PDF to Text Converter
Pull the text out of a PDF — page by page, as one clean plain-text file.
Image to PDF
Turn photos and scans into a single PDF — pick the order, page size and margins, all on your device.
Text to PDF Converter
Type or paste plain text and download it as a clean, real PDF document.