PDF Page Numbers
Add page numbers to your PDF document. Choose position, format, and start number.
Drag & Drop PDF Here
or click to browse files
How do you add page numbers to a PDF? You stamp a small text object onto every page at a fixed offset from the page edge. This tool loads your document with pdf-lib, embeds the standard Helvetica font, measures the width of each number, and draws it at coordinates worked out from that page's own size, your chosen corner and the margin you set. The numbers become part of the page content, so every reader and printer shows them.
How to Add Page Numbers to a PDF
- Load your PDF — Drag the file onto the upload zone or click to browse. Its name, size and page count are read in the browser, and the settings panel appears once the document has parsed.
- Choose a position — Six anchors are available: top or bottom, paired with left, centre or right. Bottom centre is the conventional choice for reports; corners are common in legal and academic work.
-
Pick a number format — Choose Arabic digits, lowercase or uppercase Roman numerals, lowercase or uppercase letters, or one of the ready-made
Page 1and- 1 -patterns. - Set the start value, size and margin — The start number applies to the first page and increments by one from there. The size and margin sliders are applied as PDF points, where 72 points equal one inch.
-
Add an optional prefix or suffix — Anything you type is wrapped around the number, so a prefix of
Pageand a suffix ofof 24producePage 7 of 24. The total is not filled in automatically. -
Stamp and download — Click Add Page Numbers, then download
numbered-document.pdf. Your original file on disk is untouched, so you can adjust the settings and stamp again.
How Page Numbering Works in a PDF
A PDF has no concept of a header or a footer. Unlike a word processor, where a footer is a region that content flows around, a PDF page is a fixed canvas holding drawing instructions at absolute coordinates. Adding a page number therefore means appending one more drawing instruction to each page's content stream, at a position you calculate yourself. There is nothing to reflow and nothing to update later — once stamped, the number is as much a part of the page as the body text.
The tool parses your upload with pdf-lib, embeds Helvetica from the standard font set that every PDF reader already has, and walks the pages in order. For each page it builds the label text, asks the embedded font how wide that exact string is at your chosen size, and derives coordinates from the page's own dimensions. PDF measures from the bottom-left corner upwards, so the bottom positions are simply the margin value while the top positions are measured down from the page height:
bottom-center → x = (pageWidth − textWidth) / 2, y = margin top-right → x = pageWidth − margin − textWidth, y = pageHeight − margin − textHeight
Because the width is measured rather than estimated, a centred iii and a
centred xxviii are both genuinely centred, and a right-aligned number stays
flush with the same right margin no matter how many digits it grows to. Coordinates come
from each page individually, so a document mixing portrait and landscape pages still gets
every number in the right place.
One consequence worth knowing: the number is drawn on top of whatever is already there, without a background box behind it. If a page already carries a printed folio or a footer rule in the same spot, the two will sit over each other. Move the position or increase the margin until the new number lands in clear space.
Number Formats
| Option | Pages 1 to 5 come out as | Typical use |
|---|---|---|
| 1, 2, 3 | 1 2 3 4 5 | Body pages of almost any document |
| i, ii, iii | i ii iii iv v | Front matter: contents, preface, foreword |
| I, II, III | I II III IV V | Formal prefaces and legal recitals |
| a, b, c | a b c d e | Appendices and lettered exhibits |
| A, B, C | A B C D E | Schedules and annexes |
| Page 1 | Page 1 Page 2 Page 3 | Reports where the label should be explicit |
| - 1 - | - 1 - - 2 - - 3 - | Manuscripts and printed correspondence |
Letter numbering continues past the alphabet in spreadsheet style, so page 27 becomes
aa and page 28 becomes ab. Roman numerals use standard
subtractive notation, which is why page 9 is ix rather than
viiii.
Position Anchors
| Position | Horizontal rule | Where it is conventional |
|---|---|---|
| Bottom centre | Centred on the page width | Reports, proposals, most formal documents |
| Bottom left | Margin from the left edge | Academic papers, technical documentation |
| Bottom right | Margin from the right edge | Business proposals, single-sided handouts |
| Top centre | Centred on the page width | When footnotes or sources occupy the footer |
| Top left | Margin from the left edge | Drafts and internal memos |
| Top right | Margin from the right edge | Legal filings and formal correspondence |
Getting a Professional Result
- Number front matter separately. Stamp the contents and preface as a short document in lowercase Roman numerals, then stamp the body as a second pass in Arabic digits, and merge the two.
- Keep the size between 9 and 12 points. That reads clearly on paper without competing with the body text; the slider goes to 36 for large-format or accessibility work.
- Raise the margin if a number lands on existing content. Twenty points is roughly 7 mm from the trim edge, which is tight for anything going to a commercial printer.
- Use the suffix field for a running total, such as
/ 24. It is typed literally, so update it if the page count changes. - Check the first and last pages after downloading. Those are where an existing footer or a differently sized page is most likely to cause a collision.
The preview is a schematic, not your page. The panel shows a blank sheet with your label drawn in the chosen corner so you can judge the position and format. It does not render your actual document, so always open the finished download to confirm nothing overlaps.
Frequently Asked Questions
Load the file, pick a corner and a number format, adjust the size and margin, then click Add Page Numbers. The tool stamps a number onto every page and hands you a new file to download. There is nothing to install, no account, and your original document is left exactly as it was.
They can. The number is drawn at a fixed offset from the page edge with no background box behind it, so if the page already has a printed folio, a footer rule or a wide image in that spot, the two will sit on top of each other. Increase the margin or move to a different corner, then check the finished download.
Yes — set the start number and the first page takes that value, with each following page incrementing by one. What you cannot do is skip pages: every page in the file gets a number, including the cover. To leave the cover unnumbered, split it off first, number the rest, and merge the cover back on.
No. The existing page content is not re-encoded or re-rendered, and because the tool saves the same document rather than copying pages into a new one, document-level structure such as bookmarks and metadata comes through intact. The only change is one extra text object per page.
The PDF is read by your browser and modified in the page you are looking at, so its contents never travel over the network. Only the pdf-lib script is fetched, from a public CDN. Nothing is stored, and closing the tab discards the document from memory.
They are applied as PDF points, the unit the format itself uses, where 72 points make one inch. A 12-point number is the same physical size as 12-point body text in a word processor, and a 20-point margin sits about 7 millimetres in from the trim edge.
Not from this tool. Numbers are drawn in Helvetica at a dark grey, and one format applies to the whole document. That keeps the result predictable. Mixed numbering — Roman front matter followed by Arabic body pages — is achievable by numbering the two parts as separate files and merging them afterwards.
The most likely reason is encryption. Files carrying a password, including ones with only an owner password that restricts editing, are refused by the parser. Open the document with its password in a PDF reader, save an unprotected copy, and number that copy instead.
Use Cases
Court and Tribunal Bundles
A litigation assistant numbers an assembled evidence bundle from top right so counsel can cite a page in the hearing and everyone lands on the same sheet.
Thesis Front Matter
A research student numbers the contents and acknowledgements in lowercase Roman numerals, matching the convention their department's submission guide requires.
Merged Report Packs
An operations manager stitches four department reports into one PDF, then numbers the combined file so the pagination runs continuously instead of restarting.
Scanned Archive Batches
A records clerk numbers a scanned batch that arrived as unlabelled images, giving the file a reference scheme that survives printing and re-scanning.
Print-Ready Booklets
A designer adds folios at a generous margin before sending a booklet to a print shop, so trimming cannot clip the numbers off the finished pages.