PDF Tools
Crop PDF
Last updated: June 17, 2026
A PDF cropper is a page layout utility that modifies the visible boundaries of a PDF page by defining a custom CropBox. This box hides margins or headers/footers in compliant PDF viewers without deleting the underlying source content.
Adjust PDF page boundaries and crop margins. Everything runs inside your browser for total safety and privacy.
Quick Answer
Crop PDF margins instantly. Enter crop percentages for each boundary and download the cropped PDF document.
Drag and drop your files here, or browse
Supports .PDF files up to 20MB
Examples
Trim headers & footers
Crop 10% from top and 10% from bottom
Crop side margins
Crop 5% from left and 5% from right
How it works
When you load a PDF, it is initialized inside a pdf-lib document reader.
For each page, the script fetches the original boundaries using page.getCropBox() or page.getMediaBox().
The margins you define are subtracted from the page width and height, shifting the origin coordinate (x, y) and adjusting the crop box values.
Calling page.setCropBox(x, y, width, height) updates the page metadata. The browser triggers download once compiling is done.
Privacy Priority. Since the conversion takes place entirely client-side, your files are never exposed to the internet or external servers.
Related Calculators
More tools from PDF Tools
Frequently asked questions
Select your PDF file. Enter the margins to crop (top, bottom, left, and right) in percentage of page size. Click Crop PDF to crop the margins locally, and download your cropped document.
Yes. In the PDF specification, cropping sets the 'CropBox' bounding box. Compatible PDF readers will hide content outside of the CropBox and render the pages at the new dimensions.
Yes, 100%. The cropping calculations occur entirely in your browser using JavaScript. No documents or data are uploaded to a server, keeping your information private.
Related calculators
PDF Tools
PNG to PDF
Convert PNG images to PDF files directly in your browser. Local processing ensures 100% security with no uploads.
PDF Tools
Rotate PDF
Rotate PDF pages online by 90, 180, or 270 degrees. Apply to specific pages or the entire document locally.
PDF Tools
Extract PDF Pages
Extract specific page numbers or ranges from a PDF document to generate a new PDF file locally.