PDF TOOLSUtility

PDF Page Counter & Size Inspector

Read-only client-side PDF page counter and dimension inspector for PDF files up to 100 MB. Uses pdf-lib to parse the internal page tree and display Total Pages, File Size with average KB per page, Page 1 physical dimensions in millimeters and inches with orientation (Portrait, Landscape, or Square), and embedded Title, Author, Producer, and Created On attributes.

PDF Page Counter & Size Inspector

Instantly determine the exact page count, dimensions (points, inches, mm), and file size of any PDF file.

Click or drop a PDF file to count pages

Supports any PDF document regardless of size. Local client-side inspection.

Client-Side Processing. The file is read locally using your browser JavaScript engine without server file upload.
Advertisement

How to Use PDF Page Counter & Size Inspector

Click or drop a `.pdf` file (up to 100 MB) into the box to parse its internal page tree in your browser using `pdf-lib` (`doc.getPages().length`). The top banner displays three key cards: Total Pages (with a single-page or multi-page label), File Size (with the calculated average KB per page), and Page 1 Dimensions (converted from internal 72-points-per-inch PostScript units into millimeters `mm`, inches `in`, and `Portrait`, `Landscape`, or `Square` orientation). Below, the Document Details table displays the File Name along with any embedded PDF Title, Author, Producer / Software, and Created On date. Note: this tool is a read-only inspector and does not edit or modify PDF files.

  1. 1

    Select or Drop a PDF File (Up to 100 MB)

    Click or drop a single `.pdf` document into the page counter dropzone.

  2. 2

    Read Total Pages & Average KB per Page

    View the exact Total Pages count and total File Size with average kilobytes per page.

  3. 3

    Check Page 1 Dimensions (mm & Inches)

    Inspect Page 1 physical width and height in millimeters (`mm`), inches (`in`), and orientation.

  4. 4

    Review Document Details or Check Another File

    Read File Name, PDF Title, Author, Producer, and Created On date, or click Check another file.

Worked Input & Output Example

How Page Count & Physical Sheet Dimensions Are Detected from a PDF

pdf-lib reads the document page tree (`doc.getPages().length`) and converts Page 1 PostScript points at `72 pt = 1 inch = 25.4 mm`.

1. Selected PDF File
thesis-final.pdf (3.60 MB)

Loaded locally in browser memory via pdf-lib without server upload.

2. Page Tree & Size Parse

Counts 120 Page nodes · Reads Page 1 size (612 × 792 pt ÷ 72 = 8.5 × 11 in = 216 × 279 mm).

Client-side calculation
3. 3-Card Metric Summary
120 Total Pages · 3.60 MB (30.7 KB/page)

Page 1 Dimensions: 216 × 279 mm · Portrait (8.5 × 11 in) + Document Details table.

Total Pages CardExact Page CountVia pdf-lib getPages()
File Size CardSize & KB / PageTotal bytes ÷ pageCount
Page 1 Dimensionsmm & InchesPlus Portrait/Landscape
Document DetailsTitle, Author, DatePlus Producer & File Name

Related Free Tools

Explore more browser-based tools in PDF Tools or browse the complete All Tools Directory.