Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. PDF Tools
  3. PDF Cropper
Add to favorites

PDF Cropper

Trim what a PDF page shows, with a real preview

PDFs never leave your deviceMore pdf toolsJump to full guide

Initializing in your browser…

You might also like

Image Cropper

Whole-pixel crops with the rectangle typed or dragged, checked by decoding the output and comparing it with the pixels that went in. Quarter turns and mirrors are exact permutations, so nothing is clipped.

PDF Signature Tool

Draw, type or upload a signature and place it on the page a reader sees, at a width you can state in inches, on one page or every page. Transparent, so it does not hide the line you are signing on.

PDF Merger

Join PDFs into one document, with a bookmark for each file

PDF Cropper: a worked example

Scanned pages have huge white margins that waste space when printed two-up.

Input

scan.pdf 612 x 792 pt · Trim to content
What PDF Cropper produces

Output

CropBox [34, 31, 605, 761], showing 571 x 730 pt, MediaBox untouched, 0% of the ink hidden

Trim to content renders the pages, finds the ink on each, and keeps the tightest margin that works for all of them with six points of air added back, so the line under the preview reads zero marks hidden. Only the CropBox is written, so nothing is resampled and the crop is reversible: what falls outside is still in the file, which also means a crop is not a way to redact.

About the PDF Cropper

Trim the margins of PDF pages so the content fills more of the page. Set the four sides with sliders in points, inches or millimetres, take a preset, or press Trim to content and let the tool find the ink itself. The preview is a render of the actual page at its actual proportions, with the crop drawn on it and the part it hides dimmed, and it tells you how many of the marks on that page you are hiding. The arithmetic works from what each page currently shows, from where its box actually is, and through its own rotation, so a document of mixed sizes, mixed rotations and pages that were already cropped all come out right. One thing to be clear about: cropping writes a CropBox, which changes what a page shows. What falls outside is still in the file. This is not a way to redact anything.

Working with your PDF

  1. 1Upload the PDF. The first page is rendered so you can see what you are doing.
  2. 2Press Trim to content to have the margins found for you, or take a preset, or set the four sides yourself in points, inches or millimetres.
  3. 3Watch the preview: the dimmed area is what the crop hides, and the line underneath says how much of the page's ink that is.
  4. 4Page through the document with Previous and Next to check other pages, especially if the sizes or rotations differ.
  5. 5Optionally name the pages to crop; leave the box empty for all of them. Then crop and download.

Key features

  • A preview that is a real render of the page at its real proportions, not a diagram
  • A count of how much of the page's ink the crop hides
  • Trim to content: renders the pages, finds the ink, and keeps the tightest margin that works for all of them
  • Margins measured from what the page currently shows, so cropping an already cropped page tightens it
  • Correct on a MediaBox that does not start at the origin
  • Each side mapped through the page's own /Rotate, so "top" is the top you can see
  • Points, inches and millimetres, with per-side or linked sliders and eight presets
  • Square and 16:9 crops computed from the page you have
  • Only the CropBox is written, so the MediaBox, the text and everything else are untouched and the crop is reversible

Common scenarios

  • Removing large margins

    Trim excessive whitespace from scanned documents or academic papers for easier reading on a small screen. Trim to content does it without a guess.

  • Cutting a scanner border

    A flatbed leaves a black edge on every page. One linked slider takes it off all four sides at once, and the preview shows whether it is gone.

  • Preparing print-ready files

    Set an exact inch or an exact number of millimetres per side, on all pages or a named range, working from each page's own box rather than from an assumed one.

Tips & best practices

  • Cropping only sets the CropBox, so the hidden content is still in the file. To truly remove sensitive marginalia, rasterise the pages (the compressor can) or use proper redaction. This tool is not one.
  • Do not expect a smaller file: the trimmed marks are still embedded, so the saved PDF is about the same size as the original.
  • Trim to content is usually better than guessing at the sliders. It looks at the actual ink on up to 24 pages and keeps the tightest margin that works for all of them.
  • The line under the preview says how much of the page's ink the crop hides. If it is not zero and you did not mean it to be, you are cutting into the content.
  • Switch the units to inches or millimetres if points are not how you think. 72 points is exactly one inch and 25.40 millimetres.
  • A crop that asks for more than the page has is reduced to leave at least a quarter inch, and the tool names the sides it had to reduce rather than writing an impossible box.

