Add Page Numbers to PDF

Number the pages of one or many PDFs: pick the corner, the format (1, Page 1 of 10, ABC000001), the first page and the start number, with a live preview. Everything runs on your device and the files are never uploaded.

PDF files

No PDF yet

Add one or more PDFs, or use the preview below to try the settings on an example page first.

Settings

Position
Swaps left and right on even pages, so the number always sits on the outer edge when the pages are printed on both sides.
pt
mm
Pages to number
Example: 3-12, 15, 20- (20- means page 20 to the end).
Numbering
The first numbered page gets the start number, so a skipped cover does not use up a number.
Adds a prefix and a zero-padded number such as ACME-000001. Replaces the format above.

Preview

Files
0
Pages
—
Numbered
—
Add a PDF to start

Files are read and changed in your browser. Nothing is uploaded.

The text is added on top of the existing page and the original content is not changed. Numbers cannot be removed afterwards except by using your original file.

How to add page numbers to a PDF

To add page numbers to a PDF, drop the file on the box above, choose where the number should sit and press Download numbered PDF. The preview shows the real page with the number on it, and you can step through the pages to check a landscape page or a scan before you save anything.

  1. Add one PDF or several. The preview starts with an example page so you can try the settings before you pick a file.
  2. Choose a position from the six spots, then the format. Page 1 of 10 is the one most people want for reports, plain 1 suits books and letters.
  3. Set the pages. Tick Skip the first page for a cover, or type a range such as 3-12, 15.
  4. Download. The new file is named after the original with -numbered added, so the original stays as it is.

The page is read and changed in your browser with the open source pdf-lib library. Nothing is uploaded, which is the main difference from most online page-number tools. That matters when the file is a contract, a thesis draft or a set of court papers.

Skip the cover and start at 1

The two usual questions are whether page 2 should show 1 or 2, and whether the cover is counted. The Numbering setting answers both:

SettingPage 1 (cover)Page 2Page 3Last number in a 10-page file
Skip first page, start at the first numbered pagenone129
Skip first page, count every pagenone2310
Skip first page, start number 0none018
No skipping12310

The second row is the better choice when the table of contents or an index refers to the printed PDF page numbers. The first row is what a printed report usually does: the cover has no number and the body starts at 1. In both cases {total} matches the last number, so you never get "Page 10 of 9".

Number formats, Roman numerals and Bates numbers

Besides the built-in formats you can write your own pattern. {n} is the number, {total} is the last number, {file} is the file name and {date} is today's date. A pattern like {file} - page {n} works in the number itself or in the header and footer text.

Double-sided printing and the outer edge

If the pages will be printed on both sides and bound, the number looks best near the outer edge. Tick Mirror for double-sided printing and choose bottom right: odd pages keep it on the right, even pages get it on the left. Centered numbers are not affected. The mirror follows the real page position in the file, so if page 1 is a cover that you skip, page 2 is still a left-hand page.

Odd pages, odd sizes and rotated scans

Margins are measured from the visible edge of each page, so a mix of A4, Letter and landscape sheets gets the number in the same relative spot on each. Scanned documents often store a page rotated by 90 degrees and rely on the viewer to turn it. The number is drawn upright as you see the page, not as it is stored. If a page has a crop box smaller than its full size, the number goes inside the visible area.

Limits to know about

The number is added as new text on top of the page, with a standard font (Helvetica, Times or Courier). Header, footer and pattern text that uses letters those fonts cannot draw, such as Arabic, Chinese or Hindi, is added as a picture instead, so it looks right but cannot be selected or searched. Page numbers are not the same as the page labels shown in some readers, and existing numbers printed on the pages are left alone, so numbering a PDF that already has numbers gives you two sets. Password-protected PDFs have to be unlocked first, and files over 200 MB are refused so the tab does not run out of memory.

Frequently asked questions

How do I add page numbers to a PDF for free?

Drop the PDF on this page, pick a position such as bottom center, and press Download numbered PDF. The numbers are drawn onto each page in your browser, so the file is never uploaded. A 50-page PDF takes a couple of seconds.

How do I start page numbers on page 2 or skip the cover?

Tick Skip the first page. With the default numbering the second page then shows 1, so the cover does not use up a number. If you want page 2 to show 2 instead, switch Numbering to Count every page. To skip more pages, type the pages you do want numbered, for example 4-, which means page 4 to the end.

Can I number pages as Page 1 of 10?

Yes. Choose the Page 1 of 10 format, or Custom pattern and type Page {n} of {total}. {total} is the last number, so with a cover skipped and a 10-page file the last body page reads Page 9 of 9. Roman numerals (i, ii, iii) work in the same patterns, which suits a preface.

What is Bates numbering and can this tool do it?

Bates numbering stamps every page with a prefix and a fixed-length number, such as ACME-000001, so each page of a case file can be cited exactly. Turn on Bates numbering, type the prefix, choose the number of digits and the start number. With several files, tick Keep counting from one file to the next and the numbers run on across the whole set.

How do I put page numbers on the outside edge for double-sided printing?

Tick Mirror for double-sided printing and pick a right-hand position. Odd pages get the number at the bottom right, even pages at the bottom left, so the number is always near the outer edge when the sheet is printed on both sides and bound on the left.

Will it work on landscape, rotated or mixed-size pages?

Yes. The margin is measured from the edge of each page as it is displayed, so A4, Letter and landscape pages each get the number in the right place. Pages stored with a rotation setting, which is common in scans, get the number upright and at the correct corner. The preview shows any page you choose.

Can I add page numbers to several PDFs at once?

Yes. Add as many PDFs as you like, up to 60 at once. Each file is numbered with the same settings and you can download them one by one or as a single .zip file. The preview has a file picker so you can check each one.

Does it change my original PDF or reduce the quality?

The original file on your device is not touched, you download a new copy. The numbers are added as text on top of each page, and the existing text, images and links stay as they were. The new copy is usually a little larger than the original. Page numbers added this way are part of the page, so keep your original if you may need to remove them later.