All tools

PDF Page Dimension & Orientation Lister

Data

List each page's width, height, rotation, and orientation directly from a PDF's page tree, and flag common paper sizes like Letter or A4

Drop in a PDF and see every page's width and height in both points and inches, its rotation, whether it reads as portrait or landscape, and whether it matches a common paper size like Letter, Legal, or A4. It walks the document's actual page tree (the Root, Pages, and Kids structure a PDF viewer follows) rather than just counting objects, so a page that inherits its size from a parent node instead of setting its own MediaBox is still reported correctly. This is useful for catching a mixed-size scan before it goes to print, or for scripting a check that every page in a batch of generated PDFs came out the expected size. It only reads page geometry, never the actual content stream, so it stays fast even on very large documents and works on files with unusual per-page rotations that a naive metadata reader would report as if they were unrotated.

pdfdimensionsorientationpage-sizedocument

How to use PDF Page Dimension & Orientation Lister

  • 1.Drop a PDF file (or click to browse) to list every page's width, height, rotation, and orientation.
  • 2.Check the Paper column to spot pages that don't match the rest of a document, like a stray Legal-size page in an otherwise all-Letter report.
  • 3.Use the REST API or an SDK to batch-check page dimensions across many PDFs, e.g. to validate a print-ready export pipeline.

Frequently asked questions

Does this render or extract the actual page content?
No, it only reads each page's MediaBox and Rotate entries from the page tree: it never decodes text, images, or any other page content.
What if a page doesn't set its own size?
PDF pages can inherit /MediaBox and /Rotate from an ancestor Pages node instead of setting their own, and this tool walks the tree to resolve that inheritance the same way a real PDF viewer does.
Why does a rotated page show swapped width and height?
A page rotated 90 or 270 degrees renders sideways, so the reported width and height are swapped to match what you'd actually see on screen, matching the MediaBox rotated by its /Rotate value.
Is my PDF uploaded to a server?
In the browser tool, no: the file is read and parsed entirely client-side. The REST API and SDKs do process the bytes you send them, same as any other API call.

Use via API, SDK, or MCP

cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/pdf-page-dimensions \
  -H "Authorization: Bearer utx_live_..." \
  -F "file=@report.pdf"

Get an API key from your dashboard · Full API docs →