Compress PDF
Make PDF files smaller in your browser.
Make images or PDFs smaller.
- JPG · PNG · WebP · Text · Word
- Word
- PDF · Text
This is free and always will be. Buy me a coffee
Your files are processed by your own browser and never sent to a server.
What compressing PDF actually does
Each page is rendered to an image and the images are written back into a new PDF. For a scan, which is already a picture of a page, that is exactly right and the saving is large.
What a real PDF gives up
A 30 MB scanned document routinely comes back at 3 to 5 MB, which is the case this is really for. A text PDF behaves completely differently: a 400 KB report of real text can come back larger than it went in, because the pages have been turned into pictures and a picture of a page of text takes more space than the text did. The rule is simple enough to apply before you start. If you can select the words in a PDF reader, compressing it here is probably the wrong move; if you cannot, it is a scan and this will help a great deal.
The part that makes this irreversible
For a PDF with real text in it, this is the wrong tool. The text stops being selectable and searchable, and a text PDF is usually small already. The panel warns you before you press the button rather than after.
More on why a PDF gets large, and when compressing it is the wrong move.
Questions about compressing PDF
Why does compressing a PDF turn the text into an image?
Because a browser cannot reach inside a PDF and re-encode the images buried in it, which is what a desktop tool like Ghostscript does. What a browser can do is render each page and save the result as a picture, which is what happens here. That shrinks a scan enormously, because a scan was already a picture. It also flattens any real text into pixels, which is why the panel says so before you press the button rather than after.
What do I lose besides selectable text?
Searching, copying and screen-reader access, all of which depend on the text being text. Links stop working, form fields stop being fillable, and any bookmarks or outline structure goes. For a scanned receipt none of that existed anyway. For a contract or a report it is a serious loss, and the honest alternative is to reduce the file another way: split out the pages you actually need, or go back to whatever produced it and export at a lower image resolution.
Is there a way to shrink a text PDF without ruining it?
Not in a browser, and it is better to say so than to pretend. Properly shrinking a text PDF means subsetting the embedded fonts and recompressing the images inside it while leaving the text objects alone, which needs a real PDF library working on the file's internal structure. Ghostscript does it locally and well. If the file is large because somebody dropped in photographs at print resolution, exporting again from the source document is usually faster than any of this.
Why did compressing my PDF make it bigger?
Because it was already efficient and the tool had nothing to win. A PDF that is mostly text is tiny to begin with - the text is stored as characters and instructions, not as a picture of a page - so turning those pages into images can only add bytes. When the result would be larger, the original is handed straight back rather than replaced, and the tile says the size did not change. If a text PDF is genuinely too large, the cause is nearly always an embedded font or a scanned page hiding among the real ones.
Compress something else
The same tool compresses JPG, PNG and WebP. With no format in mind, fit any image under a size.