Crop a PDF screenshot

Crop a PDF

Trim PDF margins in points or percent on the pages you choose. Both the crop box and the media box are set, so the margin is gone.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What Crop a PDF does

Trims margins in points or as a percentage of each side, on the pages you select. Both the crop box and the media box are set to the trimmed rectangle, so the margin is gone from the page rather than hidden behind a viewport — a viewer that ignores crop boxes still shows the cropped page. A margin that would leave no page at all is refused with the arithmetic that produced it.

How to use it

Crop a PDF: choose a PDF file from the file picker and press Run, after setting Margin unit (default "points"), Top margin (default 18), Right margin (default 18), Bottom margin (default 18), Left margin (default 18) and Pages to crop (2-5, odd, all), default "all" to get the cropped PDF below.

Why it runs in your browser

The work is done locally with JavaScript: pdf-lib is loaded on demand and rewrites the page tree in the tab, and the two rasterising pages draw each page on a canvas. That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.

Trims margins in points or as a percentage of each side, on the pages you select. Both the crop box and the media box are set to the trimmed rectangle, so the margin is gone from the page rather than hidden behind a viewport — a viewer that ignores crop boxes still shows the cropped page. A margin that would leave no page at all is refused with the arithmetic that produced it.

Trim PDF margins in points or percent on the pages you choose. Both the crop box and the media box are set, so the margin is gone.

How to use it

Crop a PDF: choose a PDF file from the file picker and press Run, after setting Margin unit (default "points"), Top margin (default 18), Right margin (default 18), Bottom margin (default 18), Left margin (default 18) and Pages to crop (2-5, odd, all), default "all" to get the cropped PDF below.

Why it runs in your browser

The work is done locally with JavaScript: pdf-lib is loaded on demand and rewrites the page tree in the tab, and the two rasterising pages draw each page on a canvas. That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.

What to Expect

Best for

  • Converting PDF file to cropped PDF when the data is already on screen.

What this tool keeps

  • That means the tool keeps working offline after the page loads, and a private document is never sent anywhere.

Frequently asked questions

How do I use the crop a pdf?

Crop a PDF: choose a PDF file from the file picker and press Run, after setting Margin unit (default "points"), Top margin (default 18), Right margin (default 18), Bottom margin (default 18), Left margin (default 18) and Pages to crop (2-5, odd, all), default "all" to get the cropped PDF below.

Is my input uploaded?

No. The file is read with the browser's File API and processed on this page; the bytes are never posted to a server.

Is there a size limit?

Yes. A page operation accepts up to 25 MB and 200 pages, and the two tools that have to draw every page accept up to 50 pages. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.