Add Page Numbers to PDF
Stamp page numbers onto a PDF — position, format and font size, all local.
- Free forever
- No sign-up
- Runs in your browser
What this tool does
It adds page numbers to a PDF. You load a document, choose where the numbers go and how they read, and download a fresh copy with a number drawn onto every page. The work happens entirely in your browser using pdf-lib — your file is never uploaded, there is no account to create, and the result carries no service watermark.
Page numbers sound trivial until you actually need them. A bundle of evidence for court has to be paginated so everyone can refer to "page 47". A printed report falls apart the moment a stack of unnumbered pages gets dropped. A merged document assembled from a dozen sources reads as one continuous file only if the pages are numbered consistently. This tool handles all of those in a few clicks.
How to use it
- Load your PDF. Drag a file onto the drop zone or click to choose one. The tool reads it locally and shows a live preview of the first page.
- Pick a position. Choose any of six placements — top or bottom, combined with left, centre or right. The overlay on the preview shows roughly where the number will land.
- Choose a format. Options include a plain number (
1), a number with the total (1 / 10), or a labelled style (Page 1,Page 1 of 10). - Set the starting number, font size, margin and colour. Start at 1 by default, or any number you like. The margin controls how far the number sits from the page edge.
- Add numbers and download. The tool stamps every page and saves a new file named after your original with
-numberedappended.
There is nothing to install and nothing to sign up for. Close the tab and no trace of your document remains anywhere.
Positioning and format options
The right position depends on the document. Bottom centre is the classic choice for reports and books — neutral and expected. Bottom right suits documents that will be hole-punched and filed on the left, keeping numbers clear of the binding. Top right is common in legal and corporate paperwork where readers scan the upper corner. Footers near the outer edge work well for double-sided printing.
Format matters for clarity. A bare number is the most compact and the least distracting. The 1 / 10 style is invaluable when a document might be split or printed loose, because anyone can see at a glance whether a page is missing. The Page 1 of 10 style is the most explicit and reads best in formal contexts where you want no ambiguity.
The starting number deserves a moment's thought. Front matter — a cover, a contents page, a blank divider — is often left unnumbered or numbered separately. If your body content really begins on the third page, start the count at 3 so the printed numbers match how people will refer to the document. Font size and margin let you tune the numbers to the page: a dense technical document might want a small 9-point number tucked tight to the corner, while a presentation handout reads better with a larger, more generous number.
Non-destructive by design
Adding page numbers here never modifies your source file. The tool loads the PDF into memory, draws the numbers onto a copy, and writes out an entirely new document. Your original stays exactly as it was on disk. That means you can experiment freely — try bottom centre, decide you prefer top right, change the starting number — and re-export as many times as you like without any risk to the original.
Because the numbers are drawn as real text using the standard Helvetica font embedded in the PDF, they render crisply at any zoom level and print sharply. They are part of the page, not a separate layer that a reader might accidentally hide.
Why doing it locally matters
Most online PDF utilities work by uploading your document to a server, processing it there, and sending it back. For a holiday itinerary that is harmless. For a signed contract, a medical report, a payslip, an NDA or an internal financial statement, it means handing a copy of a sensitive file to a third party and trusting their retention and security policies.
This tool sidesteps that entirely. Everything runs in your browser, on your own machine, so the document never travels anywhere. There is a pleasant irony worth naming: services like Smallpdf let you run a couple of free tasks and then either gate you behind a subscription or stamp their watermark onto your file. Here there is no task limit, no login wall and no forced branding — and if you ever genuinely want a watermark, that is a deliberate choice you make with our Watermark PDF tool, not something stamped on without asking. You came to add page numbers; you leave with a clean PDF that has page numbers and nothing else.
The practical benefits stack up too. There is no upload wait even for large files, no server-imposed size cap, and nothing to delete afterwards because nothing was ever stored.
Tips and best practices
- Preview before you commit. Glance at the overlay on page one to confirm the position and format read the way you want, then export.
- Match the count to reality. If front matter is unnumbered, set the starting number so the printed numbers line up with how people will cite the document.
- Mind the binding. For documents you will hole-punch or staple, keep numbers on the outer edge so they are not swallowed by the binding.
- Use
n / totalfor loose pages. Anything that might be printed unbound or split benefits from showing the total, so a missing page is obvious. - Keep your original. The export is a separate file — hold on to the source until you have checked the numbered copy.
Common questions, answered in practice
If a PDF refuses to load, it is almost always because the file is password-protected; an encrypted document cannot be read without its password. Open it in a reader, remove the protection, re-save, and load the clean copy here. If numbers look too close to the edge after printing, raise the margin a few points — printers often clip the last few millimetres. And if you have already merged several files into one and the pagination is now a mess, numbering the combined document here — once you have the page order right with our Organize PDF Pages tool — gives you a single, consistent sequence across the whole thing.
Frequently asked questions
Comet's got your back
Stuck on something? Every tool has a short guide and FAQ — and Comet can point you to the right spot.
Visit help centre