Choosing a PDF Compression Level: Size vs Quality
Every few months someone asks the same question: "Why is my PDF 40 MB, and how do I get it under the 10 MB limit of this upload form?" The honest answer is that compression is a trade. You give up some image detail to get a smaller file, and the right amount to give up depends on what the document is and who will read it.
This article explains where PDF size actually comes from, what the three levels in PDFLeo's Compress PDF tool are meant for, and how to test a result so you do not send something unreadable.
Where PDF file size comes from
A PDF is a container. Inside it you can find text, fonts, vector drawings, and images. In most documents the first three are tiny. A page of plain text might take a few kilobytes. Images are different: a single phone photograph can take several megabytes, and a scanned page is essentially one big picture of a sheet of paper.
So when a PDF is large, the cause is almost always one of these:
- Scans. A 20-page scan at high resolution can easily outweigh a 300-page text report.
- Photos pasted into Word or PowerPoint at camera resolution, then exported to PDF.
- Embedded fonts in documents that use many typefaces, which matters mainly for short documents.
- Merging many already-large files into one.
Knowing which case you are in tells you what to expect. A text-only PDF will barely shrink. A scan can shrink a lot.
What the three levels in PDFLeo do
The Compress PDF tool offers a quality choice with three options. Behind them is Ghostscript, a long-established PDF engine, running in your browser. The options map to Ghostscript's standard presets:
- Smallest file (lower quality) uses the
/screenpreset. Images are reduced to roughly screen resolution, which is good for reading on a monitor and can look soft in print. - Balanced uses the
/ebookpreset. This is the default and a sensible first try: images are reduced to a middle resolution that stays readable for most on-screen and office use. - Higher quality (larger file) uses the
/printerpreset. Images keep more detail, so the savings are smaller, but the output holds up better if someone prints it.
The exact savings depend entirely on the input. Two PDFs of the same size can come out very different, so we do not promise any percentage. The tool also has a safety rule: if the compressed version is not smaller than your original, it hands back the original unchanged rather than a bigger file.
A practical way to choose
Start with Balanced
Run your file at Balanced and look at the new size. If it already meets your limit, stop there. Many people jump straight to the smallest setting and then wonder why their signature looks fuzzy.
Go smaller only when you must
If Balanced is still too large, try Smallest file. This is reasonable for documents that will only be read on screen, such as a form uploaded to a portal, or a long scan sent for reference. It is a poor choice for photographs, drawings with fine lines, and anything with small print.
Use Higher quality for anything that will be printed or archived
If a design proof, a brochure or a signed original has to look right on paper, start at Higher quality. You may save less, but you will not have to redo the job.
A before-you-send checklist
After compressing, open the new file next to the original and check:
- Smallest text. Zoom to 100 percent on footnotes, tables and stamps. If you cannot read them comfortably, the level was too aggressive.
- Signatures and stamps. These are images in many documents. Look for blur or jagged edges.
- Photos and charts. Look for visible blocks or banding in gradients.
- Selectable text. Try selecting a sentence. If you could before, you should still be able to. Ghostscript presets normally leave real text as text, but check, because the behaviour depends on how the source file was built.
- Links and forms. If your PDF has clickable links or fillable fields, click a few. Interactive features are the part most likely to be affected by any optimisation step.
- Page count. It should match the original exactly.
Other ways to shrink a PDF before compressing
Compression is not the only lever, and sometimes it is not the best one.
- Remove pages you do not need. Dropping a blank back page or a duplicated cover costs nothing in quality. Use Remove PDF Pages.
- Re-export from the source. If you still have the Word, PowerPoint or design file, export again with a "minimum size" or "standard" option. That is often cleaner than compressing afterwards.
- Resize photos before they go into the document. A photo displayed at 10 cm wide does not need 4000 pixels.
- Rescan at a lower setting. For text documents, a clean 150 to 200 dpi black-and-white scan is usually readable and much smaller than a 600 dpi colour one.
- Split instead of shrinking. If a recipient has a size limit but can accept several emails, splitting by page ranges keeps full quality.
What compression cannot do
A few limitations are worth saying plainly. Compression is lossy for images, so you cannot get the lost detail back later; always keep the original. A PDF that is already efficiently built may not shrink at all, in which case the tool returns your original file. Heavily protected or damaged PDFs may fail to process; for damaged files, try Repair PDF first. And the tool needs to download its engine on first use, so it will not run fully offline.
If you need to compress, then merge, order matters a little: merging first and compressing once is usually simpler than compressing every piece separately. See our guide on merging without losing order.
Frequently asked questions
Why did my file barely get smaller?
It probably contains mostly text and vector graphics, which are already compact, or it was already compressed by whatever program created it. In that case there is little to remove.
Does compression remove the text layer from my document?
The Ghostscript presets used by PDFLeo are designed to reduce image data and normally keep text as text. Results vary by file, so always test whether you can still select and search text in the output.
Is it safe to compress a confidential document?
The processing happens in your browser rather than on a PDFLeo server. Even so, follow your organisation's rules for sensitive material, and keep the original.
Can I compress the same file again to make it smaller?
You can, but each round of image compression adds more loss and the gains drop quickly. It is better to go back to the original and pick a different level once.
Open Compress PDF More articles
This article is general educational guidance, not legal or professional advice. Tool behaviour can change, so always check the downloaded result.