Tested and updated by the DocBelt team · · rewritten after test runs on a scanned booklet and a slide handout
Most of the cropping people need is on scans: a small booklet laid on an A4 scanner, a receipt in the middle of a big grey page, a book photographed with the table around it. The other common case is a handout where you only want the slides.
I tried both with made-up files: six pages of a parish newsletter, an A5 booklet scanned on an A4 flatbed with the lid not quite shut, and a four-page slide handout with note lines and an “internal draft” footer.
“Detect margins” gave me the whole page
Detect margins looks for anything that isn't close to white. On a clean PDF made from Word that's the text, and the frame snaps around it. On my scan the scanner glass came out light grey and the open lid left a dark band down one edge, so the whole page counted as content. The frame stayed at the full page, both for all six pages together and for page 1 on its own.
That's not rare. A lot of real scans have a grey or shadowed background, and then you set the frame yourself.

Odd and even pages need different frames
The booklet page doesn't sit in the same place on every scan. On odd pages it's left of centre with the dark band on the right; on even pages it's the other way round, because the booklet was turned over each time.
So I chose “Odd pages” and typed the margins to remove, in percent of the page: top 7, bottom 40.5, left 20.3, right 27. Then I clicked page 2, chose “Even pages” and swapped left and right. The counter said “6 of 6 pages will be cropped.” Typing is quicker than dragging handles once you've worked out the numbers on one page.

In the download every page is just the paper: page 1 and page 2 both come out at 314 × 442 pt, each cut from its own side of the scan.

Cropping hides, it doesn't delete
On the handout, Detect margins found the slide, the note lines and the footer, so it only trimmed the white border. I typed top 11, bottom 54.5 and 8.5 on each side to keep the slide alone, for all four pages.
Then I checked what was left in the file. Poppler's pdftotext no longer printed the footer, because it only reads inside the visible area. But when I decompressed the page content, the words “Internal draft” were still there. The booklet says the same thing in bytes: 3.78 MB before cropping, 3.78 MB after, because the full scans are still inside. Anyone who opens the file in an editor and resets the crop gets everything back.
If what's outside the frame must not reach anyone, black it out with Redact PDF instead, which removes it from the file.

What came out
| Booklet | scanned-booklet.pdf, 6 pages, 3.78 MB → 6 pages cropped, 3.78 MB, about 5 seconds |
|---|---|
| Frames | odd pages: left 20.3%, right 27%; even pages: left 27%, right 20.3%; top 7% and bottom 40.5% on all |
| Page size after | 314 × 442 pt (about 111 × 156 mm), media box and crop box the same |
| Handout | 4 pages cropped to the slide; the footer text is still in the page content |
The page size is set to the frame, so the cropped page prints at that size instead of floating in a white A4 sheet. Text and vector drawings are not rasterised; they stay as sharp and searchable as before.
Limits
- Detect margins only works on a white background. On grey or shadowed scans, type the margins or drag the frame.
- With all pages or odd/even pages, Detect margins uses one frame that fits every page it looks at, and it looks at the first 20.
- The kept area must be at least 5% of the page in each direction.
- Cropping doesn't make the file smaller and doesn't remove anything.