PDF MediaBox and CropBox Explained: What Cropping Really Does
A PDF page is not simply a rectangle of a certain size. Each page dictionary can define up to five boundary boxes, and viewers, printers and prepress systems each care about a different one. The boxes are expressed in default user space units, where one unit is one seventy-second of an inch, so a standard letter page is 612 by 792 units. Knowing which box does what turns several mysteries into ordinary behaviour, including pages that print larger than they display and files that seem to shrink and grow depending on which application opened them.
The MediaBox is the only required one: it describes the physical sheet the page is meant to be placed on, and it defines the coordinate space everything else sits in. The CropBox describes the region a viewer should actually display and, by default, print; if it is absent it simply equals the MediaBox. The remaining three exist for production. The BleedBox marks the area including any ink that runs past the trim edge, the TrimBox marks the finished page after cutting, and the ArtBox marks the meaningful artwork extent. Different stages of a workflow read different rectangles.
This is why cropping a PDF is usually not deletion. When a tool crops, it typically writes a smaller CropBox, and the drawing operators outside that rectangle are still sitting in the content stream, unchanged and complete. The viewer simply stops showing them. That design has real advantages, because a crop is reversible, instant and lossless, and it never touches the quality of what remains. It also has a consequence people underestimate: cropping away a header, a watermark or a margin note does not remove that information from the file, and anyone who resets the box can see it again.
The same separation explains inconsistent behaviour between applications. A viewer that honours the CropBox shows you a tidy page, while a printing path or an older utility that reads the MediaBox may output the full original sheet with the supposedly removed material back in view. Import a cropped PDF into a layout program and you may see the whole thing return. None of these tools is broken; they are answering different questions, one about what to display and another about what sheet to place on the press.
So the practical rule is to match the method to the goal. When you want a cleaner reading experience, tighter margins for a tablet, or a page trimmed for a slide deck, the crop tool on PdfWill adjusts the visible region and is exactly the right instrument, all of it running locally in your browser. When the goal is that the hidden content must genuinely cease to exist, a box change is not enough. Convert the pages with PDF to Image and rebuild them using Image to PDF, and the discarded pixels are gone because the page has been redrawn rather than reframed.