Why Are PDFs So Large?
A PDF is essentially a container format. It can hold text, vector graphics, fonts, and — crucially — embedded images. In most cases, images are responsible for 80–95% of a PDF's total file size.
Consider a typical scenario: you scan a 10-page document at 300 DPI. Each page becomes a TIFF or JPEG image around 3–5 MB. The resulting PDF weighs in at 30–50 MB. Or you export a presentation with high-resolution photos — the PDF easily reaches 100 MB+.
The text and vector content in a PDF is already compact. The images are where the bloat lives, and that's where compression makes the biggest impact.
How PDF Image Compression Works
When you compress a PDF, the tool extracts each embedded image, re-compresses it at a lower quality or smaller resolution, and reassembles the PDF with the optimized images. The text, fonts, links, and vector graphics remain untouched.
The key parameters are:
- Image quality (1–100) — Lower values mean smaller files but more visible compression artifacts. For documents with photos, 65–80 is usually the sweet spot. For scanned text documents, 50–65 works well because the content is high-contrast.
- Maximum image dimension — If a PDF contains a 4000×3000 px image but will only be viewed on screen or printed at letter size, downscaling to 1920 px or 1500 px dramatically reduces file size with no visible difference at normal viewing distances.
- EXIF stripping — Removes metadata from embedded images, saving a few KB per image.
Step-by-Step: Compress a PDF with Deflato
Deflato compresses PDFs by optimizing the embedded images — the same technique used by professional prepress tools, available in your browser.
- Go to deflato.com and log in (PDF compression is available on the Pro plan).
- Switch to document mode — Click the document upload area or drag and drop your PDF file.
- Adjust settings:
- Quality: Start at 75. For scanned documents, try 60. For PDFs with high-quality photos, use 80.
- Max dimension: Set to 1920 for screen viewing, or 2400 for print. Leave at 0 (unlimited) to keep original dimensions.
- Strip EXIF: Enable to remove image metadata.
- Compress — Click the process button. Deflato extracts every image, compresses it, and rebuilds the PDF.
- Download — The compressed PDF retains all text, links, bookmarks, and formatting. Only the images are smaller.
How Much Smaller Will My PDF Be?
Results vary depending on the content, but here are typical outcomes:
- Scanned document (300 DPI), quality 65: 60–75% size reduction
- Presentation export with photos, quality 75: 50–65% size reduction
- Report with a few charts and screenshots, quality 80: 30–50% size reduction
- PDF with vector-only content (no images): minimal reduction (there's nothing to compress)
A 40 MB scanned contract can often be reduced to 10–12 MB at quality 65 with no legibility loss. A 100 MB presentation deck typically shrinks to 35–50 MB.
Tips for the Best Results
Start with a Higher Quality and Work Down
Compress at quality 80 first, check the output, then try 70 and 60. You'll quickly find the lowest setting that still looks acceptable for your use case.
Downscale When Possible
If the PDF is only used for on-screen viewing (email attachments, web downloads), setting a max dimension of 1500–1920 px can cut file size in half compared to compression alone.
Don't Re-Compress Already Compressed PDFs
Each round of lossy compression degrades quality further. If a PDF has already been compressed, compressing it again at the same quality setting will make it slightly worse without much size reduction. Always start from the original.
Use Deflato's API for Batch Processing
If you regularly need to compress PDFs (e.g., a document management system or an invoice pipeline), the Deflato API lets you automate the process. Upload a PDF via the API, specify quality and max dimension, and get the compressed file back programmatically.
Conclusion
Oversized PDFs are almost always an image problem, not a text problem. By compressing the embedded images — reducing quality to a sensible level and downscaling where appropriate — you can typically shrink a PDF by 50–70% without any visible quality loss at normal viewing distances. Deflato handles this in a few clicks, or you can integrate it into your workflow via the API.