Count the pages in one PDF or a whole batch at once

Drop one or more PDFs and press Count pages to see how many pages each file has, the total across all files, and the size of each first page.

Live demo · real result from this tool

Drop PDFs here

or paste with Ctrl+V · nothing is uploaded

Your result appears here — processed on your device.

Processed on your device — nothing is uploaded.

How to use the PDF page counter

  1. Drop your PDFs onto the box or press Choose files. Use the ↑ and ↓ buttons to change their order, or ✕ to remove one.
  2. Press Count pages.
  3. With one file you see its page count and first page size. With several you also get a table and the total.
  4. Download the table as a CSV if you need to keep a record.

What it does and when to use it

Print shops, binderies and copy centres often charge per page, so the page count is the first thing to check before you send a job. Students need it to stay within a page limit, and offices use it to check that a scanned batch is complete — a 24-page contract that counts as 23 has a missing page.

The batch mode saves opening ten files one by one. Drop the folder’s PDFs in together and the total is ready to quote. If the total is too high for a printer, the 2-up tool puts two pages on each sheet.

How it works

The tool uses pdf-lib to open each file on your device and read the page tree, the part of a PDF that lists its pages. It does not draw the pages, so even long files are counted quickly. For the size column it reads the first page’s visible area in points (1/72 inch), allows for rotation, and compares it with A4, US Letter, US Legal, A3 and A5. Files are handled one after another and a progress bar shows how far it has got. Nothing is uploaded.

Worked examples

One file. A 24-page bank statement exported from online banking gives Pages: 24 and Page size: A4 portrait.

A batch of three. A 12-page A4 report, a 3-page US Letter letter and a 5-page slide handout saved as landscape A4 give Total pages: 20 and Files: 3, and this table:

File Pages First page size
report.pdf 12 A4 portrait
letter.pdf 3 US Letter portrait
slides.pdf 5 A4 landscape

Limits and tips

  • Only the first page’s size is shown. A file can mix sizes; the page resizer puts every page on one size.
  • A PDF that needs a password to open cannot be counted until you remove the password with Unlock PDF, using the password you already have.
  • The count is pages in the file, not printed sides. A 9-page file printed double-sided uses 5 sheets.
  • To jump to a page and look at it, open the file in the PDF viewer.

Frequently asked questions

Can I count pages in many PDFs at once?
Yes. Add as many PDFs as you like. The result shows the total page count and a table with one row per file, which you can download as page-counts.csv.
What does the page size column mean?
It is the size of each file's first page. Standard sizes are named, such as A4 portrait or US Letter landscape, when they match within 2 points. Anything else is shown in millimetres, for example 216 × 330 mm.
What happens if one file is damaged or password-protected?
That file gets a row with a dash instead of a page count and the reason in the size column. The other files are still counted, and the dash is not added to the total.
Are blank pages counted?
Yes. The counter reads the number of pages stored in the PDF, so blank pages, covers and back pages all count. To remove blank pages first, use the PDF page deleter.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close