Crop PDF
Trim margins from every page of a PDF in your browser by setting top, bottom, left, and right margins.
Crop PDF — Crop PDF removes the outer margins of a PDF by shrinking each page's crop box and media box by the amounts you choose. You set the top, bottom, left, and right margins in millimeters or as a percentage of the page, and the cropped file is rebuilt automatically as you type. Everything runs locally with pdf-lib inside your browser, so the document is never uploaded.
What is Crop PDF?
Crop PDF is a free, browser-based tool that trims the margins off every page of a PDF. You give it four numbers — top, bottom, left, and right — and it cuts that much off each page, keeping the rest. It is handy for removing wide scanner borders, stripping printer crop marks, tightening slide decks for reading on a phone, or cleaning up the whitespace around a scanned document before merging or printing. Switch the unit between millimeters and percent to crop by an exact size or relative to each page, and a live preview shows the original next to the cropped first page so you can check the result before downloading.
How to use Crop PDF
- Drag and drop a PDF onto the dropzone (or click to choose a file). The tool reads it and shows the page count and first-page size in points.
- Pick a unit — open Settings to switch between millimeters (mm) and percent (%) of the page.
- Enter how much to trim in the Top, Bottom, Left, and Right fields. Each value cuts that amount off the matching edge of every page.
- Watch the cropped first page rebuild automatically next to the original; click either preview to enlarge it in a lightbox.
- Click Download to save the cropped PDF, or use Reset to clear the file and start again.
Examples
Remove a scanner border
A scanned contract has a wide white frame on all sides. With the unit set to mm, enter 12 in each of Top, Bottom, Left, and Right to shave 12 mm off every edge, then download the tightened PDF.
Crop a percentage off the top and bottom
A slide deck exported to PDF has tall empty bands above and below each slide. Switch the unit to %, set Top and Bottom to 8 and leave Left and Right at 0 to trim 8% from the top and bottom of every page.
Trim only one side
Set Left to 20 mm and the other three fields to 0 to crop just the left edge — useful for removing a binding margin before printing.
Frequently asked questions
- Is my PDF uploaded to a server?
- No. Cropping runs 100% client-side in your browser with pdf-lib. The file is read and rewritten locally and is never uploaded, so even confidential documents stay private.
- Does it crop every page or just the first?
- Every page. The margins you enter are applied to all pages. The preview shows the first page so you can judge the result quickly.
- What is the difference between mm and percent?
- Millimeters trim a fixed physical size from each edge, so the same number works the same on any page. Percent trims relative to each page's own width or height, which is useful when pages differ in size.
- Does cropping delete the trimmed content or just hide it?
- It sets a smaller crop box and media box, so viewers and the next tool see only the cropped area. The trimmed region is no longer part of the visible page.
- Why do I see an error that the margins are too large?
- If the left plus right margins (or top plus bottom) leave nothing of the page, there is no area left to keep. Lower the values so some of the page remains, then it will rebuild.
Related tools
Image Format Converter
Convert images between AVIF, WebP, PNG, JPEG, BMP, ICO and single-frame GIF entirely in your browser.
Excel/CSV to JSON
Convert an Excel or CSV spreadsheet into JSON or CSV right in your browser.
EXIF Viewer & Metadata Remover
View an image's EXIF metadata — camera, lens, capture date, and GPS location — then strip every tag and download a clean copy, all in your browser.
Favicon Generator
Turn one PNG or JPG image into 16, 32, 48, 180 and 512 px square icons in your browser.