Add Page Numbers to PDF
Number the pages of a PDF: choose the position, format (1, Page 1, 1 / 10) and starting number, and add header or footer text.
By Syed Mubashir Ali Hashmi · Last updated
How to Use Add Page Numbers to PDF
- 1Drop a PDF into the upload area.
- 2Pick a position on the miniature page: top or bottom, left, centre or right.
- 3Choose a format (1, Page 1, 1 / 10, Page 1 of 10 or - 1 -), or Custom to write your own label with {n} for the number and {p} for the total. Set the number to start from, and Digits to pad with zeros (007).
- 4Set the text size, the distance from the edge, the font (sans, serif or typewriter), the colour and the opacity. Add a background box if the number sits over a photo, or tick 'Facing pages' to mirror corner numbers on left-hand pages for a printed book.
- 5Add a header or footer if you need one, such as a report title or 'Confidential', on the left, in the centre or on the right. {date} puts in today's date and {file} the file name. Untick 'Add page numbers' if you only want the header or footer.
- 6Choose all pages, all but the cover, or a range. Drop several PDFs to number each one on its own and download them as a ZIP.
- 7Check the live preview: a close-up of the number and a view of the whole first numbered page. Then click 'Add page numbers' and download.
Frequently Asked Questions
Can I skip the cover page?
Yes. Choose 'All but the first (cover)'. Numbering then starts on page 2, at the number you choose. For anything else, choose 'Choose pages' and type a range such as '3-20'.
Can I start from a number other than 1?
Yes. Set 'Start at' to any number, which is handy when the PDF is one chapter of a longer document. In the '1 / 10' formats the total counts from your starting number.
Can I add my own text or Bates numbers?
Yes. Choose Custom and type a label such as 'ACME-{n}' or 'Section 2, page {n} of {p}'; {n} becomes the page number and {p} the total. Set Digits to 6 for Bates-style numbers like ACME-000001. The built-in PDF fonts cover English and Western European letters; other scripts can't be written by them, and the tool says so before it runs.
Can I add a header or footer as well as page numbers?
Yes. Type a header, a footer or both, and choose left, centre or right for each: a report title at the top and 'Confidential' bottom left, with the number bottom centre, for example. They use the same font, size and colour as the numbers and go on the same pages, so skipping the cover skips them too. To add only a header or footer, untick 'Add page numbers'. Text too wide for the page is made a little smaller to fit; if two pieces would sit in the same place or run into each other, the tool tells you instead of printing one over the other.
Can I put the date or the file name on every page?
Yes. In a header, a footer or a Custom label, {date} becomes today's date written like 9 Nov 2026, which reads the same way in every country, and {file} becomes the PDF's file name without '.pdf'. With several PDFs, each one gets its own name. {n} and {p} work there too, so a footer can read 'Report.pdf, page 3 of 12'. Like the numbers, the text is written in the built-in PDF fonts, which cover English and Western European letters.
What does 'Facing pages' do?
It's for documents printed double-sided and bound like a book. Odd pages are right-hand pages and even pages are left-hand ones, so with Facing pages on, a number placed bottom right moves to bottom left on even pages and always sits on the outside edge. A centred number stays centred.
Can I number several PDFs at once?
Yes. Drop them in together or add more with '+ Add more PDFs'. Each PDF is numbered separately from your starting number, with the same position and style, and they download as one ZIP.
Can I see where the numbers will go before I download?
Yes. The preview draws the number on the first page that gets one, with the same position, font, size and colour the PDF will have: a close-up so you can read it, and the whole page so you can see where it sits.
Will numbers be in the right place on rotated pages?
Yes. Position is worked out from each page as you see it, so numbers sit at the bottom of a page even if it's stored sideways.
Can I number a password-protected PDF?
Not directly. A password-protected PDF is encrypted, and the tool tells you so instead of producing a broken file. Open it in your PDF viewer with the password, use Print → Save as PDF to make an unprotected copy, and use that.
Is my PDF uploaded?
No. Everything happens in your browser; the file is never uploaded to a server, so it stays on your device.
About Add Page Numbers to PDF
Add Page Numbers puts page numbers on a PDF in a few clicks: for reports, theses, manuals, court bundles and anything printed and stapled. Choose one of six positions, a format or your own label, the starting number, the font and colour, and which pages to number, and check it in the live preview first. Add a header or footer alongside the numbers, such as a title, 'Confidential', today's date or the file name, or add just a header or footer on its own.
Numbers are added as real text in one of the PDF standard fonts (Helvetica, Times or Courier), so they print sharply, stay searchable and add almost nothing to the file size. The tool takes each page's crop box and rotation into account, so numbers land in the same place on every page. Everything runs in your browser with pdf-lib, and nothing is uploaded.