Crop PDF Online

Remove unwanted margins, trim pages, or resize PDF content. Crop specific pages or apply to the entire document. Instant results in your browser.

Your files never leave your device
Drop PDF here or click to browse

Supports PDF files · up to 100 MB

How It Works

  1. Upload a PDF file using the drop zone or file browser.
  2. Preview the page and adjust the crop area by dragging edges or entering precise margin values.
  3. Choose to apply the crop to all pages or just the current page.
  4. Click 'Crop PDF' to apply the changes and download your cropped document.

When Do You Need PDF Cropping?

Cropping PDFs is essential for removing excessive margins from scanned documents, resizing pages to fit specific dimensions, or preparing documents for printing or digital sharing. Whether you have a document with large white borders or need to standardize page sizes across a batch of PDFs, this tool handles it instantly in your browser.

Cropping Options

Frequently Asked Questions

Can I crop individual pages with different dimensions?

Yes. Select "Apply to current page only" and set your crop dimensions, then navigate to another page and apply a different crop if needed.

What is the maximum file size?

PDF files can be up to 100 MB. Processing happens in your browser, so very large files may take a few moments depending on your device.

Will cropping affect the quality of my PDF?

No. Cropping is a non-destructive operation that simply removes margins and adjusts page boundaries. All remaining content maintains its original quality.

Can I preview the crop before applying it?

Yes. The preview canvas shows your PDF page with the current crop area highlighted. Adjust the crop box or enter margin values to see the result in real-time before downloading.

Is my PDF uploaded to a server?

No. All cropping happens locally in your browser. Your PDF never leaves your device, ensuring complete privacy and security.

What "PDF crop" actually means

The phrase "crop a PDF" sounds like the operation crops an image: pixels outside the rectangle are discarded, the file shrinks, and the original content is gone. That is not what a PDF crop does. A PDF crop changes one of the five page-bounding rectangles in the page dictionary. The content itself, which is a stream of drawing operations (move pen, stroke, fill, place glyph, draw image), is preserved exactly as it was. The crop only changes which rectangle of that content the reader is supposed to display. Open the cropped file in a reader that ignores the rectangle and the original margins reappear unchanged.

This matters for three practical reasons. First, file size is essentially unchanged after a crop; the bytes representing the "cropped-away" content are still in the file. Second, the original margins can be recovered by any reader or tool that resets the relevant page box. Third, text that the eye-cropped portion contains is still selectable, copyable, and indexable by search engines, even though it does not render on screen. If the goal is to permanently delete margin content (for instance, a confidential header that must not be recoverable), the right operation is redaction followed by a re-rasterise, not a crop.

How this tool works

This tool combines two open-source libraries that have become the de-facto standards for in-browser PDF work. pdf-lib by Andrew Dillon handles structural operations: loading a PDF into an object graph, navigating page dictionaries, and writing a modified PDF back out. pdf.js by Mozilla handles the rendering side: drawing each page to a canvas so you can see the page and position the crop rectangle visually. Together they let the entire crop operation run inside the browser tab without any server contact.

When you press Crop PDF, the tool calls page.setCropBox(x, y, width, height) on each target page through pdf-lib. The arguments are in PDF user-space points, with the origin at the lower-left of the MediaBox. The tool converts your margin percentages to the page's actual MediaBox dimensions, then to the lower-left/upper-right convention pdf-lib expects. The modified PDF is serialised through pdf-lib's save(), wrapped in a Blob, and offered to the browser as a download. No bytes leave the tab during the operation. The roughly 1.3 MB pdf-lib bundle and the roughly 800 KB pdf.js bundle are cached after the first visit, so the tool loads instantly on return.

The five page boxes in the PDF specification

Every PDF page dictionary can carry up to five rectangles, defined in ISO 32000 section 14.11.2. Each rectangle is four numbers in default user-space units (one unit equals 1/72 inch), encoded as [llx lly urx ury] where ll is the lower-left corner and ur is the upper-right corner. Coordinates increase up and to the right, so the lower-left of a US Letter page is [0 0] and the upper-right is [612 792]. This tool sets the CropBox; the other four are left untouched.

The PDF coordinate system, and why margin percentages are easier

