Utility

PDF Page Counter

Count the pages in a PDF locally in your browser. Files are read on your device and never uploaded to any server.

Last reviewed by the Radiatus Cloud team

Need this done properly for your business?

Radiatus delivers secure cloud, DevOps & compliance engineering.

Book a free consult

Counting locally

Page count lives in the PDF's internal page tree, on the root pages node. Reading it requires parsing the document structure but not rendering anything, so it is fast even for large files and works entirely in the browser. The file is read from your device and never transmitted, which matters because the documents people most often need to count are contracts, medical records, statements and submissions.

Why counts sometimes disagree

A viewer's page count and a print dialog's page count can differ. A PDF may contain page-level scaling, booklet imposition, or a print setting that places multiple logical pages on one sheet. Some documents also carry an optional page-label structure so displayed numbers run i, ii, iii before 1, 2, 3, meaning the label on the page does not match its index in the file.

Encrypted and damaged files

A PDF encrypted with an owner password can usually still be parsed for structure, since the restriction is on permissions rather than reading. One encrypted with a user password cannot be opened at all without it, and no page count is available. Linearised or incrementally updated PDFs contain multiple cross-reference sections, and a truncated download often keeps the earlier ones, so a damaged file may parse successfully and report a stale count from an earlier revision.

Page count as a document signal

Where page count matters it usually matters precisely: court filings, academic submissions and printing quotes all have hard limits. Verify against the specific requirement rather than assuming, since some rules count only the body and exclude appendices, exhibits or the bibliography.

Counting pages is not reading them

A page count says nothing about whether the pages contain extractable text. A scanned document is a sequence of images and reports its page count perfectly while containing no machine-readable text at all. If you need the words rather than the count, the file needs OCR first.

Related tools

  • User Agent Parser — Parse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
  • QR Code Generator — Generate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
  • Credit Card Validator — Validate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.
  • Text Case Converter — Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and sentence case. Runs entirely in your browser.

Frequently Asked Questions

Is my PDF uploaded to count its pages?

No. The file is parsed in your browser and never leaves your device. This matters because documents needing a page count are typically contracts, medical records or legal submissions.

Why does the count differ from my print dialog?

Print settings can place multiple logical pages on one sheet, and some documents use booklet imposition or page scaling. Optional page labels can also make displayed numbers differ from the actual index in the file.

Can it count pages in an encrypted PDF?

If the file uses only an owner password restricting permissions, usually yes, because the content is still readable. A user password prevents opening the document at all, so no count is possible without it.

Why does a damaged PDF still report a count?

PDFs can contain multiple cross-reference sections from incremental updates. A truncated download may retain an earlier section and parse successfully, reporting a stale count from a previous revision of the document.

Does a page count tell me if the PDF has text?

No. A scanned document is a series of images and reports its page count perfectly while containing no machine-readable text. Extracting words from a scan requires OCR first.

Privacy & Security

Processed locally in your browser. Files are not uploaded.

Data: None
Client-side-Side
Active
v1.0

How to Use

Upload a PDF file to count its pages.

Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.