A PDF page counter is a small browser tool that opens one PDF on your device and reports exactly how many pages that document contains, using the page count stored in the PDF's own document structure rather than file size or thumbnail guesses. The Lizely PDF Page Counter reads PDFs up to 25 MiB entirely inside the current browser tab, so the file never leaves your computer, and alongside the total it groups pages that share the same width and height in PDF points. That grouping turns a plain number into a useful size inventory: a two-page cover at one size, twelve inner pages at another, and one foldout at a third all show up as separate rows with their own counts. It is a beginner-friendly first step before you decide to split, delete, reorder, or print a file, because it tells you what is actually inside the document before you touch a single page.
If you have just downloaded a long PDF, inherited a multi-section report from a colleague, or been handed a deck-style document with a cover and an appendix, you usually want three things in order: confirm how many pages are in the file, spot any pages that are a different size, and then decide what to do next. The page counter answers the first two questions in a single pass and leaves the third question to a more specific tool.

What the tool actually counts
A PDF is more than a stack of pages. Underneath the visible content is a document structure that lists every page as a separate object, and the page counter reads that list directly. The number it shows is the structural page count, which is the same number a PDF viewer uses to navigate and the same number a print driver would consume if every page produced exactly one sheet.
This distinction matters for two reasons. First, it does not match the printed sheet count when duplex, N-up, or booklet settings are applied, because those choices happen at print time and change how many sheets you use, not how many pages the file contains. Second, it does not match visible page-number labels on the page. A book can have Roman-numeral front matter, a body that starts at page 1, and an appendix that starts at page 100, yet the structural count still reflects every page in the file. If you have ever wondered why a "32-page" PDF reports 40, the labels and the structure are simply describing different things, and the counter is reporting the structure.
For a beginner, the practical takeaway is that the number is reliable for upload checks, split plans, print estimates, and document QA, but it is not a guess based on file size, a thumbnail render, or a printed sheet count.
How to count pages with the PDF Page Counter
- Open PDF Page Counter in your browser tab.
- Choose a non-empty PDF from your device that is no larger than 25 MiB.
- Wait a moment while your browser reads the page tree of the file — no upload happens.
- Read the total page count shown for the named current file.
- Review the grouped page-box dimensions below the total to see how many pages share each width and height in points.
- Pick a different file if you want to count another document; the previous result clears before the new one appears.
You can repeat this as many times as you like. The counter never writes back to your file, so the original bytes stay exactly the way they were on disk, and there is no account, signup, or download step in the middle of the workflow.
Why pages get grouped by size
The second part of the result is just as useful as the page count, and beginners often miss it on a first look. Every PDF page carries a page box that defines its width and height in PDF points, and the counter reads that box for each page. Pages with identical display dimensions — same width, same height, rounded to at most two decimal places — are collected into one row, in the order they first appear in the document.
This is what turns a mixed-size PDF into something you can scan at a glance. A report that opens with a wide cover, runs twelve standard inner pages, and finishes with a single landscape foldout will show three rows: the cover size with a count of one, the standard size with a count of twelve, and the landscape foldout with a count of one. You instantly know the document is not uniform and you know exactly which pages are different. Mixed-size PDFs are handled without assuming the first page represents all later pages, which helps you spot a cover with a different box, a scanned insert, a foldout, or an accidental page-size change.
Two practical notes. First, the values are PDF points — the file's own geometry — not pixels and not inches on a monitor. A large point size can still hold a low-resolution scan, and a small page can hold crisp vector art, so treat the size inventory as document geometry rather than a quality score. Second, the counter does not label the boxes as A4, Letter, or any other paper standard, because that would require choosing an orientation and a tolerance; it simply reports the dimensions present in the file. If you want to look up what those dimensions mean in real-world paper sizes, the Paper Sizes Chart can translate points into familiar names.
Errors you'll see and what they mean
The counter fails loudly rather than guessing, which is helpful for beginners who want a clear answer. The table below lists the input conditions that produce a visible error instead of a count.
| Input condition | What happens |
|---|---|
| Empty file | Visible error, no count displayed |
| File larger than 25 MiB | Visible error, no count displayed |
| Non-PDF file selected | Visible error, no count displayed |
| Encrypted or password-protected PDF | Visible error; password protection is not bypassed |
| Damaged cross-reference data | Visible error, no count displayed |
| Unsupported PDF structure | Visible error, no count displayed |
If you hit any of these, the fix is on your end: choose a different file, shrink the PDF below 25 MiB, or supply the password to a viewer first and re-export an unprotected copy. The counter itself cannot repair, decrypt, or convert the file, and there is no estimation fallback when the page tree cannot be read.
What the counter does not do
A clear scope boundary helps you decide when this is the right tool and when it is not. The page counter is strictly read-only. It does not add metadata, repair the PDF, save a new copy, extract text, render thumbnails, count annotations, detect blank pages, count physical duplex sheets, or infer any printing cost. Rotation metadata is read as-is and is not rewritten or normalized, so a rotated page still reports its original page-box width and height even though a viewer presents it sideways.
The result lives only in the current tab. There is no download because the source is not changed, and the displayed numbers disappear as soon as you pick a different file or close the tab. A job identifier prevents an older slow read from replacing a newer selection, so the displayed count always belongs to the named current file. If you need any of the things on the "not do" list, that is a different task and a different tool.
When to reach for a different tool
The counter is the right first stop when the only thing you need is the structural page count and a quick size inventory. Once you know what is inside the file, you can move on with confidence. If you want to split a long document into smaller files, the Split PDF tool can break it by page count or custom ranges. If you want to remove a few pages, Delete PDF Pages creates a trimmed copy. If you want to put visible numbers on every page after you have confirmed the total, the beginner walkthrough for adding page numbers to a PDF walks through corner placement, format, and starting number.
For mixed-size files where every page needs to match, Resize PDF standardizes the geometry, and Rotate PDF reorients pages that came in sideways. The page counter stays the quick private inspection step that does not touch the original bytes, and each of these other tools takes over from there once you know what you are working with.
For a deeper look, see PDF to Long Image for Beginners: A Simple Walkthrough.