Compress PDF
Work on your PDF locally. Nothing is uploaded, nothing is stored.
Related tools
What is the Compress PDF?
Compress PDF shrinks a PDF file using one of two honestly different strategies, and it does not promise a compression ratio it cannot deliver. "Clean" mode is lossless — it strips metadata (title, author, producer, keywords) and re-saves the file with optimized internal object streams, keeping text fully selectable, but the size reduction is usually modest. "Rasterize" mode renders every page to a JPEG at a DPI and quality you choose, then rebuilds the PDF from those images — this can shrink large scanned or image-heavy files a lot, but it makes the entire document a picture: text is no longer selectable, searchable or accessible to a screen reader. Everything runs in your browser, so a confidential file is never uploaded anywhere.
The two modes exist because there is no single "safe" way to compress every PDF. A contract full of body text needs its selectable text preserved even if the file barely shrinks. A stack of scanned receipts is already just images, so rasterizing it at a lower resolution can cut its size dramatically with no meaningful loss. This tool lets you pick the trade-off instead of hiding it behind an "optimize" button.
Why use a free compress pdf?
No invented compression numbers
The tool never claims a fixed "reduces PDFs by X%" figure, because the achievable reduction depends entirely on what is already inside a given file — a claim like that would be false for most PDFs most of the time.
A genuinely lossless option
Clean mode keeps every character, font and image byte-for-byte intact — it only removes metadata and rebuilds the file's internal structure more efficiently.
Real size reduction when you need it
Rasterize mode gives you direct control over resolution (72–220 DPI) and JPEG quality (30–95%), so you can trade visual fidelity for file size deliberately, on image-heavy or scanned documents where it matters.
Runs entirely in your browser
Your PDF is read, processed and rebuilt on your own device. It is never uploaded to a server, which matters for anything confidential.
Shows the real before/after size
The result panel reports the exact original and compressed file sizes and the actual percentage saved — or, honestly, if the file grew instead of shrinking, tells you that too.
How do you use the Compress PDF?
- 1
Drop in your PDF
The file loads and its current size is shown.
- 2
Choose a strategy
Pick "Clean (lossless)" to strip metadata and optimize file structure without touching content, or "Rasterize images" to shrink the file by converting every page to a compressed JPEG.
- 3
Adjust settings if you chose rasterize
Set the resolution (DPI) and JPEG quality. Lower values produce smaller files but blurrier pages and, at low quality, visible JPEG artifacts.
- 4
Compress and review the result
The result panel shows the original size, the new size, and the real percentage difference — including if the file did not shrink.
- 5
Download
Save the compressed PDF directly to your device.
What does it look like in practice?
A 12-page report with photos
Input
8 MB PDF, mix of body text and embedded photos
Result
About 5.4 MB in lossless mode, or about 1.1 MB rasterized at 120 DPI / 72% quality
pdf-lib cannot re-encode the embedded photos in lossless mode, so most of the saving there comes from removed metadata and more efficient object streams. Rasterizing achieves the bigger reduction because it re-encodes every page — including the photos — as a fresh, lower-resolution JPEG, but the report's body text is no longer selectable afterward.
A 3-page text-only NDA
Input
340 KB PDF, pure text with an embedded font, no images
Result
About 318 KB in lossless mode (roughly 6% smaller)
A short text document has very little metadata or structural overhead to remove, so lossless compression only shaves off a small amount. Rasterizing this file would shrink it further, but doing so to a legal document you need to keep text-selectable would be counterproductive.
How accurate is it?
Neither mode is a general-purpose "shrink any PDF by X%" tool, and this page will not claim otherwise. Clean mode is lossless: pdf-lib, the library behind it, cannot decode and re-encode images that are already embedded in a PDF, so it can only remove metadata and rebuild the file with more efficient internal object streams — real, but usually a small percentage. Rasterize mode achieves much larger, genuinely measurable reductions on image-heavy or scanned PDFs, because it discards the original page content entirely and replaces every page with a freshly compressed JPEG at the DPI and quality you set.
- Clean mode never touches page content — text, fonts, vector graphics and images are preserved exactly. It only removes document metadata and re-serializes the file structure.
- Rasterize mode makes every page a picture. Text becomes permanently non-selectable, non-searchable and inaccessible to screen readers — do not use it on documents where those things matter.
- A PDF that is already mostly image data and was previously saved at high resolution will shrink a lot when rasterized at a lower DPI. A PDF that is mostly clean vector text will barely shrink under either mode, because there is little redundant data to remove.
- It is possible for a file to come out larger after rasterizing, if the original images were already smaller or more efficiently compressed than the resulting JPEGs — the tool reports this honestly instead of hiding it.
What should you know before using it?
The two compression strategies compared directly:
| Clean (lossless) | Rasterize images |
|---|---|
| What it does | Strips metadata, re-saves with optimized object streams — vs. — Renders every page to a JPEG at your chosen DPI/quality and rebuilds the PDF from those images |
| Text after compression | Fully selectable and searchable — vs. — Not selectable or searchable; it is now part of a picture |
| Typical size reduction | Small to modest — vs. — Can be large on scanned or photo-heavy PDFs |
| Best for | Contracts, forms, anything you need to keep text-accessible — vs. — Scanned documents and photo-heavy files you only need to view |
| Controls | None — vs. — Resolution (72–220 DPI) and JPEG quality (30–95%) |
Which tools relate to the compress pdf?
The compress pdf is one of 17 pdf tools on this site. These are the ones most often used alongside it — either because they handle the next step in the same job, or because they answer a question this tool raises.
Image Compressor
The same JPEG re-encoding idea rasterize mode uses, but applied directly to standalone images rather than inside a rebuilt PDF.
Split PDF
If a PDF is too large mainly because it has too many pages for your purpose, splitting out the pages you actually need may work better than compressing all of them.
Merge PDF
Compress the individual files before combining them if the final merged document needs to stay under a size limit.
PDF to Word
If a scanned PDF needs to shrink and also become editable, converting it to text-based Word content addresses both — where text exists to extract.
When should you use a compress pdf?
Because the compress pdf runs entirely in your browser, it suits work you would not want to hand to a third-party server — client files, unpublished drafts, anything under an NDA. These are the situations people reach for it in most often.
Fitting an email attachment size limit
Shrink a PDF that is too large to send as an email attachment, choosing lossless first if the recipient needs to select or search the text.
Reducing scanned document storage
Rasterize a batch of scanned forms or receipts at a lower DPI to save significant storage space, since they are already just images.
Meeting an upload portal's size cap
Get a report or application PDF under a government or job-portal upload limit without needing separate desktop software.
Archiving without bloated metadata
Strip unnecessary title/author/producer metadata from PDFs before archiving them, using clean mode to keep every page exactly as it was.
Frequently asked questions
How much smaller will my PDF get?
Will compressing my PDF make the text unselectable?
Why did clean mode barely shrink my file?
Why did my file get bigger after compressing?
What DPI and quality should I use for rasterizing?
Is my PDF uploaded to your servers to be compressed?
Can I compress a password-protected PDF?
Is the compress pdf safe to use?
This tool runs entirely inside your browser. Your text, files and settings are processed on your own device and are never uploaded to our servers — there is nothing for us to store, log or leak. You can confirm it yourself: open your browser DevTools, switch to the Network tab, and use the tool. You will not see an upload request. It also means the tool keeps working if your connection drops mid-task.
Where do these figures come from?
Every method, threshold and standard this page relies on, with a link to the document that defines it. Check them — a tool that will not show its sources is asking you to take its word for it.
- 1Document management — Portable document format — Part 2: PDF 2.0
ISO 32000-2 · 2020
Supports: The description of PDF internal object streams and metadata that clean mode removes and re-serializes.
- 2Information technology — Digital compression and coding of continuous-tone still images: Requirements and guidelines
ITU-T Recommendation T.81 / ISO/IEC 10918-1 · 1992
Supports: The lossy JPEG re-encoding used by rasterize mode to compress each page image.
Read more about compress pdf
What is a PDF Compressor and How Does It Shrink Files Without Losing Quality?
Wondering what is a PDF compressor? Learn how it shrinks files without losing quality, when to use it, and how to pick a safe, reliable tool. No signup needed.
2 min read
PDF Tools for Beginners: A Simple Guide to Compress, Merge, and Split
PDF tools for beginners explained simply. Compress, merge, split, and convert with free tools and smart habits to save time. Free, fast, and no signup required.
2 min read
How to Use a Free PDF Compressor With Gmail to Beat Attachment Limits
Learn how to use a free PDF compressor with Gmail to beat attachment limits, ship cleaner files, and keep email workflows fast and reliable. No signup required.
2 min read
More on the Smart SEO Toolz blog.
Need something this tool can’t do?
If you need a feature added, spotted something wrong, or want a custom tool or website built for your business, tell us. We read every message and we build what people actually ask for.
More tools
Tools that pair well with this one
Compress PNG
Image Tools
Process images in your browser — your files never leave your device.
Open toolBrowse every category
- SEO Tools31
- Keyword Tools7
- Domain & IP Tools18
- Text Tools20
- Writing Tools12
- Image Tools31
- PDF Tools17
- Unit Converters14
- Calculators21
- Developer Tools13
- Generators16
- Design & CSS Tools6
- Games8
Looking for something else? See all 214 tools, browse the full site index or read the guides on our blog.