inyourbrowser.com

Crop PDF Online

Drop a PDF, drag a rectangle on the live preview, and download a cropped copy. Each selected page is resized to the rectangle (both the MediaBox and CropBox are set to it) so the cropped region becomes the page in every viewer. All processing runs in your browser.

Drop a PDF here or click to browse

How it works

pdfjs-dist renders the first page to a canvas in your browser. You drag a rectangle over the canvas to mark what to keep. When you click apply, pdf-lib opens the same PDF and sets both the MediaBox and CropBox of each selected page to the chosen rectangle (converting canvas pixels back to PDF user-space coordinates), then writes a new file for download. Setting both boxes means every viewer renders the cropped region as the page; the content streams outside the rectangle remain in the file but are clipped.

Processing runs in your browser

All cropping happens inside your browser tab. The preview is rendered with pdfjs-dist and the cropped PDF is written by pdf-lib in memory; our servers are not involved at any point. You can verify this yourselfin your browser's DevTools Network tab.

Related operations

To reduce file size after cropping, try compress PDF. To rotate pages before cropping, use rotate PDF. For per-page cropping, split first with split PDF.

Frequently asked questions

How do I crop a PDF in the browser?
Drop your PDF onto the tool. The first page appears as a preview with a draggable rectangle. Adjust the rectangle, choose whether to apply the crop to every page or only the first, and click Crop and download.
Does cropping reduce the PDF file size?
Usually not. Cropping resizes the page boxes but leaves the underlying content streams in the file, so they can be restored later. To also shrink the file, use the compress PDF tool after cropping.
Will the cropped content be lost forever?
No. Cropping resizes the page boxes but leaves the content streams in the file, so the area outside the rectangle can be brought back by another tool. If you need to permanently remove content, convert the cropped PDF to images first with the PDF to image tool.
Can I crop different pages differently?
This tool applies one crop rectangle to either all pages or only the first page. For per-page cropping, run the tool repeatedly on subsets of the PDF, or split it first using the split PDF tool.
Is my PDF uploaded to a server?
All cropping happens in your browser using pdfjs-dist for rendering and pdf-lib for writing. Our servers are not involved at any point.

Related tools

Compress PDF
Reduce PDF file size in your browser. Lossless optimisation or image re-rendering.
Rotate PDF
Rotate or flip PDF pages 90°, 180°, or 270°. Adjust individual pages or all at once.
Split PDF
Extract specific pages or page ranges from any PDF. Download the result instantly.
PDF to Image
Convert PDF pages to JPEG or PNG images. Download individually or all at once.