PDF Page Count

Drop any PDF to instantly see its page count, file size, every distinct page size inside, and the embedded document title.

Your PDF is parsed locally with pdf-lib and never leaves your device.

Drop a PDF here or click to browse — one file at a time

How It Works

Dropping a PDF hands the file's bytes to the open-source pdf-lib library, which parses the document structure right here in your browser. The page count, page dimensions and the embedded title are then read straight from the parsed object — no rendering engine, no server.

Counting the page tree, not the pixels
A PDF stores its pages as an ordered tree of page objects; the count is just a traversal of that tree. That is why the result appears almost instantly even for large documents — nothing is laid out, drawn or converted.
Sizes in PostScript points
Page dimensions are reported in points, PDF's native unit (72 pt = 1 inch). 612 × 792 pt is US Letter and 595 × 842 pt is A4; when the long edge lies horizontally the tool labels the match as landscape. Identical sizes are grouped so you see "3 pages 612 × 792 pt" style rows instead of a 200-line list.
What the quick read reveals
Beyond geometry, the document's Info dictionary usually carries a title, an author and the producer software that wrote the file. This tool surfaces the embedded title when one exists — to inspect or edit the full set of fields, use the PDF metadata editor.

Frequently Asked Questions

Can I count the pages of several PDFs at once?

No — this tool takes one PDF at a time, but it is fast: load a file, read the result, then click the drop area again for the next document. Batch tools that tally many files at once exist, but they usually mean uploading a folder somewhere, which this site deliberately avoids.

Can it read damaged or incomplete PDFs?

Only intact ones. The page count comes from the PDF's page tree, so the file has to parse correctly. A truncated download or a corrupted cross-reference table produces a clear error message instead of a guessed number. Password-protected PDFs are detected and reported honestly rather than bypassed.

Why would page sizes differ within one PDF?

Common with scanned or merged documents: every page carries its own dimensions, so one file can mix A4 pages, US Letter pages and an odd-size insert. The unique-sizes list shows exactly what is inside — useful before duplex printing or sending a file to a service that expects a single paper size.

How long does counting take?

A few seconds at most for typical documents. The whole file is read into memory, but only its structure is inspected — nothing is laid out or rendered — so even a few-hundred-page text PDF is effectively instant. Very large scans depend on your device's memory, not on any server.

Is anything uploaded to a server?

No. The page tree is read with pdf-lib inside your browser tab. There is no upload step, no account, and no network request that contains your file.