To add page numbers to a PDF without uploading it: drop the file below, choose one of nine positions and a format — plain 1, 1 of 24, or Page 1 of 24 — set the margin, and click Add numbers. A 24-page report numbers as Page 1 of 24 through Page 24 of 24, bottom right, half an inch from the edge, in about a second. You download a numbered copy; the original on disk is untouched, and nothing is sent to any server.

Number a PDF

📄

Click or drag a PDF here

Position

Numbering

Load a PDF to see the numbering preview
Advertisement

Numbering Formats and Front-Matter Styles

FormatPage 3 of a 24-page fileTypical use
13Books, theses, minimal layouts
1/243/24Compact contracts and specs
1 of 243 of 24Reports, slide-deck exports
Page 1Page 3Formal documents, filings
Page 1 of 24Page 3 of 24The business default
Roman front matterPage iiiTitle page to TOC, then body restarts at Arabic 1
Prefix / suffixA-3 · v2Appendixes, versioned drafts

With skip-first-page on, the title page stays clean and numbering begins on page 2 — the total in "of N" counts only numbered pages, so a 24-page file becomes Page 1 of 23 on its second page. That matches how word processors handle "different first page".

Standard Page Sizes (for Margin Planning)

Page sizePointsInches36 pt margin equals
US Letter612 × 7928.5 × 110.5 in from every edge
US Legal612 × 10088.5 × 140.5 in from every edge
A4595.28 × 841.898.27 × 11.690.5 in (12.7 mm)
A5419.53 × 595.285.83 × 8.270.5 in (12.7 mm)

The tool reads each page's own dimensions, so mixed-size files (Letter appendices behind an A4 report) number consistently on both. Increase the margin if an existing footer collides with the number — 54 or 72 pt (0.75 or 1 in) gives the number its own line of margin.

How PDF Page Numbering Works

Page numbering is the same operation a print shop does with a numbering stamp, applied digitally: walk every page in order, compute a label for it, and draw that label as real text at a fixed spot. This tool loads your file with the open-source pdf-lib engine (maintained as @cantoo/pdf-lib), embeds Helvetica once, and draws one text object per page at your chosen position.

The numbering math

With start number s and skip-first-page off, page p of the document gets number s + p − 1; the count N in "of N" formats is the page count (or one less when the first page is skipped). Roman style converts that number the classical way: 4 is iv, 9 is ix, 40 is xl, 90 is xc — the subtractive pairs — so page 14 becomes xiv and page 19 xix.

Position is computed per page from that page's own width and height. Bottom and top rows sit the baseline at the margin (and the margin plus the cap height down from the top edge); the middle row centers vertically. Right-aligned slots measure the label first with the embedded font's metrics, then subtract: x = pageWidth − margin − textWidth.

A worked example

A 24-page report, US Letter (612 × 792 pt), defaults: bottom right, 36 pt margin, 10 pt Helvetica, format Page 1 of 24. The label on page one measures 56.31 pt wide, so its left edge sits at 612 − 36 − 56.31 = 519.69 pt, baseline 36 pt up from the bottom. Page 12's label is Page 12 of 24 — the extra digit widens it to 61.87 pt, so its left edge shifts to 514.13 pt; the right edges stay perfectly aligned. Centered instead, page one's number starts at (612 − 56.31) ÷ 2 = 277.85 pt. On A4 (595.28 pt wide), the same bottom-right label starts at 502.97 pt.

Now the front-matter variant: the same report with a title page gets numbered twice — pages 2-5 in roman (ii, iii, iv, v, continuing the convention that the title page counts silently as i), then the body restarts at Arabic 1 and runs Page 1 of 19 through Page 19 of 19 on the remaining 19 pages. Two quick passes in this tool, then merge the files.

What happens to your file

Frequently Asked Questions

How do I add page numbers to a PDF for free?

Drop the PDF into the tool above, pick a position and a format (such as Page 1 of 24), and click Add numbers. The numbers are drawn as real text on an in-memory copy and you download it — no Adobe subscription, no upload, no watermark. On a phone or laptop it works the same, because the numbering engine (pdf-lib) runs inside your browser.

What is the standard position for page numbers?

Bottom center is the classic book and report position; bottom right is the most common on business documents because it clears left-aligned footers. The working convention is half an inch (36 points) from the edge in 9-10pt type. What actually matters is consistency: pick one of the nine slots and use it on every page.

What does Page X of Y mean in a PDF?

It is the folio format that shows both the current page and the total, like Page 12 of 24, so a reader always knows how much is left. In this tool the total N counts the pages that receive a number: with skip-first-page enabled on a 24-page file, page 2 is numbered Page 1 of 23 and the title page stays clean.

Can I use roman numerals for front matter?

Yes. Reports and theses often number the front matter (title page, abstract, table of contents) in lowercase roman — i, ii, iii — and restart the main body at Arabic 1. Set the numbering style to i, ii, iii here for the front-matter file, then run the body file separately with Arabic numerals starting at 1, and merge the two.

Does adding page numbers change my original PDF?

No. The tool reads your file, draws the numbers on a copy held in memory, and hands you that copy as a download. The original on disk is never touched, and the numbers are added as new text objects — existing text, images, and form fields are not re-flowed or altered.

Why did my numbered PDF get bigger?

Numbering adds a font reference and one small text object per page, so a size bump of a few kilobytes is normal. If the file grows a lot, the copy lost some compression the original had — re-compressing afterwards with a PDF compression tool brings it back down.

Advertisement