Add page numbers to a PDF
Number the pages of a PDF in the corner or centre you choose, as 1, 1 / 10, - 1 - or Page 1 of 10, starting from any number and skipping pages you don’t want numbered.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Page numbers make long documents easier to discuss, print and reference: “see page 14” only works if there is a page 14. This tool adds numbers to a PDF in the position and style you choose (top or bottom; left, centre or right; plain, “1 / 10”, “- 1 -” or “Page 1 of 10”), starting from any number and on all pages or a range.
It runs in your browser with pdf-lib, so the PDF is not uploaded, and links, bookmarks and form fields are kept.
How to use it
- Choose the PDF.
- Choose the position and number format.
- Enter the first number and font size.
- Enter the pages to number (for example 2- to skip a cover page) and run it.
How the calculation works
For each selected page, the label is built from the start number plus the page’s position in the selection, measured in Helvetica at the chosen size and drawn at the chosen corner or centre with a fixed margin, respecting the page’s rotation.
number = first number + position among the selected pagesWorked example
A student’s 18-page thesis PDF has a title page that should not be numbered. With pages set to 2-, first number 1 and format “Page 1 of 17” at bottom centre, the numbering starts on the introduction.
Sample input and result
Choose a file and press Run. The converted file downloads straight from your browser.
Limitations
- One numbering style per run.
- Standard Helvetica font only.
- Password-protected PDFs must be unlocked first.
Last updated:
Frequently asked questions
Can I use Roman numerals?
No; numbers are Arabic numerals.
Will the numbers cover text?
They are placed in the margin; documents with content at the very edge may overlap.
Are links and bookmarks kept?
Yes, the original PDF structure is kept.
Troubleshooting
Numbers appear rotated.
The page has a rotation set; this is accounted for, but report odd files.
The total in “of 10” is wrong.
The total counts only the selected pages.
Nothing happened.
Check the page range syntax, such as 2- or 3-10.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
More PDF tools
Useful next steps
Images to PDF
Combine up to ten images into a PDF, one image per A4 page in file-selection order.
PDF & documentsText to PDF
Create printable PDF pages from Unicode text. Text is rasterized, not selectable or accessibility-tagged; maximum 20 pages.
PDF & documentsPDF merger
Combine PDFs in upload order into one document.
PDF & documents · Server processing