Add page numbers to a PDF
Stamp clean page numbers onto every page of a PDF, in the position and format you choose. The numbering runs entirely in your browser, so your file never leaves your device, with no signup and no watermark. Need it in your app? The same stamping is one API call.
Runs entirely in your browser. Nothing is uploaded.
How to use Add page numbers to a PDF
- Add your PDF Drop your PDF into the box, or click to browse. One file at a time.
- Choose position and format Pick where the number sits (bottom center, left, or right) and the style (1, 2, 3 or 1 of N or Page 1).
- Number and download Click Add page numbers. Every page is stamped and the numbered file downloads instantly.
Why FileAlloy
Nothing is uploaded
The numbering happens locally in your browser. Your document never touches a server.
No signup, no watermark
Free and unlimited, with no account and no watermark on the numbered file.
Clean, readable numbers
Numbers are stamped in a neutral font and colour that reads clearly without covering content.
Ready as an API
The same stamping is one REST call, so you can number generated documents automatically.
Do it at scale with the API
Numbering generated reports or invoices automatically? The same operation is a single call to /v1/page-numbers, so you can batch and automate it with no browser.
curl -X POST https://api.filealloy.com/v1/page-numbers \
-H "X-API-Key: fa_live_your_key" \
-F "file=@document.pdf" \
-F "position=bottom-center" \
-o numbered.pdf Get an API key Frequently asked questions
Where do the page numbers appear?
You choose: bottom center, bottom left, or bottom right. The API also supports top positions.
Can I change the number format?
Yes. Pick plain numbers (1, 2, 3), a running total (1 of N), or a labelled style (Page 1).
Are my files uploaded to a server?
No. The browser tool stamps your PDF locally on your device, so nothing is uploaded or stored. The API processes files in memory and deletes them immediately after the response.
Can I start numbering from a specific number?
The API accepts a start value, so you can begin at any number for split or continued documents.
Can I add page numbers programmatically?
Yes. Call the /v1/page-numbers endpoint with your API key to stamp numbers from your own code.
Does it work on mobile?
Yes. It runs in any modern browser with nothing to install.