Add Page Numbers to a PDF
Stamp page numbers on a PDF: six positions, a start number, and a {n} of {total} format. Numbering runs in your browser.
What Add Page Numbers to a PDF does
Stamps a number on the pages you choose, at any of six positions, starting from the number you set. {n} is the page's own number and {total} is the last number printed, so numbering a five-page document from 3 ends at 7 of 7 — the front-matter convention, where the cover and the contents are left unnumbered. The number is drawn into the page rather than added as a viewer annotation.
How to use it
Add Page Numbers to a PDF: choose a PDF file from the file picker and press Run, after setting Position (default "bottom-center"), Format ({n} and {total}), default "{n}", Number the first page as (default 1), Font size (pt), default 12, Distance from the edge (pt), default 24 and Pages to number (2-5, odd, all), default "all" to get the numbered PDF below.
Why it runs in your browser
The work is done locally with JavaScript: pdf-lib is loaded on demand and rewrites the page tree in the tab, and the two rasterising pages draw each page on a canvas. That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.
Stamps a number on the pages you choose, at any of six positions, starting from the number you set. {n} is the page's own number and {total} is the last number printed, so numbering a five-page document from 3 ends at 7 of 7 — the front-matter convention, where the cover and the contents are left unnumbered. The number is drawn into the page rather than added as a viewer annotation.
Stamp page numbers on a PDF: six positions, a start number, and a {n} of {total} format. Numbering runs in your browser.
How to use it
Add Page Numbers to a PDF: choose a PDF file from the file picker and press Run, after setting Position (default "bottom-center"), Format ({n} and {total}), default "{n}", Number the first page as (default 1), Font size (pt), default 12, Distance from the edge (pt), default 24 and Pages to number (2-5, odd, all), default "all" to get the numbered PDF below.
Why it runs in your browser
The work is done locally with JavaScript: pdf-lib is loaded on demand and rewrites the page tree in the tab, and the two rasterising pages draw each page on a canvas. That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.
What to Expect
Best for
- Converting PDF file to numbered PDF when the data is already on screen.
What this tool keeps
- That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.
Frequently asked questions
How do I use the add page numbers to a pdf?
Add Page Numbers to a PDF: choose a PDF file from the file picker and press Run, after setting Position (default "bottom-center"), Format ({n} and {total}), default "{n}", Number the first page as (default 1), Font size (pt), default 12, Distance from the edge (pt), default 24 and Pages to number (2-5, odd, all), default "all" to get the numbered PDF below.
Is my input uploaded?
No. The file is read with the browser's File API and processed on this page; the bytes are never posted to a server.
Is there a size limit?
Yes. A page operation accepts up to 25 MB and 200 pages, and the two tools that have to draw every page accept up to 50 pages. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.