Skip to content
epitometool

PDF crop / trim

PDF tools

Trim margins or fit a paper size (Letter, A4, 6×9) on PDF pages, locally.

Updated

100% private. Your PDF never leaves your device — cropping runs in your browser. (Open DevTools → Network to verify.)

One PDF at a time. Existing page content stays untouched.

Quick start

How to crop a PDF

Trim margins or fit a paper size onto every page of a PDF — locally, with no upload.

  1. Step 1
    Drop or pick a PDF

    Drag your PDF onto the drop zone, click to choose it, or paste from the clipboard. The file stays on your device.

  2. Step 2
    Pick a mode and set the box

    Choose Trim margins (top/right/bottom/left in mm/in/pt) or Fit to size (Letter, A4, Legal, A5, 6×9 with an alignment). Apply to all pages or a selected range.

  3. Step 3
    Crop, then download

    Hit Crop pages. The new file is built locally and offered as <name>-cropped.pdf — no signup, no upload, no server-side copy.

In-depth guide

Crop a PDF in your browser — full guide

This tool changes a PDF's visible region by setting a new CropBox on each page. You can either trim a fixed margin off every edge (great for stripping white borders from scans) or fit a standard paper size — Letter, A4, Legal, A5 or 6×9 book trim — inside each page. Everything runs locally with pdf-lib; the file never leaves the tab.

When to crop a PDF

The two big use cases:

  • Strip scanner white space. Sheet-fed scanners produce PDFs with fat white margins. Cropping by 10–20 mm on each edge gives readers an immediately tighter, more readable document.
  • Fit content to a target paper size. Press-ready books require an exact trim size — 6×9 in is the standard US paperback. Preset fit lets you centre your page content inside that box and discard the bleeds.
  • Crop weird page sizes. Mixed A4 + US Letter bundles look ugly when printed; fit everything to A4 (or vice versa) for a uniform stack.

What cropping actually does

Cropping is not redaction. The original bytes are still in the file. Anyone who removes the crop box can see the trimmed content. For permanent removal of sensitive areas, use the redaction tool.

A PDF page carries several rectangles — media box (physical sheet), crop box (visible region), bleed, trim and art. This tool only changes the crop box. That means:

  • Modern viewers (Acrobat, Preview, Chrome, Firefox) render only the cropped region.
  • The trimmed content is still inside the file — it can be recovered by removing the crop box. If you need to delete it permanently, redact instead.
  • File size is essentially unchanged: a crop box is two numbers per page.
  • Text selection, search and embedded fonts continue to work exactly as before.

Choosing margins vs presets

Trim margins is the right choice when every page has the same kind of border to remove. You enter four numbers (top, right, bottom, left) in your preferred unit — points, millimetres or inches — and they're applied to every selected page. Margins are subtractive: 0 on all four sides leaves the page unchanged.

Preset fit is the right choice when you want a specific final size. Pick the preset (Letter, A4, Legal, A5, 6×9 book) and an alignment — centred is the default; corner alignments are useful when content sits flush to one edge of the original.

If the preset is larger than a particular page, that page is reported in the error and skipped.

Privacy & safety

The PDF is parsed in a Web Worker; pdf-lib sets a new CropBox on each target page; the modified PDF is offered as a download. There's no network round-trip and no server-side copy at any step.

Common pitfalls

  • Password-protected, digitally signed, or archival PDFs may need a specialist workflow before editing.
  • Large scans can use a lot of memory, especially on phones or older laptops.
  • Check the downloaded file before replacing the original, because compression, OCR, or conversion can change visual details.

Frequently asked questions

Is my PDF uploaded anywhere?

No. Cropping runs inside your browser using a Web Worker — your PDF never leaves the tab. Open DevTools → Network while cropping to confirm.

Does cropping actually delete the trimmed content?

No — and that's a feature, not a bug. PDF crop boxes hide content from viewers and printers, but the original page bytes are preserved so the result is reversible. If you need irreversible removal use a redaction tool instead.

What's the difference between margin trim and preset fit?

Trim margins lets you cut a fixed number of mm / in / pt off each edge — useful for stripping white space from scans. Preset fit centres or aligns a standard paper size (Letter, A4, Legal, A5, 6×9 book) inside the existing page.

Can I crop only specific pages?

Yes. Set scope to 'Selected pages' and enter a range like 1-3,5,7-9. Pages outside the range keep their original crop box.

Does the file size change after cropping?

Barely. Crop boxes are metadata on the page object — pdf-lib just rewrites a few bytes per page. The bulk of the file (text, fonts, images) is unchanged.

Some viewers still show the full page — why?

Older viewers (or print drivers that ignore /CropBox) fall back to the media box. Most modern viewers — Adobe Acrobat, Preview, Chrome, Firefox — honour the crop box for both display and print.

What about password-protected PDFs?

Decrypt the file first in your PDF reader (Save as → without password) and then crop the result. pdf-lib can read encrypted PDFs but cannot save modifications back into them.

Keep exploring

More tools you'll like

Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.