FileKit
All posts
·5 min read

How to Crop PDF Pages — Remove Margins and Trim Marks

Methods for cropping PDF pages, understanding MediaBox vs CropBox, and use cases from removing margins to trimming printer marks.

Why Crop a PDF?

PDF pages often have more white space than you need. Scanned documents with wide margins. Academic papers formatted for print that waste screen real estate. Technical drawings with empty borders. Presentation slides embedded in a report with unnecessary padding. Cropping removes the excess and focuses on the content that matters.

Cropping is also essential for repurposing content. Extracting a chart from a financial report, isolating a diagram from a technical manual, or trimming a scanned receipt to just the relevant portion — all require precise cropping.

How PDF Cropping Actually Works

Unlike image cropping, which deletes pixels outside the crop area, PDF cropping adjusts the page's visible boundary (the CropBox in PDF terminology). The content outside the crop area still exists in the file — it's just hidden. This means:

  • Cropping is non-destructive in most tools — you can uncrop later
  • File size doesn't decrease significantly from cropping alone
  • Hidden content can still be extracted by someone with the right tools

If you need to permanently remove the cropped content (for privacy or file size reasons), you'll need to flatten the PDF after cropping. Flattening re-renders the visible portion only, discarding everything outside the crop boundary.

Methods for Cropping a PDF

1. Browser-Based Cropping

FileKit's PDF Crop tool lets you set crop margins visually or by entering exact pixel values. You can crop all pages uniformly or set different crops per page. The tool runs entirely in your browser, making it safe for sensitive documents.

2. Adobe Acrobat

Edit PDF → Crop Pages gives you precise control over the crop box, trim box, bleed box, and art box — different PDF boundaries used in professional printing. You can set crops by entering exact coordinates or by dragging a rectangle on the page.

3. Command Line with pdfcrop (TeX) or cpdf

# Auto-crop white margins (TeX's pdfcrop)
pdfcrop input.pdf output.pdf

# Set specific margins with cpdf
cpdf -crop "50 50 500 700" input.pdf -o output.pdf

pdfcrop (from the TeX distribution) automatically detects and removes white margins, which is perfect for academic papers. cpdf offers precise coordinate-based cropping for scripts and automation.

Common Cropping Scenarios

Removing Wide Margins for Screen Reading

Academic papers and books formatted for print often have 1-inch+ margins that waste screen space on tablets and e-readers. Crop to reduce margins to 0.25 inches and the text fills the screen. This is especially useful for PDFs read on a Kindle or iPad.

Extracting a Chart or Diagram

Need just the bar chart from page 7 of a quarterly report? Crop the page to include only the chart area, then convert to an image for use in presentations or web content.

Standardizing Scanned Document Sizes

Batch-scanned documents often have inconsistent page sizes due to paper alignment variations on the scanner. Cropping all pages to the same dimensions creates a uniform, professional look. Follow up with compression to optimize the file size.

Crop vs. Trim vs. Bleed: Understanding PDF Boxes

PDFs define multiple page boundaries for different purposes:

  • MediaBox — The full physical page size. Everything is drawn within this boundary.
  • CropBox — What viewers display. This is what "cropping" modifies.
  • TrimBox — The intended final page size after physical trimming (used by print shops).
  • BleedBox — Extends slightly beyond the TrimBox for content that should bleed to the edge when trimmed.

For most purposes, you only care about the CropBox. The other boxes matter primarily in professional printing workflows.

Tips

  • Crop before adding annotations. If you plan to add watermarks or page numbers, crop first so the annotations are positioned relative to the final page size.
  • Leave some margin. Don't crop all the way to the text edge. A small margin (0.1-0.25 inches) prevents text from being cut off on different screens and printers.
  • Flatten for security. If the cropped-out area contains sensitive information, flatten the PDF to permanently remove it.