Remove PDF Margins

Automatically trim white margins and borders while keeping the padding you choose.

Your PDF is processed locally in this browser.

How to automatically remove white PDF margins

1. Add a PDFOpen a PDF that contains large white margins.
2. Detect marginsChoose detection strength and padding, then analyze all pages.
3. Save PDFReview the orange crop frame and download the trimmed PDF.

Auto-trim white borders and empty space from PDF pages

PDFCook Remove PDF Margins automatically analyzes the visible content on each page and trims large white borders around scanned or exported documents.

Choose a safer detection mode for faint gray content, normal for typical documents or a stronger trim when light gray areas can be treated as margin. You can also keep 0 to 10 mm of padding around detected content.

Automatic detection works best on light or white page backgrounds. If you want to choose the crop rectangle manually, use Crop PDF.

Frequently Asked Questions

Can the tool automatically remove white PDF margins?

Yes. It analyzes each page and detects the visible content boundary automatically.

Can I keep a small amount of padding?

Yes. Choose 0, 2, 5 or 10 mm of extra padding around detected content.

Can every page use a different crop area?

Yes. Each page is analyzed separately when you run all-page detection.

Are PDF pages converted to images?

No. Pages are rendered only for margin detection. The output PDF uses adjusted crop boxes to preserve the original page content.

Other PDF Tools

Continue with another PDF task without leaving PDFCook.

View all PDF tools