Crop PDF page margins to remove whitespace
Trim the margins of PDF pages to focus on the content that matters. You set how much to cut from the top, bottom, left, and right (in points, where 72 points equals 1 inch), either with the per-side sliders or with quick presets like Small, Medium, Header Only, or Binding Edge. The same crop is applied uniformly to every page by adjusting each page's crop box, and a simple diagram shows in red roughly how much will be trimmed from each side.
Initializing in your browser…
Crop and trim images with precision visual selection. Features aspect ratio presets (1:1, 16:9, 4:3), free-form cropping, grid overlays, and pixel-perfect adjustments for professional results.
Add your signature to PDF documents. Draw, type, or upload your signature, then position it anywhere on the page. Perfect for contracts, agreements, and official documents.
Combine multiple PDF files into one document
Scanned pages have huge white margins that waste space when printed two-up.
Input
scan.pdf · crop 18 mm off each margin, all pages
Output
scan.pdf with tightened margins, content centred
Cropping adjusts the visible page box so the content fills more of the sheet, improving print density and on-screen readability without resampling anything. A uniform crop across pages keeps the document consistent.
Trim the margins of PDF pages to focus on the content that matters. You set how much to cut from the top, bottom, left, and right (in points, where 72 points equals 1 inch), either with the per-side sliders or with quick presets like Small, Medium, Header Only, or Binding Edge. The same crop is applied uniformly to every page by adjusting each page's crop box, and a simple diagram shows in red roughly how much will be trimmed from each side.
Trim excessive whitespace from scanned documents or academic papers for easier reading on small screens.
Crop pages to a specific size required by a print shop or binding service.
Enable the Linked toggle and drag any slider to 54pt (0.75 x 72 = 54). All four margins follow, trimming the black scan border off every page. The Total Crop readout shows 216pt.
Click the Header Only preset to set Top to 72pt while Bottom, Left, and Right stay at 0, hiding the top inch of every page in the viewer without touching the other edges.
PDF Cropper trims page margins by setting four independent values - Top, Bottom, Left, and Right - each controlled by a slider that runs from 0 to 200 points in steps of 5 (the tool notes that 72 points equals 1 inch). There is no draggable crop box: the preview is a fixed illustration of a single page with red overlays whose thickness scales with each margin value, labeled with the point amount on each edge. Eight quick presets are available: None, Small (10pt all sides), Medium (25pt all sides), Large (50pt all sides), Extra Large (100pt all sides), plus three asymmetric ones - Header Only (72pt off the top), Footer Only (72pt off the bottom), and Binding Edge (72pt off the left). A Linked/Independent toggle lets you drive all four sliders to the same value at once, and a running 'Total Crop' counter sums the four margins; the Crop PDF button stays disabled until at least one margin is non-zero.
Under the hood the cropPDF function uses the pdf-lib library: it loads the file with PDFDocument.load, iterates every page, reads each page's width and height, and calls page.setCropBox(left, bottom, width - left - right, height - top - bottom). Because the same four margin values are passed for every page, cropping is applied uniformly across the whole document - there is no per-page selection in this build. Crucially, setCropBox only redefines the /CropBox, which is the visible rectangle a viewer displays; it does not delete or rewrite the underlying page content. The text, images, and marks that fall outside the new crop box are still present in the saved file. This is why cropping a PDF here rarely reduces the file size, and it is also why cropping is not a way to hide sensitive marginalia: anyone who resets or enlarges the crop box in another viewer can recover the trimmed-away content. For genuine removal you need redaction or rasterization, not a crop-box change.
Everything runs in the browser - the file is read with file.arrayBuffer() and processed client-side, never uploaded. On load the tool calls getPDFInfo to read and display the page count, then the crop step downloads the result as <originalname>_cropped.pdf with an application/pdf MIME type. A practical worked example: a page scanned with a 0.75-inch black border on every side needs 54pt on all four sliders (0.75 x 72), which you can set quickly by enabling the Linked toggle and dragging any one slider to 54. Note the 5pt slider granularity means you can only set margins in multiples of 5 from the UI, and presets like Header Only and Footer Only deliberately leave the other three sides at 0 so only one edge is trimmed.
Cropping changes the visible area but may not significantly reduce file size, since the hidden content can still be stored in the file. Use the compressor for size reduction.
The original file is not modified. Re-upload it to start fresh if needed.
PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.