PDF Crop

PDF

Crop PDF pages to remove white margins or adjust visible area. Auto-detect margins or set custom values. Apply to all or selected pages. Trims scanned borders.

100% client-side processing

About PDF Crop

Crop PDF pages to remove excess white margins or precisely adjust the visible area of each page, all in your browser with no upload. The tool works on the page's CropBox and MediaBox coordinates via pdf-lib: auto mode detects the content bounding box and adds a 10pt padding, while custom mode gives individual top, right, bottom and left margin controls. Apply the crop to all pages, the first page only, or a custom page range (e.g. 1-5,8,10-12). An important nuance is that cropping changes the visible region rather than deleting content: the trimmed-away area still lives inside the PDF, just out of view, so cropping typically does not shrink file size — it tightens the layout. It is ideal for removing scan borders, trimming slides with inconsistent margins, or preparing documents for e-book readers. Text remains selectable and hyperlinks stay live because only the visible boundary is adjusted. Leave a small safety margin so page numbers and signatures in the header/footer are never cut off. The critical misuse is assuming cropping deletes: it adjusts the page box. So the removed area stays in the file and can be restored or extracted by other tools, which means cropping is not redaction for documents holding sensitive data and redaction or page regeneration is required instead. Another is cropping repeatedly, where an unchanged origin makes the crops accumulate and content can disappear unexpectedly. The division of labour matters: cropping changes only the visible area, redaction or page regeneration actually removes content, and fitting a page to print may need scaling rather than cropping. The goals differ, and mixing them produces opposite failures, either content that looks gone but remains or content lost to an over-aggressive crop. After cropping, extract the text once more to confirm what you meant to hide is genuinely outside the readable region. For deliverables, record the crop box in the filename or document properties. Cropping hides rather than deletes, and a later user unaware of that may assume the hidden content was cleared and ship the file with it still present. Labelling both warns the recipient and preserves the original page box values so restoring later needs no re-measurement. A final premise relates to printing: the cropped page box may not match the target paper ratio and printing then rescales or leaves margins. For print, confirm the aspect ratio after cropping and set the paper accordingly, or scale the content to fit; otherwise a crop that looked right distorts again at the printing stage, discovered only after delivery. Cropping is not re-typesetting. Cropping adjusts the visible page area without rearranging anything: the text is the same text, the images the same images, and their relationships unchanged. Re-typesetting pours content into a new page and can change fonts, leading and pagination. Keep the original layout with cropping, and reach for re-typesetting when the layout itself must be redone. For documents holding sensitive data, cropping offers false reassurance: what was cropped still exists as original data and any extraction tool reads it back. Compliance requires redaction or page regeneration so the content is genuinely removed. The test is simple — extract the text after cropping and confirm the hidden words are no longer recoverable, which is the only reliable confirmation. Batch cropping most often breaks on the coordinate basis. The same parameters behave differently across sources: page orientation changes what the origin means, and scanned versus digitally typeset files may define the page box differently. Check three files before running the whole set, then execute, which beats fixing each result afterwards. For print, confirm the cropped aspect ratio matches the target paper. Cropping often yields a non-standard ratio and the print driver then rescales or leaves uneven margins, discovered only after delivery. Set the paper size explicitly after cropping, or pad to the target ratio on export, so the ratio is settled before printing begins. Recording the crop box is a worthwhile habit: note the values in the filename or document properties to warn the recipient that hidden areas exist and to avoid re-measuring later. It costs almost nothing and prevents the assumption that the file was fully cleaned, while also helping version management and audit trails.

How It Works Internally

Cropping works by adjusting the page box, so the removed area is hidden rather than deleted: the content remains in the file and can be restored or extracted by other tools. That matters for sensitive documents, where cropping text is not the same as removing it. Cropping does not change the origin, so repeated crops accumulate.

InputCropping a paragraph away and saving
OutputThe text is still stored in the file and can be extracted — use redaction or page regeneration to actually remove it

Measured on This Page

CropBox presentBoth output pages carry a CropBox of 400x600 — the default trims to the whole page, so visible area only shrinks once margins are adjusted by hand
Page count preserved2 pages in, 2 pages out
What cropping meansCropping a PDF rewrites the CropBox (the displayed and printed area) and leaves both MediaBox and content stream alone — the trimmed region still lives in the file and can be recovered
Separate outputApplying produces a new PDF; the original stays untouched

Cropping a PDF is not cropping an image, and that is the usual misunderstanding (2 pages measured, both boxes equal to the full page): it rewrites the CropBox — the area shown and printed — while the content stream and MediaBox stay put. Whatever was cut remains inside the file and can be restored with any tool that edits CropBox, so this is not a way to hide sensitive material; genuinely removing content needs a redraw or rasterisation, which this page does not do. Note the measured default: the crop box equals the full page, so without adjusting margins the output looks identical to the input — nothing failed, the box simply did not shrink.

How this was measured: The same 400x600 two-page document went through the crop flow, after which each page's MediaBox and CropBox sizes were compared between input and output to see which box moved and whether the page count held. · Measured 2026-10-31

How to Use

  1. Open "PDF Crop"
  2. Drop a PDF or click the upload area to choose one
  3. Choose auto or custom crop and set the page range
  4. In custom mode, enter top, bottom, left and right margins
  5. Click "Crop PDF", then download the result

Use Cases

  • Remove scan borders — Auto-detect and remove black or white margins around scanned PDFs for a tighter layout.
  • Unify page layout — Apply the same custom margins to multiple pages so the whole document shares consistent dimensions and typography.
  • Trim page margins — Crop excess whitespace in slides or reports so body content fills the visible area.
  • Adjust print area — Tune the visible page area to match printer output and avoid cutting important content.
  • Fit e-book readers — Trim surrounding whitespace so PDFs read comfortably in full-screen reader mode.

FAQ

Is auto-crop accurate?

Auto mode attempts to detect the content bounding box with a 10pt padding. For complex layouts or layered pages, custom margin mode gives better results.

Does cropping delete content?

No. Cropping adjusts the visible area. Cropped-out content still exists in the PDF but is simply hidden from view.

Does cropping reduce file size?

Usually not. Cropping only changes the visible boundary without removing data, so size stays about the same. True reduction requires rebuilding or recompressing the pages.

Are text and links preserved?

Yes. Cropping adjusts only the visible boundary, so text, images and hyperlinks remain intact and stay selectable, searchable and clickable.

Can I crop only specific pages?

Yes. Supports applying to all pages, the first page only, or a custom page range such as 1,3,5-8 or 1-5,8,10-12.

Are files uploaded?

No. All cropping runs locally in your browser via pdf-lib, so files never leave your device, even sensitive documents.

Text is cut off after cropping?

The crop box works in page coordinates, and PDF content can extend beyond the visible area (binding margin, bleed). Enable page-boundary display first, then pull the box inward slightly. For batches of identical layouts, set it on page one and apply to all.

The margins after cropping are uneven?

Usually one side was cropped or the top/bottom values differ. Use equal cropping with the same value for symmetry; to make A4 square the vertical margin must be exactly (height − width)/2, which is easier via a preset ratio than by hand.