Skip to content
cliplimeClipLime

Add page numbers to a PDF

Pick where the number goes and how it reads, check it on the page, and download the numbered PDF. Your file stays on your device.

Runs on your device, nothing is uploaded

or drop it here, or paste from the clipboard

Pick a PDF, choose where the numbers go and how they read, and check them on the page. Nothing is uploaded.

At a glance

What it does
Writes a number on each page you choose, on one of nine spots, with a margin from the page edge.
Formats
1, Page 1, Page 1 of 12, 1 / 12, - 1 -, roman numerals (i, ii, iii or I, II, III), or your own text with {n} for the number and {N} for the total.
Where to start
Start at any number from 1 to 9999, skip the first pages (a cover), and either count again after them or keep each page's own number.
Which pages
All, odd, even, or a range like 2-5, 8, 10-. Page 1 is the first page as you see it.
Real text
The numbers are text in Helvetica, Times or Courier, bold or not, so they can be selected and searched. Each adds about 200 bytes.
Turned and cropped pages
A page stored sideways or cut to a crop box still gets an upright number at the corner you picked, and pages of different sizes each get their own placement.
Not supported
PDFs with a password or permission settings, and letters outside the Western European alphabets in the text around the number. The file is never uploaded.

How to do it

  1. 1

    Choose a PDF

    Pick the file or drop it on the page. Its first page appears in the preview.

  2. 2

    Place the number

    Click one of the nine spots and choose how the number reads. The preview shows where it lands. Use the arrows under the page to look at other pages, including turned ones.

  3. 3

    Set the rest if you need to

    Start number, pages to skip, which pages get a number, font, size, colour and margin. The defaults put a plain number at the bottom centre.

  4. 4

    Add the numbers and download

    Press Add page numbers. The new file is opened again to check that each number is on its page, then you can download it.

How the numbers are placed

A PDF page has more than one size. The MediaBox is the full sheet, an optional CropBox is the part a viewer shows, and a page can be stored sideways with a rotation that viewers undo. A number placed by the file's own coordinates would land in the wrong corner of such a page, or sideways. This tool works out the corner on the page as a reader sees it: it takes the visible area, applies the rotation, places the number there, and turns it back into the page's own coordinates, so the number reads upright whatever the page is.

The margin is the distance from the page edge to the nearest edge of the number's text. Every page is measured on its own, so a file that mixes sizes gets the number at the same distance from the edge on each page. For double sided printing, Mirror on even pages puts the number on the outer edge of every spread: with the number at the bottom right, even pages get it at the bottom left.

The number is drawn on top of what is already there. If a page has something in that margin, such as a printed footer or the dark border of a scan, the number lands on it. Choose another spot or a bigger margin. The preview uses the same calculation as the saved file and warns when a number would run off a page.

Formats, roman numerals and covers

The ready made formats are 1, Page 1, Page 1 of 12, 1 / 12 and - 1 - (written with ordinary hyphens). Choose Your own text for something else, such as Seite {n} von {N}. {n} stands for the page's number and {N} for the number of the last page. The standard PDF fonts cover Western European letters, so é, ü, ñ and € work, while Greek, Cyrillic, Arabic, Hebrew and Asian scripts do not. The tool says so instead of writing a wrong character.

Roman numerals exist for 1 to 3999, in lower case (i, ii, iii) or upper case (I, II, III), and they apply to the total too: Page iv of xii. A number above 3999 is written with digits.

To leave a cover without a number, set Skip first to 1. Then choose how to count. Start at 1 gives the first numbered page the start number, so the second page of the file is page 1. Keep real numbers gives every page the number its place gives it, so the second page is page 2. With Page 1 of N, N is the number of the last page in that counting, which is why a 12 page file with a 2 page cover that is counted again says of 10.

Odd, even and ranges always refer to the page numbers you see in a viewer, so odd means pages 1, 3, 5 and so on.

What changes in the file, and what does not

The numbers are real text, not pictures: they can be selected, searched and read aloud. They are marked as a header or footer of the page (a pagination artifact), as word processors mark them, so screen readers skip them and a tagged PDF stays correctly tagged.

Pages, fonts, images, forms, links, bookmarks and the document information are copied as they are. What changes is how the file is written. The PDF library writes the whole file again, so it is saved as PDF 1.7, a "fast web view" arrangement is lost (the file still opens normally), and a digital signature stops being valid, as it does with any edit. The size barely moves: a number adds about 200 bytes a page (measured on test files), and files made by programs that do not pack their objects often come out smaller.

A viewer's own page counter, such as 3 of 12, comes from the file's structure and is not changed by this tool, so it still counts every page, covers included.

Checking the result

After saving, the tool opens the new file again and reads the text of the numbered pages to find each number on its page. On a long file it reads a spread of pages, from the first to the last, and says how many it looked at. This catches a missing number. It cannot tell how the number looks on top of a busy page, which is what the preview is for.

Questions people ask

Are the page numbers real text or a picture?

Real text, written with Helvetica, Times or Courier, so you can select, search and copy them. They are marked as a header or footer, so screen readers skip them.

Can I leave the cover page without a number?

Yes. Set Skip first to the number of pages to leave out, then choose whether the next page starts again at the start number or keeps the number its place in the file gives it.

Can I use roman numerals for the front pages and normal numbers after them?

Yes, in two passes. Number the front pages as a range with roman numerals. Then open the result again, skip those pages and number the rest, starting at 1.

Why is the number in the right place on a sideways or cropped page?

It is placed on the page as a reader sees it, using the visible area and the rotation stored in the file. If the picture on a page is itself turned, with no rotation entry, the page looks sideways and so does its bottom. Turn the page upright first with a rotate tool.

Does it work on PDFs with a password?

No. A PDF with a password or permission settings is encrypted, and ClipLime cannot decrypt files. If you are allowed to, print or export it to a new PDF without protection in a viewer and use that copy.

Will the file get bigger?

Barely. Each number adds about 200 bytes, and the file is written again in a compact way, so many files end up the same size or smaller. The result card shows the size before and after.

Guides that help

All PDF guides →