Trim White Margins From PDF
Detect the content on every page and crop away the empty white border, so scanned books and reports fill an e-reader screen instead of floating in space.
What is the Trim White Margins From PDF?
Scanned books and printed reports carry enormous margins that make sense on paper and waste half the screen on a tablet or e-reader.
- Automatic content-bounds detection on every page
- Whitespace tolerance slider for speckled or greyish scans
- Padding in millimetres so text does not touch the edge
- Uniform crop option that keeps a scanned book steady
- Optionally shrinks the media box so printers use the new size
- Crops rather than re-renders — no quality loss, no size increase
How to use the Trim White Margins From PDF
- 1
Drop the PDF onto the upload area.
- 2
Set the whitespace tolerance — higher values ignore fainter marks and scanner speckle.
- 3
Choose how much padding in millimetres to leave around the content.
- 4
Decide whether every page gets the same crop and whether the media box shrinks too.
- 5
Click Trim Margins, check the per-page table and download the trimmed PDF.
About the Trim White Margins From PDF
Scanned books and printed reports carry enormous margins that make sense on paper and waste half the screen on a tablet or e-reader. This tool renders each page, finds the tightest box around the actual content and moves the crop box in to match, with whatever padding you want left around the edge.
Nothing is re-rasterised. Only the crop box (and optionally the media box) changes, so the text stays real text, images keep their original quality and the file size barely moves. A whitespace tolerance slider decides how faint a mark still counts as content, which lets you ignore scanner speckle without losing a light grey rule.
By default the same crop is applied to every page, using the smallest margin found anywhere in the document. That keeps a scanned book steady while you scroll instead of jumping about page by page. All of it runs in your browser, and the PDF is never uploaded.
Frequently asked questions
How do I remove white margins from a PDF automatically?
Upload the file and click Trim Margins. Each page is rendered, the tool finds the smallest box containing the content and moves the crop box in to it, keeping the padding you chose.
Will trimming margins reduce the quality of my scan?
No. Only the page boxes change. The images and text inside are untouched, so the result looks identical apart from the missing white border, and the file size stays about the same.
Should I use the same crop on every page?
For a scanned book, yes — a per-page crop makes the text jump around as you scroll because every page trims slightly differently. For a mixed document with full-bleed pictures among text pages, per-page usually looks better.
What does the whitespace tolerance actually do?
It sets how dark a pixel has to be before it counts as content. Zero treats anything that is not pure white as content, which means scanner speckle keeps the margins. Raise it until the dust is ignored but real text is not.
Should I also shrink the media box?
Yes if you plan to print or send the file to an e-reader, because some tools ignore the crop box and use the media box. Leave it off if a downstream process needs the original page size.
Related tools
Crop PDF
Trim white margins off every PDF page by entering top, right, bottom and left values in mm, points or inches. Free, private and entirely in-browser.
Add Margins to PDF
Add white space around your pages by enlarging the page or shrinking the content, with margins in millimetres, inches or points.
Split PDF Pages in Half
Cut scanned two-page spreads into single pages. Choose a vertical or horizontal cut, add overlap at the seam and keep the text sharp and selectable.
Resize PDF
Scale every page of a PDF to A4, US Letter, Legal, A3 or A5 with the aspect ratio preserved and content centred. Free, private, in-browser resizing.
N-up PDF
Combine multiple PDF pages onto each sheet in a 2-up, 4-up, 6-up or 9-up grid to save paper. Free browser-based N-up tool with no upload.