About this tool

Add Page X of Y to PDF

Number every page as "Page 1 of 10", so readers can tell at a glance that nothing is missing. The total is worked out for you, even when you skip the cover. Change the wording, font and position freely. Free, and the PDF stays on your device.

  • Opens with Page {n} of {total}
  • Total counted for you
  • Your own wording, any language
  • Your PDF stays on your device

TL,DR: To add "Page X of Y" to a PDF, add the file above (the format is already set to Page {n} of {total}), choose the position and any pages to skip, check the preview, then press Add page numbers and Download PDF. Nothing is uploaded.

Price
Free, no account
Upload
None, runs in your browser
Formats
1, Page 1, Page 1 of 12, your own text
Styles
1 2 3, i ii iii, I II III, a b c, 000001
Files
Any number, numbered alone or as one set

Last updated

What does "Page X of Y" add?

Each page shows its own number and the total, like Page 3 of 12. Offices, banks and courts often ask for it, because a missing page is obvious straight away.

In the text, {n} is the page's number and {total} is the last number used, so when you skip a cover the total counts only the numbered pages. If you want the file's full page count whatever is skipped, use {pages} instead.

How to add "Page X of Y" to a PDF

  1. Add the PDF

    Drop it on the box or tap Select PDF files. Add several if they need numbers too.

  2. Choose the format

    Pick 1, Page 1, Page 1 of 12 or another format, or type your own text with {n} where the number goes. Choose 1 2 3, roman numerals or letters, and the first number.

  3. Place it

    Choose one of nine spots, the distance from the edge and which pages get a number. Skip the cover if it shouldn't have one. The preview shows your real page as you change things.

  4. Download

    Press Add page numbers, then Download PDF. Several files come as one ZIP, or one by one.

What else can you change?

  • Nothing is uploaded

    The numbers are added inside your browser tab, so a thesis, a contract or a court bundle never sits on someone else's server.

  • A preview of your real pages

    You see the actual page with the number on it, not a grey box, and can step through the file to check pages with photos, tables or a dark footer.

  • Any format you need

    Choose 1, Page 1, Page 1 of 12, 1 / 12 or - 1 -, or write your own, like "Annexure A, page {n}". Numbers can be 1 2 3, i ii iii, I II III, a b c or zero-padded like 000123.

  • Skip the cover and start anywhere

    Leave the first or last pages without a number, number only odd, even or chosen pages, and start at any number, including 0.

  • Book layout

    With facing pages on, the number sits on the outer edge: right on right-hand pages, left on left-hand pages, with or without a separate cover.

  • The viewer agrees with the page

    The PDF's page labels are set to the same numbers, so typing 5 in the viewer's page box goes to the page printed 5, not the fifth sheet.

  • Several PDFs as one set

    Number each file on its own, or carry on from one PDF to the next, which is how exhibits and Bates ranges are numbered.

  • Readable on any page

    Pick the font, size, colour and opacity, and add a white box behind the number for scans, photos and dark footers.

When do PDFs need page numbers?

  • Theses and project reports

    Universities usually want roman numerals for the front pages and 1, 2, 3 from the first chapter. Number the front pages in one go (i, ii…), then the chapters starting at 1.

  • Scanned documents

    A stack of scans has no numbers at all. Add them before you send the file, so people can say which page they mean.

  • Legal bundles and exhibits

    Bates numbers give every page in a case set its own ID, like DOC-000214, continuing across all the files.

  • Merged PDFs

    After merging several PDFs, the old numbers restart in each part. New numbers in a corner give the whole file one sequence.

  • Printing a booklet

    Facing pages puts the numbers on the outside edges, where they belong in a printed and bound copy.

  • Forms and applications

    "Page 3 of 7" on every page tells the reader nothing is missing, which offices and banks often ask for.

How to add Page X of Y on any device

On Windows or Mac

Open this page in Chrome, Edge, Firefox or Safari, drop the PDF on the box, choose the format and position, and press Add page numbers. Mac's Preview app can't number pages; this does it without Acrobat.

On iPhone or iPad

Open the page in Safari, tap Select PDF files and pick the file from Files. Tap the settings button to choose the format, then Add page numbers and Share / Save to Files.

