CROP
Complete Guide

Crop PDF:
Remove Margins Free Online

Learn how to crop PDF pages, remove unwanted margins, and trim white space. Free online crop PDF tool with visual editor and auto-detect. Runs entirely in your browser.

Crop PDF Now

Every PDF I encounter has one annoying problem: unwanted margins. Scanned documents have thick white borders. Academic papers have oversized margins. Presentation slides have dead space around the content. These margins waste space, look unprofessional, and make documents harder to read on mobile. Whether you need to crop PDF for printing, crop PDF to remove margins, or trim a PDF for presentation — the solution is simple: crop the PDF.

PDF cropping defines the visible area of each page. It does not delete content — it sets a crop box that tells the viewer which part of the page to display. This means cropping is non-destructive: you can always reset or adjust the crop later without losing any original data. In this guide, I will show you everything about PDF cropping: how it works, when to use it, the technical details of crop boxes, and how to crop PDF pages using our free online tool.

By the end, you will know how to crop any PDF to the perfect dimensions for your needs — whether that is removing margins from a scanned document, trimming a presentation slide, or preparing a document for print.

Video Walkthrough Coming Soon

A complete step-by-step demo of cropping PDFs with the visual editor.

Why Crop PDFs

Unwanted margins and white space cause problems across every workflow. Here is why cropping is essential.

Remove Scanned Document Margins

Scanned documents almost always have thick white borders from the scanner bed. These margins waste space and make the text appear smaller on screen. Cropping removes the scanner margins and makes the content fill the page. This is the number one reason people search for how to crop PDF margins.

Improve Readability on Mobile

Large margins on a phone screen mean smaller text and harder reading. Cropping removes the dead space so the content fills the screen. A PDF with 2-inch margins cropped to 0.5-inch margins increases the readable area by 40% on mobile devices.

Reduce File Size

While cropping does not compress images, it reduces the page dimensions. Smaller pages mean less data to render and display. For PDFs with large white margins, cropping can reduce file size by 5-15% and improve loading speed.

Professional Presentation

Documents with consistent, tight margins look professional. Inconsistent margins across pages look sloppy. Cropping standardizes the margins across all pages for a clean, polished appearance.

Print Preparation

Print shops require specific page dimensions. A PDF with uneven margins will not print correctly on standard paper sizes. Cropping ensures the content fits the print area and avoids cropping at the printer level.

Form Submission Requirements

Government portals and application systems often reject PDFs with non-standard dimensions. Cropping to standard sizes (Letter, A4) ensures your documents meet submission requirements.

Pro Tip

I crop every scanned PDF before sharing it. My rule: if the margin is wider than 0.75 inches, it gets cropped to 0.5 inches. For presentations, I crop to the exact slide boundaries. This 10-second step makes every document look cleaner and more professional. Whether you use our free crop PDF tool or Adobe Acrobat, consistent margins make a real difference.

How PDF Cropping Works

PDF cropping is not about deleting content — it is about defining what is visible. Here is the technical breakdown.

When you crop a PDF, you are setting a crop box on each page. The crop box is a rectangle that defines the visible area of the page. Everything inside the crop box is displayed; everything outside is hidden. The content is still there — it is just not rendered by the PDF viewer.

01

The Crop Box

Every PDF page has a crop box — a rectangle that defines the visible area. By default, the crop box equals the media box (the full page size). When you crop, you change the crop box to a smaller rectangle. The media box (actual content) stays the same; only the visible area changes. This is why cropping is non-destructive.

02

Coordinate System

PDF coordinates use points (1 point = 1/72 inch). The origin (0, 0) is at the bottom-left corner of the page. X increases to the right; Y increases upward. A crop box is defined by four values: X (left edge), Y (bottom edge), Width, and Height. For a US Letter page (612 x 792 pt), a crop box of {x: 36, y: 36, width: 540, height: 720} creates a 0.5-inch margin on all sides.

03

Setting the Crop Box

Using pdf-lib (the JavaScript library our tool uses), you call page.setCropBox(x, y, width, height) on each page. The library modifies the PDF's internal structure to set the new crop box. The process is instant because it only changes metadata — it does not re-render or compress any content.

04

Rendering After Crop

When a PDF viewer opens a cropped page, it renders only the area inside the crop box. The viewer ignores content outside the crop box. This is the same behavior whether you use Adobe Acrobat, Chrome's built-in PDF viewer, or any other reader. The crop is stored in the PDF itself, so it applies everywhere.