PDF coordinates put the origin at the lower-left of the page and increase upward, which is the opposite of screen coordinates (origin at upper-left, y increases downward). The tool surfaces margin values from the top to match user expectations ("trim 5% from the top"), but internally flips the y-axis to translate that into the lower-left-anchored rectangle pdf-lib expects. Getting this wrong by a single flip is the most common bug in homemade PDF crop scripts: the cropped output ends up showing the bottom of the page when the user asked to keep the top, or vice versa.

The percentage-based margin inputs handle international page sizes uniformly. A4 paper is 210 x 297 mm, which is 595.276 x 841.89 PDF points. US Letter is 8.5 x 11 inches, which is 612 x 792 points. Some PDF generators produce non-standard sizes (Legal 8.5 x 14, A3, custom sizes from scanned documents). The tool reads the MediaBox dimensions from each page and computes the crop rectangle from the percentages, which works for any page size including the heterogeneous mixtures sometimes found in scanned documents.

Crop versus resize, trim, redact, and rotate

Several PDF operations sound similar but produce different results. Picking the wrong one is the source of most "the file did not change the way I expected" support tickets.

Real-world workflows that drive PDF cropping

Common pitfalls and what they mean

Browser-only versus cloud crop

The cloud PDF-crop services that fill the top of search results (Smallpdf, ILovePDF, PDF24 web, Sejda, Adobe Acrobat Online) all upload your PDF to their servers and run the crop server-side. The privacy implications are the same as any other cloud upload: the file transits the operator's network and exists briefly in operator logs and memory. The major operators publish privacy policies committing to deletion within hours and TLS in transit, and they have strong commercial reasons to comply, but "deletion within hours" is not "never seen."

This tool does not upload the file. The crop runs entirely in the browser tab using pdf-lib and pdf.js. You can prove it: open the browser developer tools to the Network tab before clicking Crop PDF, run the operation, and observe that no request fires with your file content. The trade-off is feature scope. Cloud services often offer "auto-detect margins" through OCR-style content-boundary detection, useful for batch work on hundreds of scanned pages. This tool offers a manual margin input plus three presets ("Remove Margins" for a small uniform inset, "A4 Center Crop" and "Letter Center Crop" for centred crops to standard paper sizes). For documents where the right crop is obvious by inspection, manual is faster than waiting for auto-detect; for documents where the content boundary varies across pages, auto-detect would save time.

More frequently asked questions

Does the crop look the same in every PDF reader?

Yes, in modern readers. Adobe Acrobat, Preview, Foxit, Chrome's built-in PDF viewer, Firefox's pdf.js, mobile PDF apps, and most e-reader software all respect the CropBox. A few specialised tools (some command-line text extractors, some accessibility tools) work from the MediaBox and ignore the CropBox; for those, the cropped-away content is still accessible.

Can I reset the crop on a previously cropped PDF?

Yes. Open the previously cropped PDF here and set the margins to zero (or load and discard without cropping). The tool always writes a new CropBox; if the new CropBox matches the MediaBox, the visible region returns to the full page. The original "cropped-away" content is still in the file and becomes visible again.

Can I crop a password-protected PDF?

Not directly. PDFs with an open password cannot be parsed by pdf-lib until the password is supplied. Use the PDF Unlock tool to remove the password first, then crop the unlocked copy here, and optionally re-apply protection with the PDF Protect tool.

How do I crop a PDF for Kindle or other e-readers?

Cropping is the standard way to make a PDF readable on a small e-reader screen. Use the "Remove Margins" preset or set tight margins manually. Email the cropped PDF to your Kindle's @kindle.com email address or transfer via USB. Most modern e-readers respect the CropBox, so the cropped reading area is what you see.

Will signatures still be valid after a crop?

No. Cropping rewrites the page dictionaries, which changes the document bytes. Digital signatures attached to the original byte sequence become invalid. For signed PDFs, crop only when the signature is no longer needed, or re-sign afterwards using whatever signing tool the workflow uses.

Is there a desktop or command-line equivalent?

Yes. cpdf exposes the same operation through cpdf -cropbox "0 0 500 700" input.pdf -o output.pdf; free for non-commercial use, paid licence for commercial batch work. mutool from the MuPDF project handles the same operation through its lower-level CLI. For Python pipelines, pypdf and pikepdf expose page.cropbox as a mutable rectangle. For Node pipelines, pdf-lib (the library this tool uses) exposes setCropBox in the Node runtime.

Related Tools