On Android

Open the page in Chrome, tap Select PDF files, adjust the settings and tap Add page numbers, then Download PDF.

On a Chromebook or Linux

It runs in any modern browser, so nothing needs installing.

Can I change the wording?

Yes. Edit the text box: {n} is replaced by the number and {total} by the total. Some examples:

  • {n} of {total} gives 3 of 12.
  • {n} / {total} gives 3 / 12.
  • Sheet {n} of {total} gives Sheet 3 of 12.
  • पृष्ठ {n} / {total} gives the same in Hindi.

Why does the PDF viewer show a different page number?

A PDF viewer counts sheets: the cover is 1, the next page is 2, and so on, whatever is printed on them. A PDF can also carry page labels, which tell the viewer to show i, ii, 1, 2 instead.

This tool sets those labels to the numbers it prints, so the page box, the thumbnails and Go to page all use the same numbers as the page. Pages before the first number are labelled i, ii, iii, like the front of a book, and unnumbered pages after the last number carry on in that style, so no page gets a number it doesn't show. When the numbers can't follow the page order (odd pages only, say), the labels are left as they were.

How does it compare with other page numbering tools?

ComparedDevBrainiacTypical online tool
Where the PDF goesStays on your deviceUploaded to a server
Free limitNoneOften 2 files or a few tasks an hour
PreviewYour real pagesA sketch, or none
Number styles1, i, I, a, A, zero-paddedUsually 1 and maybe I
Skip pagesFirst, last, odd, even, any rangeOften a from-to range
Book (facing) pagesYes, with or without a coverRarely
Viewer page labelsSet to matchNot changed
Numbering across filesYesUsually a paid Bates feature

Frequently asked questions

Does the total include pages without a number?

{total} is the last number printed, so skipped pages aren't included unless Count the skipped pages is on. For the file's full page count, use {pages}.

Can I put Page X of Y at the top of the page?

Yes. Pick any of the top three squares under Where it goes.

Is my PDF uploaded?

No. The PDF is opened and numbered by your browser, so it never leaves your device. There's no account and no limit on files or pages.

Can I skip the cover page or start numbering from page 3?

Yes. Set Skip first pages to 1 for a cover, or 2 for a cover and a contents page. With Count the skipped pages off, the first numbered page shows your first number; with it on, numbers follow the page's place in the file, so page 3 shows 3.

Can I start at a number other than 1?

Yes. Type any first number, from 0 up. That's handy when a PDF is one chapter of a longer document.

Can I use roman numerals or letters?

Yes. Under Numbers choose i, ii, iii or I, II, III, or a, b, c or A, B, C. Roman numerals work up to 3999; after that the number is written in digits.

How do I number odd and even pages on opposite sides?

Tick Facing pages (book). The number then goes on the outer edge: right on right-hand pages and left on left-hand pages. Untick The first page is a cover on its own if page 1 is a left-hand page.

Will the numbers cover my text?

They're drawn on top of the page at the distance from the edge you choose. If a page has text or a photo right at the edge, move the number to another spot, make the distance bigger, or tick the white box so it stays readable.

Will the PDF lose quality or get bigger?

No. Your pages stay exactly as they were; each number adds a few bytes. Links, bookmarks and form fields are kept.

Can I write the numbers in Hindi or another language?

Yes. Type something like पृष्ठ {n} as the text. Text the standard PDF fonts can't show is drawn with your device's fonts as a small sharp image, so it looks right but can't be selected or searched.

Can I change or remove the numbers later?

The numbers become part of each page, so this tool can't take them off again. Keep your original PDF; to change the style, number the original again.

Can I number a password-protected PDF?

Not yet. Open it with its password, save a copy without protection, number that, and lock it again with Protect PDF if needed.

What happens to a digitally signed PDF?

Any change to a signed PDF breaks the signature, so the numbered file will show it as invalid. Add page numbers before the document is signed.

Built with the open-source pdf-lib, pdf.js and fflate libraries (MIT and Apache-2.0 licences). Numbers in Hindi and other scripts are drawn with your device's own fonts.