ToolJutsu
All tools
PDF Tools

PDF Page Count Viewer

Instantly check how many pages a PDF has.

Processed on your device. We never see your files.

How to use PDF Page Count Viewer

What this tool does

The PDF Page Count Viewer opens a PDF and immediately reports four things: the total number of pages, the file size in human-readable form, the dimensions of the first page in millimetres and points, and whether all pages share the same size. If the PDF carries a document title in its metadata, that is shown too. The whole operation takes less than a second on most files because no pages are rendered — pdf-lib reads only the document structure.

Why you might need it

The need to know how many pages a PDF has comes up more often than you might expect. Print shops quote jobs by page count. Legal billing rules often require a page count before filing. A client who requested a 20-page report needs confirmation that the PDF they received has 20 pages, not 19 or 21. A quality check on a batch of scanned exam papers checks that each file has the expected number of pages before the files are distributed.

Page dimensions matter too. A PDF destined for a printing press needs to be at the right trim size. A document displayed on a digital signage screen needs to match the screen’s aspect ratio. Mixing portrait and landscape pages in a combined PDF can cause layout surprises. Knowing whether a PDF’s pages are all the same size — or whether they vary — tells you whether you need to investigate further before printing or presenting.

The document title is useful for archiving and cataloguing. A PDF whose file name is “scan_2024_03_15.pdf” may have a title of “Q1 Financial Summary” buried in its metadata. That title can be extracted here without opening a full PDF reader.

How to use it

  1. Drop a PDF onto the dropzone, or click to browse for a file.
  2. The tool reads the document and shows results immediately — no button to press.
  3. Read the page count, file size, first-page dimensions, and document title from the quick-facts panel.
  4. If you want to check another file, click Check another PDF to reset the view and drop a new file.

Common pitfalls

The page count shown is the number of pages in the PDF’s page tree — the same number that PDF viewers display in their page counter. Some PDFs have a cover page that is technically stored separately (in certain publishing formats), but this is rare. In practice, the count here will match exactly what Adobe Reader or Preview shows.

Scanned PDFs where every page is an image will still show the correct page count, because the page tree is read regardless of page content. However, page dimensions for scanned PDFs sometimes differ from what you would expect: a scan saved at 200 dpi with a 2550 × 3300 pixel image will measure 914 × 1182 mm if the PDF does not declare a MediaBox at print resolution. If dimensions look unusual, check the scan settings in the originating software.

A PDF that fails to load usually means the file is either corrupt or a non-PDF file with a .pdf extension. Downloaded files that got interrupted mid-transfer sometimes produce this error — try downloading the file again.

Tips and alternatives

Use this tool as a quick preflight check before running any other PDF operation. If the page count is wrong or the dimensions are unexpected, investigate before merging, splitting, or printing. For bulk page-count checks across many PDFs at once, use the PDF Bulk Page Counter tool. For extracting or rearranging specific pages, the PDF Splitter and PDF Page Extractor tools work from the same information this tool surfaces.

Frequently asked questions

Is my PDF uploaded when I check the page count?
No. The file is opened and read entirely within your browser using the pdf-lib JavaScript library. No bytes travel across a network connection. The page count, file size, page dimensions, and document title are all extracted locally. You can verify this by turning off Wi-Fi before dropping in your file — the tool works the same way.
Why does the tool show 'pages vary in size'?
Most PDFs have every page at the same size, but some documents mix sizes — for example, a report where portrait A4 body pages are followed by landscape A3 appendix pages, or a combined PDF assembled from several separate documents. The tool compares the dimensions of each page to the first page and flags any that differ by more than 1 point (about 0.35 mm).
What is a 'document title' and why might it say 'none set'?
PDFs have an optional metadata field called Title, usually set by the application that created the document. Microsoft Word sets it from the document's built-in title property; a browser-printed PDF typically leaves it blank; some scanners write 'Untitled' or the date. If the tool says '(none set)', the PDF simply has no Title metadata — that is normal and does not indicate a problem with the file.
Can this tool read password-protected PDFs?
Yes, with a caveat. The tool uses pdf-lib's ignoreEncryption mode, which reads the page structure of most protected PDFs without needing the password. Page count and dimensions are almost always accessible this way. If the file is encrypted with an algorithm pdf-lib does not support, you will see an error — in that case, use the PDF Password Remover to unlock the file first.
Why would I need to know the page count before doing anything with a PDF?
Many workflows need this information upfront. Billing by page (legal transcription, print shops, scanning services), quality-checking that a delivered PDF matches a purchase order, choosing between page ranges in the PDF Splitter, or simply confirming that a 300-page ebook arrived intact. Having a quick standalone counter avoids opening a full PDF viewer just to look at one number.

Related tools