Skip to content
Jellykit

PDF Page Dimensions

List every page’s size in points, millimetres and inches, its paper name, rotation, and its media, crop, bleed and trim boxes.

  • Runs on your device
  • Works in the background
Loading tool

About PDF Page Dimensions

Before a PDF goes to a printer, into an imposition tool or onto a slide, it helps to know exactly what size each page is, and whether a stray landscape page or a US Letter sheet has crept into an A4 document. This tool reads every page and lists its size in points, millimetres and inches, names the standard sheet it matches (A4, Letter, B5, a 16:9 slide…), and shows its orientation and rotation.

For print work it also lists the boxes a PDF can carry: the media box (the sheet), the crop box (what a reader shows), and the bleed and trim boxes a printer uses. Nothing is rendered and nothing is uploaded.

How it works

  1. pdf-lib reads the file’s page tree in a background worker, including values a page inherits from its parents. Page sizes are not encrypted, so encrypted files can usually be read too.
  2. The displayed size is the crop box, clipped to the media box and turned by the page’s rotation, with any user unit applied. A point is 1/72 inch: 72 points make 25.4 mm.
  3. The size is compared with ISO A, B and C sizes, US and ANSI sizes, JIS B sizes, DL envelopes and 16:9 and 4:3 slides. Within 2 mm on both sides it gets that name; within 25 mm the nearest name is given with the difference.

Questions

Why does my A4 page show as 595.28 × 841.89?

PDF measures in points of 1/72 inch. A4 is 210 × 297 mm, which is 595.28 × 841.89 points. The millimetre column converts it back.

What do the media, crop, bleed and trim boxes mean?

The media box is the whole sheet. The crop box is what a reader shows. The trim box is the finished size after cutting, and the bleed box the area printed beyond it. Boxes a page does not set show as “Not set”; they then default to the crop box.

Why are width and height swapped for some pages?

A page can be stored upright and carry a rotation. The pages table shows the size as a reader displays it, after rotation. The boxes table shows the boxes as stored.

How many pages can it list?

The summary covers every page. The tables list the first 1,000. Files up to 300 MB are accepted.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.