Examples

  • Remove a scanner border on all sides

    Turn on Linked and drag any slider to 54 points, which is three quarters of an inch. All four margins follow, and the preview shows the border going and the ink staying.

  • Trim the whitespace automatically

    Press Trim to content. On a page whose ink runs from x 40 to 598.9 and y 35.9 to 754.4, it sets margins of about 34, 7, 31 and 31 points, and the hidden-ink line then reads zero because nothing on the page is cut.

  • Crop a document whose pages are rotated differently

    Set 100 points off the top. On pages at /Rotate 0, 90, 180 and 270 that writes four different boxes, and all four render 100 points shorter in the direction the reader is looking.

How it works

A crop is a CropBox. ISO 32000-1 clause 14.11.2 defines it as the region of a page to display or print, it must lie inside the MediaBox, and it defaults to the MediaBox when a page has none. Writing one changes what a page SHOWS. It does not change what the page CONTAINS, and this tool says so on the page rather than leaving you to find out: everything outside the box is still in the file, still extractable by anyone who opens it with the right tool, and a crop is therefore not a way to redact.

Three things follow from doing that arithmetic properly, and all three are places a cropper can be quietly wrong.

The margins come off what the page currently SHOWS, not off the MediaBox. On a page already cropped to an inset box, another ten points has to come off the inset box; measured against the MediaBox instead, "ten points more" can make the visible area BIGGER, which is not a crop.

They come off the box where it actually is. A MediaBox does not have to start at the origin, and offset boxes are ordinary in print work. Computing a crop as (margin, margin, width - margin, height - margin) puts it in the wrong place on any such page.

And "top" means the top you can see. /Rotate turns a page clockwise when it is displayed, so on a page at 90 the top of the picture is the left edge of the MediaBox. The tool maps each side through the page's own rotation, so a document whose pages are rotated differently all lose the same edge of what the reader sees.

The preview is a real render of the page at its real proportions, with the crop drawn on it and the hidden part dimmed, and underneath it a count: how many of the marks on this page the crop hides. Trim to content renders each page, finds the ink, and keeps the tightest margin that still works for every page with six points of air added back.

Frequently asked questions

Is cropping a way to hide sensitive information?

No, and this is the most important thing to know about it. Cropping writes a CropBox, which tells a viewer which part of the page to show. Everything outside it is still in the file and can be recovered by anyone who opens it with the right tool. To actually remove content, rasterise the pages or use proper redaction software.

Will the file get smaller?

No. Nothing is removed, so the size is about the same. If a smaller file is what you are after, the compressor is the tool for it.

What if my pages are rotated?

The tool reads each page's rotation and maps your four sides through it, so "top" always means the top of what you are looking at. A page at /Rotate 90 has its crop taken off the left edge of its MediaBox, which is the same thing seen from the file's side.

What if a page is already cropped?

Your margins come off what it currently shows, so cropping further always tightens. A cropper that measures from the MediaBox instead can make an already cropped page bigger when you ask for a smaller one.

Can I undo a crop?

Yes, because nothing was removed. Setting all four margins to zero on the cropped file restores its full MediaBox, and the text and graphics were never touched.

How does Trim to content decide?

It renders each page, finds the bounding box of the marks on it, and takes the tightest margin that still works for every page it looked at (up to 24 of them), then adds six points of air back so the crop does not sit on the outermost pixel of a glyph.

Related tools and how they differ

  • PDF Rotator: Rotates page orientation in 90 degree steps without changing dimensions; use it to fix sideways or upside down scans, not to trim margins.

Private by design

PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.