Understanding Crop Boxes

PDF defines several box types. Understanding them helps you use cropping effectively.

Media Box

The physical dimensions of the page. This is the maximum area that can contain content. For US Letter: 612 x 792 pt. For A4: 595 x 842 pt. The media box cannot be changed by cropping — it defines the page size.

Crop Box

The visible area of the page. This is what cropping modifies. By default, the crop box equals the media box. When you crop, you set the crop box to a smaller rectangle. The viewer displays only the crop box area.

Trim Box

The intended final page size after printing and trimming. Used by print shops to know where to cut. If no trim box is set, the crop box is used. For print-ready PDFs, set the trim box to the final page size.

Bleed Box

The area that extends beyond the trim box for content that bleeds off the edge. Used in professional printing. If no bleed box is set, the crop box is used. Most everyday PDFs do not need a bleed box.

Step-by-Step Crop Guide

Crop any PDF in minutes with this exact workflow. Whether you need to crop PDF pages for email, print, or mobile reading, follow these steps.

01

Upload Your PDF

Drag and drop your PDF file into the upload area, or click to browse. The tool accepts PDFs up to 100MB. Once uploaded, the tool reads the PDF using PDF.js and displays a preview of the first page. You will see the page count, file size, and default page dimensions.

02

Set the Crop Area

You have three options: Visual editor: Drag the crop handles on the preview to select the area. Manual coordinates: Enter exact X, Y, width, and height values in points. Auto-detect: Enable the auto-detect checkbox to automatically find the content boundary and remove white space. For precise work, use the visual editor and fine-tune with coordinate inputs.

03

Select Pages (Optional)

By default, all pages are cropped. To crop only specific pages, enter page numbers or ranges in the Page Range field. Use formats like 1, 3, 5-8 or 1-5, 10. Leave blank to crop all pages. This is useful when some pages need different margins than others.

04

Crop and Download

Click the Crop button. The tool processes each page using pdf-lib, sets the crop box, and saves the result. The progress bar shows the current status. When complete, click Download to save your cropped PDF. The output file is named [original]_cropped.pdf.

Using the Visual Crop Editor

The visual editor lets you see exactly what you are cropping in real time.

The visual crop editor renders a preview of your PDF page on a canvas. A blue dashed rectangle shows the current crop area. You can drag the rectangle to move it, or drag any of the 8 handles to resize it. The dimensions update in real time.

01

Drag to Position

Click inside the crop rectangle and drag to move the entire crop area. The X and Y coordinates update automatically. This is useful for centering the crop on the content. The rectangle cannot be moved outside the page boundaries.

02

Resize with Handles

Eight handles surround the crop rectangle: four corners (TL, TR, BL, BR) and four edges (TM, BM, ML, MR). Drag a corner handle to resize both width and height simultaneously. Drag an edge handle to resize one dimension. The minimum crop size is 10 points in each dimension.

03

Use Preset Buttons

Four preset buttons provide quick crop settings: 0.5" Margin: Sets a half-inch margin on all sides (36 points). 1" Margin: Sets a one-inch margin on all sides (72 points). Auto Trim: Detects content boundaries and removes white space automatically. Reset: Restores the crop area to the full page.

04

Navigate Pages

For multi-page PDFs, use the Prev/Next buttons below the preview to navigate between pages. The crop area you set applies to all pages by default. Navigate to different pages to verify the crop looks correct on each one. The page label shows the current page number and total page count.

Auto-Detect Crop

Auto-detect analyzes your PDF content and finds the optimal crop area automatically.

Auto-detect uses PDF.js to render each page at 2x resolution, then scans every pixel to find the bounding box of non-white content. It considers any pixel with R, G, or B values below 240 (out of 255) as content. The result is a tight crop box around all visible content.

How It Works

The tool renders the page to a canvas at double resolution. It iterates through every pixel and checks if it is non-white (RGB below 240). It finds the top, bottom, left, and right boundaries of all non-white pixels. The crop box is set to these boundaries, removing all surrounding white space.

When to Use It

Auto-detect works best for scanned documents, single-column text, and documents with consistent margins. It may not work well for multi-column layouts, documents with background images, or pages with content near the edges. For complex layouts, use the visual editor instead.

Limitations

