Add page numbers to a PDF
Number every page in the corner or the centre, in the format you want, without sending the document anywhere.
- Nothing is uploaded
- Works offline after first visit
- Open source
- No watermark · limit is your device’s memory; phones hold less
Stamps page numbers on every page of a PDF, in the position, format and starting number you choose. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The size limit is your device’s memory, and phones hold less; give the page a short while after one visit to save itself for offline use, and then it works offline.
Done
Free, no ads. Support StayPut
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
How it works
- Drop a PDF.
- Pick where the numbers go, the format (1, Page 1, 1 of 12), the font and size, and where numbering starts.
- Add page numbers and download. The preview shows the first numbered page.
In your browser, not on a server
pdf-lib opens the document and draws each number with one of the standard PDF fonts (Helvetica, Times or Courier), which every PDF reader has built in, so no font is embedded and the file barely grows. The position is computed per page from its size and rotation so the number lands in the same corner as the reader sees it.
Compared with upload-based tools: Adding page numbers should not require uploading a 200-page report to a stranger’s server. Here the stamping happens on your device and finishes in about the time the upload alone would take.
Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
Can I add text, a highlight or an image to the PDF too?
Yes. Edit PDF adds text, cover boxes, highlights, drawings and images to a page and rotates, deletes or reorders pages, all in your browser. It cannot change the text already in the file.
Can I skip the cover page?
Yes. Set "First page to number" to 2 and the cover stays clean. You can also choose the number printed on that first numbered page, so page 2 can be numbered 1.
Which formats are available?
A plain number, "Page 1", "1 of 12" and "Page 1 of 12", or write your own using {n} for the number and {total} for the last number. The total counts only numbered pages.
What if the PDF already has page numbers?
The new numbers are drawn on top, so pick a different corner or use the Reorder tool to remove pages before numbering. The tool never edits existing content.
Do rotated or mixed-size pages work?
Yes. The position is computed per page, so landscape and portrait pages in the same file each get their number in the same corner as the reader sees it.
Is the file uploaded?
No. Numbers are drawn with pdf-lib inside your browser using the standard PDF fonts, so the file does not grow and nothing leaves your device.
More PDF tools
PDF to Word
The text of a PDF as an editable Word document, with paragraphs and headings, extracted on your device.
Signature maker
Draw it with a finger or mouse, type your name in a script font, or take it from a photo. Save a transparent PNG for documents, or place it on a PDF.
Extract Images from PDF
Every picture in the file, at its real size, without screenshots and without uploading the PDF.
PDF to SVG
Each page as a scalable SVG, with vector shapes and selectable text, made on your device without uploading the PDF.
Popular conversions
Guides
- How to add page numbers to a PDFEasy if you still have the original Word file; much harder if all you have is the finished PDF. Here is what actually works.
- A free Smallpdf alternative with no daily limitSmallpdf's free plan has daily limits. Here is what that means, and a way around it where your files are never uploaded.
- A free iLovePDF alternative with no task limits or adsiLovePDF's free plan works, but with limits on documents, batches and file size. Here is what changes with a tool that never uploads the file at all.
- How to sign a PDF without Adobe AcrobatSign a contract in your browser in a minute, with nothing uploaded, and the built-in options on every platform.