N
NJHTools

Crop PDF

Crop a PDF and trim PDF margins in your browser: drag the crop box on a page preview, type exact margins in mm, inches or points, or let auto-detect trim the white space, then apply it to every page or just the ones you pick. No upload, no signup.

Your PDF never leaves your device. It is processed locally in your browser, not uploaded to any server.

How to verify: open DevTools → Network, then use the tool. No request carries your file.

Drag a PDF here, or click to choose a file

Processed on your device. Your files are never uploaded.

Hide or remove? How PDF cropping works

A PDF page has a visible area called the CropBox. By default this tool only changes the CropBox, so viewers and printers show the area you chose. The rest of the page is hidden but still in the file, and anyone with a PDF editor can bring it back. Tick Make the page itself smallerto also shrink the MediaBox (the page size), which most editors can't simply undo. Even then the text and images outside the crop stay in the file's data. To be sure hidden content is gone, convert the cropped PDF to images, for example with PDF to JPG.

Your file stays on your device

Pages are previewed with PDF.js and cropped with pdf-lib inside your browser. Nothing is uploaded. Rotated pages are cropped exactly as they appear on screen. Password-protected PDFs must be unlocked first. See all PDF tools.

How to crop a PDF

  1. Open the PDF. Drop a PDF onto the page, or click to choose one. The first page appears with a crop box.
  2. Set the crop area. Drag the box or its handles, type the top, bottom, left and right margins in mm, inches or points, or click Auto-detect margins to trim the white space.
  3. Choose pages. Apply the crop to all pages, odd or even pages, or a range such as 1-3, 5. Tick Detect the margins separately for every page if the layouts differ.
  4. Choose how to crop. Leave the default to hide the edges reversibly, or tick Make the page itself smaller to shrink the page size as well.
  5. Download. Click Download cropped PDF to save the file.

Frequently Asked Questions

How do I crop a PDF for free?↓

Open the PDF on this page, drag the crop box (or click Auto-detect margins), choose which pages to crop and click Download cropped PDF. It is free, needs no account and adds no watermark.

Does cropping delete the content outside the crop box?↓

No. By default the tool sets the page's CropBox, which hides everything outside the box; the hidden part is still in the file and a PDF editor can show it again. Making the page smaller also shrinks the MediaBox, but the text and images outside it still remain in the file's data. To remove them for sure, convert the cropped pages to images.

How do I trim white margins from a PDF?↓

Click Auto-detect margins (trim whitespace). The tool renders the page, finds the area that contains text or graphics and puts the crop box around it with a small gap. For documents where every page is laid out differently, tick Detect the margins separately for every page.

Can I crop odd and even pages differently?↓

Yes. Scanned books often have the binding on alternate sides. Crop the odd pages first, download, open the result and crop the even pages with different margins.

Does it work with rotated or scanned pages?↓

Yes. The crop is applied to the page exactly as it looks in the preview, including pages that are rotated 90, 180 or 270 degrees. Scanned pages crop the same way; auto-detect works best on scans with a clean white background.

Is my PDF uploaded?↓

No. The page preview is rendered with PDF.js and the crop is written with pdf-lib, both inside your browser. The file never leaves your device; DevTools → Network shows no request carrying it.

All PDF Tools →

Last updated: