HomePDF toolsPDF Crop and Trim Box Editor

PDF Crop and Trim Box Editor

Set explicit CropBox or TrimBox rectangles on every PDF page.

Processing stays in your browser. At most 100 pages. Content outside a box remains in the file, so this is not redaction. Existing signatures, print workflows, forms and rotated-page coordinate expectations require review.

How to use the pdf crop and trim box editor

Choose the supported local file for pdf crop and trim box editor. Review page box, lower-left x points, lower-left y points, width points, height points, then choose Process and preview. Inspect the report and any compact image or PDF review, then choose Download result separately. Changing an input clears the previous export.

How the tool works

Load the PDF without refreshing its metadata, require the chosen rectangle to fit each page’s MediaBox, and update the selected box with PDF-lib. Save a separate PDF for review before download.

Worked example

View the example inputs
Page box
CropBox
Lower-left x points
0
Lower-left y points
0
Width points
300
Height points
400

On a 612×792-point page, the default 300×400-point CropBox begins at the bottom-left. PDF points use 72 units per inch.

Good to know

At most 100 pages. Content outside a box remains in the file, so this is not redaction. Existing signatures, print workflows, forms and rotated-page coordinate expectations require review.

Sources and implementation notes

Implemented by DevBricks Technologies. Method notes updated . References describe the underlying format, method or API. Local processing runs on your device. Any public provider queries are described above and start when you run the lookup.

Review a PDF as a document, not just a preview

Use a copy of the PDF and check how many pages it contains. Distinguish visible page content from selectable text, forms, annotations, attachments and metadata. Different PDF operations preserve different parts of that structure. An image-only scan has different capabilities from a document with a text layer. Read the stated limits before expecting a conversion or extraction to recover everything.

Inputs and settings explained

Page box
Choose the page box setting that matches your task. Available choices: CropBox; TrimBox. The supplied example selects CropBox. Compare the result after changing this setting; the options describe different operations or conventions.
Lower-left x points
Enter a numeric value for lower-left x points, using the units and bounds indicated by the label and method notes. The demonstration uses 0. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
0
Lower-left y points
Enter a numeric value for lower-left y points, using the units and bounds indicated by the label and method notes. The demonstration uses 0. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
0
Width points
Enter a numeric value for width points, using the units and bounds indicated by the label and method notes. The demonstration uses 300. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
300
Height points
Enter a numeric value for height points, using the units and bounds indicated by the label and method notes. The demonstration uses 400. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
400

How to review the result

Open the output in a PDF viewer and check the pages affected by the operation. Inspect page order, rotation, text, margins and any forms or annotations you need to retain. For conversion, check line breaks, characters and reading order; matching the appearance of one page does not establish a faithful conversion of the entire file. Existing digital signatures can be affected by edits. A visual mark or a metadata change does not add identity verification or remove all hidden information.

  • Compare the first, last and modified pages with the original document.
  • Check selectable text, form behavior, links and annotations when those features matter.
  • Use an independent viewer to inspect the exported PDF before sharing it.

Common questions about this workflow

Will every conversion preserve the original layout?

No. Text extraction, image rendering and editable-document conversion have different goals. Consult the method on this page for what is preserved. Complex columns, unusual fonts and scans may need manual review or an appropriate OCR workflow.

Is the preview enough to approve a document?

The preview helps identify obvious visual problems. It does not expose every PDF object or establish accessibility, signature validity or archival conformance. Inspect the downloaded file and use the dedicated checks required for your actual workflow.

Built by DevBricks Technologies. Found an unexpected result in PDF Crop and Trim Box Editor? Report a reproducible example with the tool URL, settings and a small sample that contains no private information.