PDF Info
Inspect a PDF: exact page count, every page size named (A4, Letter and more) in millimetres, inches and points, PDF version, title, author, dates, encryption, form fields, tagging and attachments. Runs in your browser; nothing is uploaded.
How to Use
- Drop a PDF on the box or click to browse. A built-in sample is shown first; the presets switch between sample documents and units.
- Read the four readouts: page count, the most common page size, the PDF version and whether the file is encrypted.
- Choose millimetres, inches or points for the sizes. If pages differ in size or are turned, a table lists every page.
- Check the report for title, author, creator, producer, dates, form fields, tagging and attachments, and Show Work for how each size was converted and named.
| Page | Name | Size | Turned |
|---|
Worked Example
Naming an A4 page. A page’s MediaBox reads 0 0 595.28 841.89, so it is 595.28 × 841.89 points. A point is 1/72 inch: 595.28 ÷ 72 = 8.268 in and 841.89 ÷ 72 = 11.693 in. Times 25.4 mm per inch that is 210.0 × 297.0 mm, which matches A4 to within a hundredth of a millimetre, so the page is reported as A4.
A page that is turned. A scanned page stored as the same 595.28 × 841.89 pt with /Rotate 90 displays on its side, 841.89 pt wide and 595.28 pt tall, so it is reported as A4 landscape, 297 × 210 mm, and the per-page table shows 90° against it. US Letter, by contrast, is exactly 612 × 792 pt: 8.5 × 11 in, or 215.9 × 279.4 mm.
The common mistake: counting pages by searching the file text. Counting every /Type /Page in the raw bytes over-counts a file that was edited, because incremental saves leave the old page objects in place, and under-counts one whose objects are packed into compressed object streams. Reading the page tree’s /Count, as this tool does, gives the number of pages a viewer actually shows.
Show Work
Formulas
What a PDF Says About Itself
Every PDF starts with a header line such as %PDF-1.7 and ends with a trailer that points to the document catalog, the optional information dictionary (title, author, subject, keywords, creator, producer, creation and modification dates) and, for an encrypted file, the /Encrypt dictionary. The catalog leads to the page tree, whose root /Count is the number of pages. Each page has a /MediaBox in units of 1/72 inch; the standard recommends sizes from 3 × 3 to 14,400 × 14,400 units, which is about 0.04 to 200 inches a side.
Adobe published PDF 1.0 in 1993 and released the specification free of charge. It became an open ISO standard in July 2008 as ISO 32000-1:2008 (PDF 1.7), and PDF 2.0 followed as ISO 32000-2 in 2017, revised in 2020. The standard security handler encrypts with two passwords: a user password needed to open the file, and an owner password that guards permissions such as printing and copying. A file with only an owner password opens for everyone.
About This Tool
This tool reports a PDF’s exact page count, every page size named and converted to millimetres, inches and points, the PDF version from both the header and the catalog, the metadata, encryption, form fields, tagging, XMP and attachments, and flags truncated files and junk before the header. Settings can go in the page address, for example ?units=in.
It reads the file through the site’s PDF engine: pdf-lib for the structure and pdf.js as a second reader for damaged files and encrypted metadata. Everything happens in your browser, and the file is never changed or uploaded.
Related tools: PDF Workbench, Metadata Scrubber, and File Inspector.
Frequently Asked Questions
How accurate is the page count?
Exact. The file is opened with a full PDF parser and the pages are counted from the page tree, the same structure a viewer uses, so compressed object streams, incremental updates and leftover deleted pages do not throw it off. If the parser cannot open a damaged file, a second reader (pdf.js) is tried, and the report says which one was used.
How are page sizes named?
Each page’s size in points (1/72 inch) is compared with standard sizes from A0 to A6, B4, B5, Letter, Legal, Tabloid, Executive, Statement, ANSI C and the US business card, allowing 3 points either way and either orientation. A page turned 90° or 270° is measured the way it displays. Anything else is shown as Custom with its exact size.
Why do the header and the catalog give different versions?
The first line of a PDF names a version, such as %PDF-1.4. A program that later adds newer features can leave that line alone and write a /Version entry in the document catalog instead; when the catalog’s version is newer it is the one that counts. The report shows both when they differ.
What if the PDF is encrypted?
Many encrypted PDFs only restrict printing or copying and open without a password. For those, the page count, sizes and metadata are all read, decrypting the metadata on the way. If a PDF needs a password to open, the report says it is encrypted and shows what can be read without the key; it never asks for or tries to guess a password.
Is my PDF uploaded?
No. The file is read by JavaScript in this tab, so contracts, medical records and other private documents can be checked without sending them anywhere. The tool only reads; it never changes the file.
How do I use the PDF Info?
Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Check a print job
Confirm all 48 pages of a brochure are A4 portrait, 210 × 297 mm, before sending it to a print shop.
Find the odd page out
A 30-page merged file prints badly: the table shows page 17 is US Letter, 215.9 × 279.4 mm, among A4 pages.
Count pages for a submission
A portal limits uploads to 20 pages: see the exact count from the page tree before you submit.
See who made a file
Creator and producer show the program behind a PDF, such as a word processor and its PDF library, with the creation and modification dates.
Last updated: