PDF Whitespace Optimizer automatically detects and crops away the blank margins around the real content of every page. It renders each page, finds the ink bounding box using a pixel threshold, and shrinks the page CropBox to that area plus your chosen padding. Handy for cleaner reading, tighter print layouts, and scanned PDFs with huge scanner margins. Live preview shows the exact crop on the page before you commit. Everything runs in your browser with pdf.js and pdf-lib — nothing is uploaded.
What does PDF Whitespace Optimizer do?
Most PDFs — especially scans and exports from Word or InDesign — carry generous blank margins around the actual content. Those margins waste screen space, print space and reading attention. This tool finds the real content area of every page and crops the page down to it.
The result is a tighter, more readable PDF: content fills more of the screen, the viewer's "fit page" view shows more detail, and printing uses less paper without losing anything.
How do I crop blank margins from a PDF?
- Add your PDFDrag a PDF onto the upload card, browse from your device, or import from Google Drive or Dropbox. Everything runs in your browser with pdf.js and pdf-lib — nothing is uploaded.
- Detect whitespace on each pageThe tool renders each page and analyzes the pixel content to find the actual bounding box of ink. Purely blank pages are skipped and reported separately.
- Set padding and thresholdAdd a safety padding (in mm or points) so the crop doesn't cut into content. Adjust the sensitivity threshold — higher values ignore faint scans and JPEG noise.
- Crop and downloadPress Optimize PDF. Each page CropBox is shrunk to the detected content area plus the padding. Preview the result and download a new, tightly-cropped PDF.
Which sensitivity threshold should I choose?
| Level | Value | Best for |
|---|---|---|
| Strict | 10 | Clean vector PDFs — only pure white is treated as blank. |
| Normal | 20 | Recommended default for most documents. |
| Lenient | 40 | Documents with faint shading or JPEG compression noise. |
| Scans | 60 | Scanned pages with light gray paper texture. |
| Very lenient | 80 | Heavily textured paper, low-contrast scans. |
When would you crop PDF whitespace?
Scanned documents
Scanners often leave huge margins — tight crop makes pages readable and saves ink.
Word / InDesign exports
Those exports often carry intentional margins you want for print but not for reading.
Mobile reading
Tight pages fit phone screens better — more content, less scrolling.
Print without waste
Reduce page size or fit more pages per sheet without losing content.
Book scans
Chapter scans have asymmetric margins — crop per-side with padding.
Presentations
Slides exported with wide margins look better cropped for the slide viewer.
Cleaner previews
Thumbnails and contact sheets look tighter after crop.
Does the tool upload my PDF to a server?
No. Everything runs in your browser using pdf.js and pdf-lib. Your PDF never leaves your device, so it is safe for contracts, invoices, scans and confidential documents.
- Local rendering. Pages are drawn on canvas inside your browser.
- Local analysis. The bounding box is detected from pixel data locally.
- No account needed. Crop PDFs without logging in. Read our privacy policy for details.
Tips for clean crops
- Add a small padding. 2–5 mm is enough to keep descenders and edge glyphs safe.
- Test one page first. Use "Current page only", check the preview, then apply to all.
- Raise the threshold for scans. Paper texture is not content — the scanner adds a light gray background that would otherwise be treated as ink.
- Use uniform crop if you want every page to end up the same size (based on the largest content across the PDF).
- Combine with related tools. After cropping, use Margin Adjuster to add uniform margins back, or Compress PDF to shrink the file.
Common problems and quick fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Crop cuts into content | Threshold too high — faint content treated as blank. | Lower threshold or add more padding. |
| Margins still look big | Threshold too low — paper texture treated as content. | Raise threshold to 40–60, especially for scans. |
| Blank pages disappear | Skip blank pages is on. | Turn it off if you want to keep blank pages as-is. |
| Every page is a different size | Uniform crop is off (default is per-page). | Enable "Uniform crop size" to normalize all pages to the largest. |
| Output looks the same | Content already filled the page. | Nothing to crop — the tool reports 0% average saving. |
Related tools
Frequently asked questions
What does PDF Whitespace Optimizer do?
Does it upload my PDF to a server?
Is the content really removed or just hidden?
What is the threshold and why should I change it?
What does padding do?
Can it crop only some pages?
What happens with blank pages?
Will it affect text selection or links?
Does it work on scanned PDFs?
Is there a file-size or page-count limit?
Ready to crop your PDF's whitespace?
Drop a PDF, tune the sensitivity, and download a tightly-cropped file in seconds. Free, private, no signup.
Optimize PDF now