PDF Page Counter

Runs in browser PDF Analysis & Repair

Drop a whole batch of PDFs and get pages per file, the page sizes used, file sizes and a grand total — the numbers a print quote, a translation estimate or a filing check needs — plus a CSV export.

Privacy: Processed locally in your browser. Your file is not uploaded.
Loading tool…

What is inside a PDF file, and what does repairing one do?

A PDF is a header naming its version, a body of numbered objects (pages, fonts, images, streams), a cross-reference table that records where each object starts, and a trailer pointing at the catalogue and the metadata. Metadata lives in the Info dictionary (title, author, dates, producer) and, since PDF 1.4, in an XMP stream; fonts are embedded whole, subsetted or only referenced by name. A viewer that cannot find an object walks the file to rebuild the cross-reference table — repair does the same and writes the rebuilt table, which fixes most "damaged file" errors without touching the pages.

How to use PDF Page Counter

  1. Drop all the PDFs.
  2. Click "Count pages".
  3. Read the totals; download the CSV if needed.

PDF Page Counter features

  • Batch counting of many files
  • Page sizes per file (A4 × 12; A3 × 1)
  • File sizes and grand totals
  • CSV export of the table
  • Fast: only the page tree is read
  • Local processing

PDF Page Counter example

Print quote for a batch

Input:

14 PDFs

Output:

"312 pages in 14 files" — table with pages, sizes and page formats, CSV download

Frequently asked questions about PDF Page Counter

How many files can I count at once?

As many as fit in your device’s memory budget (250 MB together on desktop); each file is opened only to read its page tree, so it is fast.

Does the CSV include page sizes?

Yes: file name, page count, size in bytes and the page sizes found (for example "A4 portrait × 12; A3 landscape × 1").

Why is my scanned PDF showing 1 page?

Some scanners create one page per sheet side; others put every image on a single long page. The count reflects the file’s actual pages.

Is my PDF uploaded to a server?

No. The file is opened and processed by your browser with WebAssembly and JavaScript; nothing is sent to Mutqan Soft or anyone else. Close the tab and the file is gone. Downloading the result needs a free account — no subscription, no payment.

Can I use it on a password-protected PDF?

Yes, if you know the password: the file list asks for it once and every operation then works on the decrypted pages. The output is saved without a password unless you protect it again.

Technical notes

Each file is opened by pdf-lib and its page tree walked; MediaBox and /Rotate give the visual size which is matched against named paper sizes within 2 pt. Encrypted files are counted after you enter the password.

References