PDF Page Boxes Explained: MediaBox, CropBox, BleedBox, TrimBox and ArtBox
What the five PDF page boxes mean, which ones printers and readers use, common problems with missing trim boxes, and how to view and set them.

PDF Page Boxes Explained
Ask a printer why a job came out shifted or with white edges, and the answer is often "the TrimBox was wrong". Most people have never heard of page boxes, yet every PDF page has them, and printing software relies on them. This guide explains the five boxes and how to view and set them with the PDF Page Box Editor.
The five boxes
Think of a printed flyer before it is cut.
- MediaBox is the whole sheet the page was designed on. It is the only required box.
- CropBox is the area a PDF reader shows on screen. If missing, it is the same as the MediaBox.
- BleedBox is the area to keep in production, including the extra artwork beyond the cut line, usually 3 mm on each side.
- TrimBox is the finished size after cutting, for example A5 or a 85 by 55 mm business card.
- ArtBox is the area of meaningful content, used when the page is placed into another layout, such as an advert in a magazine.
The boxes nest: TrimBox inside BleedBox inside MediaBox.
Which software uses which box
- PDF readers show the CropBox.
- Imposition software, which arranges pages on press sheets, uses the TrimBox and BleedBox.
- Online print services often read the TrimBox to check that your file is the size you ordered.
- Layout programs placing a PDF may use the ArtBox or the CropBox.
Common problems
No TrimBox. Without it, software assumes the finished size equals the MediaBox. If your file includes bleed, the printer then thinks your flyer is 6 mm larger than it is. Setting the TrimBox by insetting the MediaBox by the bleed amount fixes it.
Wrong CropBox. Some tools save a CropBox smaller than the page, so readers hide part of it. Removing the CropBox shows everything again.
Mixed page sizes. Multi-page documents can have different boxes on different pages. The table in the editor shows every page, so inconsistencies stand out.
Setting boxes
The editor offers three methods:
- Inset from the MediaBox: the most common, for example a TrimBox 3 mm in from each side.
- Exact values: left, bottom, width and height in millimetres, inches or points.
- Drawn: drag a rectangle on the page.
You choose the pages, so a cover and the inner pages can get different boxes.
Cropping for screen reading
Setting the CropBox is a gentle way to trim white margins from a document you read on a tablet. Nothing is deleted; remove the CropBox later to get the full page back.
Units
PDF measures in points: 72 points make an inch and about 2.835 points make a millimetre. The editor converts for you, and the table shows values in the unit you choose.
Example
A flyer exported at 216 by 303 mm contains 3 mm of bleed but has no TrimBox, and the print service flags it as the wrong size. Setting the TrimBox with a 3 mm inset gives exactly 210 by 297 mm, and the upload is accepted.
Checking boxes before ordering print
Before uploading to an online printer, open the editor and read the table. Every page should have a TrimBox matching the product you ordered and a BleedBox a few millimetres larger. If the TrimBox is missing or equals the MediaBox while your design has bleed, fix it with an inset. Then run a preflight check, which reports the bleed amount it finds. These two minutes avoid most "wrong size" rejections.
Boxes and rotation
A page can also carry a rotation value. Boxes are always stored in the page's own unrotated coordinates, so a landscape page that is rotated for display may show swapped width and height in the table. That is normal; the reader rotates the page after applying the boxes.
Limits and privacy
Changing boxes changes which area of the page is used; it does not move or scale content. Some readers ignore TrimBox and ArtBox. Follow your printer's specification for the values. The editor works in your browser and does not upload your file.


&c=%23b45309&k=from-pdf)
