Count PDF pages

Get the page count of one PDF, or the total across a whole batch, without opening them one by one.

or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To count the pages in multiple PDFs, choose them all here and press Inspect. Each file is listed with its page count, first page size in points and file size, followed by a total page count for the batch. The PDFs are read in your browser and never uploaded. Nothing is changed and no file is produced.

How to count pages in multiple PDF files

  1. STEP 1

    Choose your PDFs

    Select one PDF or a whole folder's worth at once. Files are read on your device, not sent anywhere.

  2. STEP 2

    Inspect the files

    Press "Inspect the PDF", or "Inspect" followed by the number of files when you have chosen several.

  3. STEP 3

    Read the counts

    Each file shows its pages, first page size in points and file size. A "Total pages" row sums the batch.

When page counts matter

Page counts drive real decisions: print shops and copy services quote per page, court and tender submissions often cap page numbers, translators and transcribers price by volume, and archive projects need totals for a box of scanned files. Opening fifty PDFs one at a time to read the number in the corner is slow and error-prone.

A PDF records its page count in its own page tree, so it can be read without rendering anything. That makes counting fast even for large files, and it means the count is exact rather than an estimate.

What survives, and what does not

Each file is opened with pdf-lib, which reads the page tree and reports the number of pages. The first page's width and height are given in PDF points, where 72 points make an inch; 595 by 842 is A4 and 612 by 792 is US Letter. When you inspect more than one file, a total row is added. This tool only reads: it writes nothing and offers nothing to download.

What you keep

Your files exactly as they are; nothing is written or changed

An exact page count for every file, plus a total for the batch

The first page's size in points and each file's size on disk

What you lose

Word and character counts are not given here; Extract text from a PDF reports words

Only the first page's size is shown, so mixed page sizes are not listed

There is no exportable report; copy the figures from the result

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Count PDF pages at a glance

InputPDF, any number at once
OutputOn-screen report, no file
ReportsPages, first page size, file size, total pages
Runs onYour device, in the browser
Enginepdf-lib
BatchYes

If something goes wrong

A file will not open

It may be damaged or not really a PDF. Try Repair a broken PDF, then count the repaired copy.

The size shown does not look like A4 or Letter

The size is in points, not millimetres or inches. Divide by 72 for inches or multiply by 0.353 for millimetres; 595 by 842 points is A4.

Count PDF pages questions

How do I count pages in multiple PDF files at once?

Select all the PDFs here in one go and press Inspect. Every file is listed with its page count, and a total row adds them up, without opening any of them in a reader.

Are my PDFs uploaded to count the pages?

No. The page tree of each file is read inside your browser, and nothing is written or sent anywhere. The result appears on screen and the files stay where they are.

Does it count words as well as pages?

No, this tool reports pages, page size and file size. For a word count, run the PDF through Extract text from a PDF, which reports the number of words it extracted.

How do I find the number of pages in a PDF without opening it?

Drop the file onto this page. The count is read from the document structure in a fraction of a second, which is faster than opening a large PDF in a viewer.

How do I see the page count of a PDF on Windows or Mac?

Any PDF viewer shows the count for the file you have open. To count many files at once on either system, without opening each one, use this page in Edge, Chrome, Firefox or Safari.

Does it produce a file or change my PDF?

Neither. It is read-only: the counts are shown on screen, no file is downloaded and your PDFs are not modified in any way, so it is safe to run on originals.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/count-pdf-pages
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy