PDF Page Counter on Windows reads one local PDF of up to 25 MiB and reports its exact structural page count plus its grouped page-box dimensions. The browser-based workflow is straightforward: open the counter, select one file, wait for its page tree to load, and review the total and page-size groups.

That result comes from the PDF’s internal structure rather than its filename, visible page-number labels, or estimated file size. It is useful when checking a document before uploading, printing, splitting, or handing it to someone else, while leaving the original file unchanged.

pdf page counter on windows
PDF Page Counter on Windows: Check Pages and Sizes

What the Windows page total actually represents

The total is the exact length of the document’s structural page array. The implementation reads that structure through the underlying pdf-lib getPageCount API, not by counting thumbnails or estimating from the file’s byte size. A PDF that displays page numbers starting at 12, repeating the same number, or using Roman numerals still has its own structural total.

The page count is not a physical-sheet estimate. If two PDF pages are printed on one sheet, the PDF still contains two pages. Likewise, a printed page number is a label placed on the page; it does not create, remove, or renumber a structural page.

Along with the total, the counter reads the width and height of every page’s current page box. These dimensions are expressed in PDF points, and pages with equal displayed dimensions are grouped together.

Check What the counter reports What it does not report
Total pages Exact number of structural PDF pages A file-size estimate, thumbnail count, or printed duplex-sheet count
Visible page labels No effect on the structural total A corrected or renumbered page sequence
Page geometry Current page-box width and height in points An A4, Letter, pixel-size, or image-quality rating
Source document A read-only inspection A repaired, rotated, normalized, or newly saved PDF

Count a PDF in a Windows browser

Use this workflow on a Windows PC when you need the page total for one document and want to check whether its pages share the same dimensions.

  1. Open the counter in your browser. Go to the PDF Page Counter page in the browser you use on your Windows computer.
  2. Choose one local PDF. In the browser’s file picker, select a single non-empty PDF from a local folder such as Documents or Downloads. The file must be no larger than 25 MiB.
  3. Wait for the page tree to load. The browser reads the document structure before producing a result. Do not treat an unfinished load as an empty document.
  4. Read the total page count. Confirm that the displayed total belongs to the file you selected. The count is taken directly from the document structure and is not rounded.
  5. Review every page-size group. Each row shows a width, a height, and the number of pages with that displayed size. Use these groups to identify a cover, insert, foldout, or page-size change before taking the document further.

The counter handles one document at a time. If you select another PDF, the previous result clears before the new file is processed, so record any total or size information you need before changing the selection. A slow earlier read is prevented from replacing the result for a newer selection.

Read the grouped page sizes correctly

Page geometry is read for every page through the document library’s pdf-lib getSize API. The counter displays dimensions in PDF points and rounds them to at most two decimal places for readability. Grouping is based on those displayed values, so equal displayed sizes are collected together in the order they first appear.

For example, a file with two 612-by-792-point pages and one 400-by-500-point page reports a 612-by-792-point group with 2 pages and a 400-by-500-point group with 1 page. A mixed-size document is not forced to use the first page’s dimensions for every later page.

Rotation metadata can make a page look different in a PDF viewer, but the reported width and height remain the page-box values returned by the document library. The counter does not rewrite rotation, rotate pages, or normalize dimensions. If the visual orientation seems inconsistent with the numbers, the page-box values are still what the tool reports.

The dimensions are also not named paper standards. The tool does not label a group as A4, Letter, Legal, or another format because such a label would require orientation and tolerance decisions. These point values describe document geometry, not pixels, scan resolution, or image quality. A large point size can still contain low-resolution imagery, while a small page can contain vector artwork that scales cleanly.

Check the selection before processing

Confirm the file type and size before expecting a result. The counter validates one bounded PDF and shows a visible error when it cannot read the document.

Selection or document condition Behavior on Windows Next step
Non-empty PDF, 25 MiB or smaller The browser reads the page tree and displays the count and size groups Wait for processing to finish, then review the result
Empty file, non-PDF selection, or file above 25 MiB A visible error is shown Select a valid PDF within the size limit
Encrypted or password-protected PDF A visible error is shown, and password protection is not bypassed Use an authorized, unprotected copy
Damaged cross-reference data or an unsupported PDF A visible error is shown Obtain a structurally valid copy; this counter does not repair files
A different file is selected The previous result clears before processing begins Save any information you need from the old result first

Use the result for the next Windows task

The page total gives you a dependable baseline for upload checks, print estimates, splitting plans, and document quality assurance. It tells you exactly how many pages the PDF structure contains, which is different from counting the labels visible in a reader or estimating how many sheets a printer will use.

The size inventory adds a second check. Multiple groups may reveal a cover with a different page box, a scanned insert, a foldout, or an accidental change between pages. Because the counter leaves the source untouched, it can be used as a quick inspection step before opening the document in a more specialized workflow.

If the next task is to divide the document, use Split PDF to create new files by page count or custom ranges. For two or four source pages on each output sheet, use PDF N-Up. Those tools create new documents, whereas this counter only reports information about the original.

Keep the original file private and unchanged

File loading, page counting, and size grouping happen inside the current browser tab. The PDF is never uploaded to Lizely. The operation is strictly read-only: it does not add metadata, save a modified copy, extract text, render thumbnails, remove annotations, detect blank pages, or infer printing cost.

No download is created because the source document is not changed. The result remains on the page only until another file is selected or the tab closes. Keep that in mind when the count is being used for a submission or print job: record the value separately if you need it after the browser session ends.

Handle errors and surprising totals

If no result appears, check the selection before looking for a different counting method. Empty files, non-PDF files, files above 25 MiB, encrypted documents, damaged cross-reference data, and unsupported PDFs all produce a visible error. The counter does not bypass passwords or repair a damaged document.

If the total differs from the last printed page number, check whether the numbering starts later, repeats, or uses Roman numerals. If the page list looks longer than expected, review the grouped dimensions for mixed-size pages. Neither case changes the structural count reported by the counter.

If you're weighing options, PDF to Long Image on Windows: Browser Export Checklist covers this in detail.