Crop PDF

✂️
Click to select PDF or drag & drop here
Visually crop PDF pages — remove margins, set custom crop area
Visual Crop Set Margins All Pages Custom Box
📄
document.pdf
0 KB · PDF
Loading…

✂️ Crop Editor

Page 1 / 1
0 × 0 pt
📐 Crop Settings
Crop margins (points — 1pt = 1/72 inch)
Drag the blue box or type margin values above
1
Loading
2
Reading Pages
3
Applying Crop
4
Saving PDF
5
Done
Starting…

PDF Cropped Successfully!

Your PDF has been cropped.
⬇ Download Cropped PDF
← Crop another PDF
🔒 100% Private: Your PDF is processed entirely in your browser using PDF-Lib. Nothing is uploaded to any server. Cropping sets the CropBox/MediaBox of each page — the hidden content outside the crop area is not deleted, just masked.

A scanned document comes back with a half-inch of white margin on every side. The text content fills maybe 60 percent of each page. When printed or viewed on a tablet, the actual content appears unnecessarily small. A PowerPoint presentation exported as PDF has the slide surrounded by wide paper margins on every page. An Amazon shipping label PDF has the label centered in a full-size A4 page that needs trimming before printing on a label printer.

All three problems have the same fix: crop the pages to remove what you do not need. Not every crop job is the same. Sometimes you need a precise 10mm trim on all sides. Sometimes you need to keep only the top half of a page, or define a custom crop box by dragging. This tool handles all of those in a visual interface, in the browser, with no file sent to any server.

How It Works

  1. Upload your PDF by dragging it onto the upload area or clicking to browse. PDF-Lib reads the document in the browser and renders the current page in the visual crop editor. The page dimensions display in points (1pt = 1/72 inch). Use Prev and Next to navigate through pages before setting any crop values.
  2. Define your crop area using one of three approaches. The visual method lets you drag the blue crop box directly on the page preview to define what to keep. Presets handle common patterns: Trim 5mm, Trim 10mm, Trim 15mm (uniform margin removal), Square Center, Top Half, Bottom Half, Left Half, and Right Half. The manual method lets you enter precise margin values in points for each side independently (Top, Bottom, Left, Right). Then set the scope: All pages, Current page only, Odd pages only, Even pages only, or a custom range. Choose whether to Keep original size (preserves the original page dimensions with the content shifted) or Resize page to crop (shrinks the page boundaries to match the crop area).
  3. Apply and download by clicking Apply Crop and Save PDF. PDF-Lib sets the CropBox on each selected page, defining the new visible boundary. Download the cropped file immediately. The original page content outside the crop area is masked, not deleted; the hidden data technically remains in the PDF structure, but the visible page in every standard PDF viewer shows only the cropped area.

Compatibility & Support

Supported Input and Output

  • Input: Any standard PDF (text-based, scanned, image-based, single or multi-page)
  • Output: PDF with CropBox set on selected pages
  • Crop methods: Visual drag-to-define, nine presets (Trim 5/10/15mm, Square Center, Top/Bottom/Left/Right Half), manual margin entry (Top, Bottom, Left, Right in points)
  • Page scope: All pages, Current page, Odd pages, Even pages, Custom range
  • White space mode: Keep original size, or Resize page to crop

What Cropping Does Not Do

PDF cropping via CropBox hides content outside the visible area but does not permanently delete it from the file structure. The hidden content remains in the PDF and could be restored by a PDF tool that resets the CropBox. For permanent content removal, run the cropped PDF through a PDF flattening or redaction tool afterward. Cropping also does not resize page content; it only adjusts the visible boundary. Scaling content to a new page size requires a PDF resize or print-scaling operation.

File Size Limits

All processing runs in-browser via PDF-Lib with no server upload, so no external size cap applies. Cropping is a lightweight operation since it modifies page boundary values rather than re-rendering content. Even large multi-page PDFs process quickly. File size typically changes minimally from cropping alone.

Who Should Use This Tool?

  • Students: A student scanning handwritten notes or textbook pages can trim the scanner's wide white margins from all pages at once, making the content fill more of the screen when reading on a tablet or laptop.
  • Freelancers & Designers: A designer who exported a presentation as PDF and needs to crop each slide to remove the surrounding white paper margin before sending a PDF portfolio can use the Square Center or custom preset to get every page cropped consistently in seconds.
  • Office Professionals: An operations team member printing Amazon or courier shipping labels can crop the label area from a full A4-sized label PDF using the visual drag method, producing exactly sized pages for a label printer rather than printing oversized pages and cutting by hand.
  • Developers: A developer generating PDFs from a web application that adds large default margins can use this tool to test the effect of different crop margins before adjusting the page rendering settings in the source code to fix the margin issue at the generation level.

Key Features

Here's what separates this tool from generic alternatives:

🔒

No Server Upload

PDF-Lib sets the CropBox entirely in your browser. Scanned documents, confidential reports, and sensitive label files never transfer to any external server during the crop process.

✂️

Visual Drag-to-Crop Editor

Drag the blue crop box directly on the page preview to define exactly what to keep. Faster than entering margin numbers for irregular content areas where the boundary is easier to see than to measure.

Nine Useful Presets

Trim 5mm, 10mm, and 15mm handle standard margin removal in one click. Top Half, Bottom Half, Left Half, and Right Half split pages for specific extraction needs. Square Center crops to centered square for social or square-format outputs.

📐

Precise Margin Input in Points

Enter exact values for Top, Bottom, Left, and Right margins independently in PDF points (1pt = 1/72 inch). Useful when a document specification requires exact crop dimensions for print or archiving compliance.

📄

Per-Page and Pattern Scope

Apply cropping to all pages, odd pages, even pages, the current page, or a custom range. Odd/even scope is useful for two-sided documents where the binding margin alternates between left and right sides.

📏

Resize Page to Crop Option

Toggle Resize Page to Crop to shrink the physical page dimensions to match the crop area rather than keeping the original page size with masked margins. Produces a smaller page footprint useful for label and custom-size print jobs.

Why This Tool Beats the Alternatives

  • No account, email, or signup required at any point.
  • No watermarks added to the output PDF.
  • No server upload; sensitive and confidential documents stay in the browser throughout.
  • Visual drag-to-define crop box alongside preset and manual margin options in the same interface.
  • Odd/even page scope for two-sided document workflows where binding margins alternate sides.
  • Resize page to crop option changes the actual page dimensions, not just the visible area.

Pro Tips

  • After cropping, if you need the hidden content permanently removed rather than just masked, run the output through the Flatten PDF tool. Flattening rasterizes the visible page content and discards data outside the CropBox, making the crop permanent and preventing any tool from restoring the masked areas.
  • For two-sided scanned documents where the binding margin is on the left side of odd pages and the right side of even pages, run the crop twice: first set a larger left margin and apply to Odd Pages only, then reload the output, set a larger right margin, and apply to Even Pages only. This handles alternating binding margins correctly without a one-size-fits-all crop that would cut into content on one side.
  • Use the Resize Page to Crop option when preparing shipping or label PDFs for a label printer. Without this option, the page stays at its original A4 or Letter dimensions with masked white space; with it, the page shrinks to exactly the label dimensions, which is what label printers and print dialogs expect.

Upload your PDF, set your crop area visually or by margin values, and download the trimmed file in seconds. If your PDF has excessive white space that can be detected and removed automatically without manual measurement, the Trim PDF Whitespace tool handles automatic margin detection in the same browser-based workflow.

Frequently Asked Questions