Skip to content
ToolsNow
Guides All tools

PDF crop boxes explained: media, crop, trim and bleed

A PDF page has up to five nested boxes defining what exists, what is displayed and what gets printed. Why cropping hides content rather than deleting it.

Published

Cropping a PDF does not remove anything. That single fact explains most of what confuses people about PDF cropping — why the file does not get smaller, why the “removed” margins come back in another program, and why cropping is never an acceptable way to hide confidential information.

To see why, you need to know that a PDF page is not one rectangle. It is up to five.

The five boxes

Each is a rectangle in PDF user space, and they nest from largest to smallest.

MediaBox is the only mandatory one. It defines the physical extent of the page — the sheet of paper. Everything else lives inside it, and it is what “A4” means in a PDF.

CropBox defines the region a viewer displays. When absent it defaults to the MediaBox, which is why most pages behave as though it does not exist. When present, your reader shows only this region. This is the box that changes when you crop a PDF.

BleedBox is a print-production box: the area to which content extends before trimming, giving the guillotine a margin of error so a background colour runs cleanly to the edge instead of leaving a white sliver.

TrimBox is the intended finished page size after trimming — what the reader ends up holding.

ArtBox marks the extent of the meaningful content, used when placing a page inside another document.

For everyday work only the first two matter. The other three are print-shop plumbing, and most PDFs never set them.

What cropping actually does

Setting the CropBox changes which part of the page a viewer draws. The page content — every text object, every image, every vector path — is untouched. The MediaBox is untouched. Nothing is deleted.

Three consequences follow, and they are worth internalising:

The file does not shrink. The hidden content is still stored, so the saving is a few bytes of box definition. If you want a smaller file, that is compression, a different operation entirely.

Quality is untouched. Nothing is re-rendered or re-compressed, so text stays selectable, images stay sharp, links keep working and the text layer survives. Cropping is one of the genuinely lossless PDF operations.

The content can be recovered. Reset the CropBox — a menu item in several editors — and the margins reappear, intact.

Cropping is not redaction

This deserves its own heading, because the mistake is common and the consequences have been severe. There is a long history of published documents where sensitive material was “removed” by covering it with a black rectangle or by cropping the page, then recovered trivially by selecting the text underneath or resetting the view.

If information must be gone, it has to be removed from the content itself, not hidden from view. Practical options:

  • Delete the objects in a PDF editor that genuinely edits content.
  • Use a dedicated redaction feature — Acrobat has one that removes rather than covers.
  • Rasterise the page, which discards everything not visible. The compress tool does this as a side effect, at the cost of the text layer.
  • Remove the content in the source document and re-export.

Cropping is for presentation: trimming scanner margins, removing a header, fitting a page to a screen. It is not a security control, and the crop tool here says so on the page rather than letting the ambiguity ride.

Practical cropping

Scanned pages are the most common case. A scanner captures the whole platen, so a scanned book page arrives with a grey border and a skewed edge. Cropping that away makes the document far more readable on a phone, where every wasted millimetre costs legibility.

Removing headers and footers for quoting or reading is straightforward, with the caveat that the text is still in the file — so a cropped page run through a text extractor still yields the header.

Rotated pages need care. A page carrying a rotation flag displays turned, so the edge you see as “top” is not the top in the file’s own coordinates. A crop tool that ignores this trims the wrong edge. The tool here rotates the margins to match what you see, which is why dragging a crop on the preview behaves the way it looks.

Mixed page sizes are common in merged documents. Margins are best applied relative to each page’s own dimensions rather than as absolute positions, so 20 mm comes off every page whatever its size.

What ToolsNow changes

To be precise about the tool on this site: it sets the CropBox on the pages you select, and changes nothing else. The MediaBox, the page content, the page order, the text layer, links and annotations are all left exactly as they were. The result opens identically in any reader, and the operation is fully reversible by anyone who resets the box.

That is the honest description of what PDF cropping is. Anyone describing it as removing content — or as a way to hide information — is describing something the format does not do.