Add Page Numbers to a PDF

Stamp Bates-style page numbers onto any PDF — position, format and font your way.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Add clean, professional page numbers to any PDF without uploading it to a website or installing desktop software. This tool opens your PDF in the browser, lets you decide exactly how the numbers should look and where they sit, then writes them straight into the document so the result is a normal PDF you can print, email or merge. It is built for the everyday moments where a numbered document matters: a contract you are about to sign, a court or tribunal bundle, a tender response, a thesis, a board pack or a scanned report that arrived without numbering.

How it works

When you add a file, the tool reads it locally with pdf-lib — a pure-JavaScript PDF library — and counts the pages. As you change the controls, a live preview shows how the first numbered page will read. You choose a position from the six-corner grid, a format string built from the tokens {n}, {total} and {roman}, plus the font, size, colour, side and top/bottom margins, the starting number, and an optional page range with a skip-first-page toggle for cover sheets.

When you click Add page numbers, the tool embeds one of the standard PDF fonts, walks the pages in your chosen range, measures each label so it can align left, centre or right, and draws the text at the correct point. It also reads each page’s rotation and re-maps the coordinates so that the number always reads upright — even on landscape or 90/180/270-degree pages. The new file is offered as a download. Because all of this happens in your browser, the document never touches a server, which is what makes the tool genuinely safe for sensitive material.

Example

Say you have a 24-page signed agreement and need “Page X of Y” in the bottom-right corner, starting after the cover. Drop the PDF in, pick bottom right, choose the preset Page 1 of 10, tick Skip first page, and the preview shows Page 1 of 23. Download, and pages 2 through 24 carry Page 1 of 23Page 23 of 23 while the cover stays clean.

Need lowercase roman numerals for a preface? Set the format to {roman}, restrict the range to the first six pages, and you get i, ii, iii … running independently of the main body.

Everything is calculated on your device — your PDF is never uploaded or stored.

Ad placeholder (rectangle)