Compressing a PDF: what actually shrinks, and what you lose
Compression targets images, not text. That one fact explains why some PDFs shrink 90 percent and others barely move.
Here is the thing almost no compression tool explains: PDF compression mostly works on the images inside the document. Text is already stored efficiently and there is very little to squeeze out of it. So a 40-page text report might shrink by 5 percent, while a 3-page scanned document can drop by 90 percent.
That single fact tells you whether compression will help before you try it. If your file is large and mostly text, something else is wrong, usually an embedded font set or a huge vector graphic. If it is large because it contains scans or photos, compression will work well. The ToolHub compressor lets you pick a quality level rather than guessing at a single preset.
Compress PDF: the facts that matter
| What shrinks | Embedded images, mostly |
| What does not | Text, which is already compressed |
| Typical scan reduction | 60 to 90 percent |
| Typical text-only reduction | 2 to 10 percent |
| Reversible | No. Keep the original |
How to do it, step by step
- 1Open the PDF compressor in ToolHub.
- 2Note your target size first. Portal limits are usually 2 MB, 5 MB or 10 MB, and knowing the number stops you over-compressing.
- 3Start with the medium quality setting rather than maximum compression.
- 4Check the output at 100 percent zoom, specifically any small text inside images. That is where over-compression shows first.
- 5If it is still too large, compress the source images before rebuilding the PDF rather than compressing the PDF twice.
Three things worth knowing
- Always keep the original. Compression is lossy and there is no undo.
- Scanning at 600 dpi and then compressing is worse than scanning at 200 dpi in the first place.
- A file that is large for no visible reason is worth investigating rather than compressing. CodeAiMan's website speed guide makes the same point about images on web pages.
Common problems, solved
Where to run it
This tool is part of the ToolHub tool library, a library of over 1,000 browser-based tools covering PDF, image, video, audio, text and developer work. Everything runs in the browser and none of it needs an account.
ToolHub is built by codaiman.com, an AI-first software company in Ahmedabad. Related to this page: How to improve website speed codeaiman guide to diagnosing and fixing slow page loads.
Compress PDF, in the browser: no install, no sign-up, no upload queue. Part of the ToolHub library from CodeAiMan.
Open ToolHubRelated tools
Merge PDF
Combine several PDFs into one, control the page order, and avoid the two mistakes that produce a broken output file.
Read guideCompress Image
Most images can lose 60 to 70 percent of their size with no visible difference. Here is where the line actually is.
Read guidePDF to JPG
The whole job comes down to one setting: DPI. Pick it wrong and your text is unreadable or your file is enormous.
Read guide