Auto-detect analyzes one page at a time. If pages have different content boundaries, each page gets a different crop. The threshold of 240 works for most documents but may miss very light gray content. For documents with colored backgrounds, manual cropping is more reliable.

Per-Page Detection

When auto-detect is enabled and you click Crop, the tool runs content detection on every target page independently. Each page gets its own optimal crop box. This is handled automatically — you do not need to set crop areas page by page.

Real-World Use Cases

PDF cropping solves real problems across dozens of industries and scenarios.

Scanned Documents

Scanned documents always have scanner margins. A document scanned at 300 DPI with 1-inch margins wastes 25% of the page. Crop to 0.5-inch margins to recover that space. This is the most common use case for online crop PDF tools.

Academic Papers

Academic papers often have oversized margins for annotation space. When reading on screen, crop to tighter margins for better readability. For printing, use standard margins. The visual editor makes it easy to adjust margins precisely.

Presentations and Slides

Exported presentation slides often have extra space around the actual slide content. Crop to the slide boundaries for a clean, full-bleed appearance. This is essential when embedding slides in other documents.

Legal Documents

Court filings and legal documents have strict formatting requirements. If margins do not meet the court's standards, the filing may be rejected. Crop to the required margins before submission.

Mobile Reading

On a 6-inch phone screen, every point of margin matters. Cropping a PDF from 1-inch margins to 0.5-inch margins increases the readable text area by 30%. This makes a huge difference for long documents read on mobile.

E-Book Preparation

Self-published e-books need tight margins for readability on e-readers. Crop PDF pages to the target device's screen dimensions for optimal reading experience. Different devices have different screen ratios — crop accordingly.

Advanced Techniques

Professional techniques for precise cropping and specialized use cases.

01

Consistent Margins Across Pages

For documents with varying content, set the crop area on the page with the most content, then apply the same crop to all pages. This ensures consistent margins throughout. In the AFFLIGO tool, the crop coordinates you set apply to all pages by default — no need to set them individually.

02

Combining Crop with Other PDF Operations

For a complete workflow: crop first, then compress, then add page numbers. Cropping before compression reduces the area that needs to be compressed, resulting in smaller files. Use our crop PDF tool, then compress PDF, then add page numbers for a complete document preparation pipeline.

03

Crop for Specific Paper Sizes

To convert a PDF from one paper size to another, crop to the target dimensions. To convert US Letter (612 x 792 pt) to A4 (595 x 842 pt), you would need to crop and resize. For simple cropping to a smaller size, enter the exact dimensions of the target paper size minus margins.

04

Batch Crop with Command Line

For developers, pdf-lib can be used in Node.js to batch crop hundreds of PDFs. The same setCropBox(x, y, w, h) API works server-side. Combine with a file loop to process entire directories. The AFFLIGO tool handles this in the browser for occasional use.

Troubleshooting

Common cropping problems and their exact solutions.

!

Crop Looks Different on Different Viewers

Cause: Some PDF viewers respect only the crop box, while others may use the media box or trim box. Fix: Our tool sets the crop box, which is the standard. If a viewer ignores it, the viewer is non-compliant. Try a different viewer (Chrome, Adobe Acrobat, Foxit).

!

Auto-Detect Cropped Too Much or Too Little

Cause: The content threshold (RGB below 240) may not match your document. Very light gray text may be treated as background. Very dark backgrounds may be treated as content. Fix: Use manual crop coordinates instead. Set the exact crop area with the visual editor for reliable results.

!

Cropped PDF Is Larger Than Original

Cause: Cropping does not remove content — it only hides it. The PDF structure remains the same. If the file size increased slightly, it is because the crop box metadata was added. Fix: Use our compress PDF tool after cropping to reduce file size. Compressing after cropping is more effective because the compression engine has a smaller area to process.

!

Some Pages Did Not Crop

Cause: You may have entered a page range that excludes certain pages. Or the page range syntax was invalid. Fix: Check the page range field. Use formats like 1, 3, 5-8. Leave blank to crop all pages. Verify the page numbers match your document.

Best Practices

Follow these proven practices for perfect PDF cropping every time.

01

Keep the Original

Always keep your original un-cropped PDF. Cropping is non-destructive, but having the original ensures you can re-crop with different settings if needed. Store originals in an archive folder and cropped versions in a distribution folder.

02

Crop Before Other Operations

Crop first, then compress, then add annotations. Cropping reduces the page dimensions, which makes subsequent operations faster and produces smaller files. If you compress first and then crop, you waste processing time compressing areas that will be hidden.

