Auto-trim Whitespace (Crop to Content)

Auto-detect the content bounding box on every page and crop away surrounding whitespace — quick clean-up for scanned documents or oversized exports.

Your files never leave your browser. All processing happens on your device — nothing is uploaded.

1. Upload your file

How does the Auto-trim Whitespace (Crop to Content) work?

Set the CropBox on every page to the bounding box of the actual content, plus a small padding. Cleans up scans with wide white margins and exports that retain blank borders. Detection rasterises each page at 100 dpi, walks the pixels, and finds the smallest rectangle that contains every dark pixel. The original page MEDIA size is preserved — only the CropBox (which most viewers honour for display and print) changes. To physically resize the file, run through Resize PDF Pages afterwards.

🔒 Security & Privacy

All processing happens on your device. Your files never leave your browser, never touch our servers, and are not stored anywhere. Close the tab and the file is gone.

📱 Use it on any device

Works in any modern browser — Mac, Windows, Linux, iPhone, Android, and tablets. No installation, no app to download. Just open the page and start.

⚡ Quick & easy

Drag, drop, click. Most files process in seconds, not minutes. No watermarks added to your output, no per-day limits, and the tool always shows the result before asking you to download.

🎁 Always free, no signup

Free to use, every time. No account creation, no email required, no “trial” that converts to a paid plan. We make money from ads so you don’t have to pay.

Frequently asked

Most viewers and tools honour CropBox for display + print but keep MediaBox as the canonical page size. This lets you reverse the trim by clearing the CropBox later.

Related PDF tools

More tools you might like