03

Use Consistent Margins

For multi-page documents, use the same crop area on all pages. Inconsistent margins look unprofessional and make the document feel disjointed. Set the crop once and apply it to all pages. The AFFLIGO tool does this automatically.

04

Verify Before Distribution

Always open the cropped PDF and check: Is all content visible? Are margins consistent? Is text readable? Are images positioned correctly? Five seconds of verification prevents hours of rework. Open the file in at least two different viewers to confirm the crop displays correctly.

Tool Comparison

A comparison of popular PDF cropping tools to help you choose the right one.

AFFLIGO Crop PDF

Free, web-based crop tool. Visual editor with 8-handle crop box. Auto-detect content. Preset margins (0.5", 1"). Page range selection. 100% client-side processing. No file upload. Max 100MB. Best for: quick cropping, visual precision, privacy-conscious users.

Adobe Acrobat Pro

Premium desktop software. Crop tool with page range selection. Set crop box, trim box, bleed box. Batch crop with actions. Precise coordinate input. Best for: professional workflows, print preparation, businesses needing full PDF control.

Smallpdf

Freemium web tool. Simple crop interface. Upload to server for processing. File size limits on free tier. Best for: occasional use, users who need other PDF tools in one platform.

Ghostscript

Free, open-source command-line tool. gs -sDEVICE=pdfwrite -dFIXEDMEDIA -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792. Most powerful option for batch processing. Steep learning curve. Best for: developers, automation, server-side processing.

Frequently Asked Questions

Common questions about PDF cropping, answered from experience.

What is PDF cropping?

PDF cropping changes the visible area of a page by setting a crop box. It does not delete content — it defines which part of the page is displayed or printed. Cropping removes unwanted margins, white space, or areas outside the content boundary. The original content remains in the file.

Is cropping a PDF the same as trimming?

Yes, cropping and trimming are the same operation in PDF terminology. Both refer to reducing the visible page area by setting new boundaries. The crop box defines the rectangle of the page that is visible to the viewer.

Does cropping delete content from my PDF?

No. PDF cropping sets a crop box that defines the visible area. The original content still exists in the file but is hidden outside the crop boundary. You can reset or adjust the crop at any time without data loss.

What units does the crop tool use?

The crop tool uses PDF points (pt), where 1 point equals 1/72 of an inch. A standard US Letter page is 612 x 792 points. An A4 page is 595 x 842 points. The visual editor converts between screen pixels and PDF points automatically.

How does auto-detect crop work?

Auto-detect analyzes the rendered content of each page using PDF.js. It renders the page at 2x resolution, scans for non-white pixels (RGB below 240), and calculates the bounding box of all content. The crop area is set to tightly fit the content while removing surrounding white space.

Can I crop only specific pages?

Yes. Enter page numbers or ranges in the page range field (e.g., 1, 3, 5-8). Only the specified pages will be cropped. Leave the field blank to crop all pages. You can combine single pages and ranges: 1, 3-5, 8.

What is the maximum file size for cropping?

Each file can be up to 100MB. The tool processes everything in your browser using pdf-lib, so larger files may use more memory and take longer to process, especially in auto-detect mode which renders each page.

Is my PDF safe when cropping online?

Yes. All processing happens entirely in your browser using pdf-lib and PDF.js. No files are uploaded to any server. Your data never leaves your device. This is the safest way to crop PDF files with sensitive content.

Quick Reference Card

Bookmark this section. Essential crop settings and dimensions in one place.

Common Page Sizes (Points)

US Letter: 612 x 792
Legal: 612 x 1008
A4: 595 x 842
A3: 842 x 1190
Tabloid: 792 x 1224

Common Margins

0.5 inch: 36 pt
0.75 inch: 54 pt
1 inch: 72 pt
1.25 inch: 90 pt
Standard print: 72 pt

Letter with 0.5" Margin

X: 36 pt
Y: 36 pt
Width: 540 pt
Height: 720 pt
Result: Tight, clean margins

Quick Checklist

Content visible? Yes
Margins consistent? Yes
Text readable? Yes
Right pages cropped? Yes
Original saved? Yes

Crop Your PDFs Now

Remove unwanted margins and white space from your PDF pages. Visual editor, auto-detect, and preset margins. Free, fast, and 100% private — runs entirely in your browser.

Crop PDF Free