Compress PDF
Runs on your device- Keeps text selectable
- Three compression levels
- Never bigger than the original
- Files never uploaded
or drop it here · up to 200 MB
Processed on your device. Nothing is uploaded.
Shrink a PDF so it fits email and upload limits, without turning your text into a blurry image. Compression runs in your browser, so the document is never uploaded.
How it works
How to compress a PDF
- 1
Choose your PDF
Drop the PDF onto the page or tap Choose file. Files up to 200 MB are accepted, and password-protected files ask for their password first.
- 2
Pick a compression level
Recommended resizes oversized photos to about 150 DPI and tidies the file structure. Lossless changes nothing visible. Extreme turns pages into 110 DPI images for the smallest possible file.
- 3
Compress
Press Compress PDF. Progress is shown image by image or page by page, and the Cancel button stops the job at any time.
- 4
Check the result and download
The Done screen shows the size before and after and the percentage saved. If less than 1% could be gained, the original file is kept.
Optimize
About Compress PDF
Last updated
Why is my PDF so large?
A PDF is usually large because it carries photos or scanned pages at a far higher resolution than a screen or printer needs. A phone camera image dropped into a document can be 4000 pixels wide even when it is printed three inches across, and scanners often save every page at 300–600 DPI. Fonts embedded in full, duplicated images, and old revisions left inside the file by editing software add the rest.
Files exported from Word, Google Docs or a browser are mostly text and vector graphics, which are already small, often under 100 KB per page. Those gain little from any compressor, and a big saving on such a file would only come from damaging it. That is why this tool reports an already optimized file instead of forcing a smaller but worse copy.
Which compression level should I choose?
Choose Recommended for most files, Lossless when nothing visible may change, and Extreme only when the smallest possible size matters more than selectable text. Recommended is the default because it combines the structural clean-up of Lossless with photo resizing, which is where most of the saving in scans and photo-heavy reports comes from. The table lists exactly what each level does to the file.
| Level | What changes | Typical result | Best for |
|---|---|---|---|
| Lossless | File structure only: qpdf rewrites the PDF with object streams, Flate compression at level 9 and unused resources removed. Pixels, text, links and forms stay identical. | A few percent to about 20% smaller, depending on how loosely the file was saved. | Archival copies, forms, vector drawings and any file where images must not be touched. |
| Recommended (default) | Everything in Lossless, plus JPEG photos are scaled to about 150 DPI for the largest page they appear on and re-encoded at JPEG quality 72. A photo is replaced only when the new version is at least 10% smaller. Text stays selectable. | Often 50–90% smaller for scans and photo-heavy files; a few percent for text-only files. | Email attachments, upload portals and everyday sharing. |
| Extreme | Every page is rendered at 110 DPI and stored as a JPEG at quality 62. Text is no longer selectable or searchable, and links and form fields are removed. | The smallest file for scanned documents; text-only PDFs can come out larger, in which case the original is kept. | Strict 1–2 MB upload limits when the document only needs to be read on screen. |
How does Compress PDF work?
Compress PDF works in two passes inside your browser: a structural rewrite at the Lossless and Recommended levels, plus an image pass at Recommended. The structural pass uses qpdf, an open-source PDF toolkit compiled to WebAssembly, which rebuilds the file, packs its internal objects into compressed object streams and drops resources that no page uses.
In the image pass, JPEG photos of 12 KB or more are decoded, scaled and re-encoded with the browser's own image engine. Images that act as masks, use colour keying, CMYK colour, an EXIF rotation tag or unusual encodings are left exactly as they were, because recompressing them in a browser could shift colours or break the page.
Extreme mode renders each page with pdf.js, the viewer engine built by Mozilla, and assembles the page images into a new PDF that keeps the original page sizes. At every level the result is compared with the original, so the download is never the larger of the two, and nothing leaves the page at any point.
How small does a PDF need to be for email?
A PDF needs to be under 25 MB for Gmail and under 20 MB for many other mail services, and smaller is safer. Gmail's 25 MB attachment limit applies to the whole message, and attachments grow by roughly a third when they are encoded for sending, so aim for about 18 MB or less per email. Job portals, visa forms and university systems are usually much stricter, with limits of 1, 2 or 5 MB per document.
When a file is still over the limit after Recommended compression, two options remain. Extreme reduces scanned pages the furthest, at the cost of selectable text. Alternatively, Split PDF divides a long document into parts that each fit, and Remove Pages drops blank sheets, covers and appendices that the recipient does not need, which keeps the remaining pages at full quality.
How do I get the smallest file on any device?
The smallest files come from fixing the source before compressing. If a document will be scanned again, choose a lower scanner resolution such as 150 or 200 DPI in greyscale; that saves more than any later compression. Exporting straight to PDF instead of printing to PDF also helps, because printing can bloat fonts. For a searchable scan that is also small, run Compress first and OCR PDF afterwards.
No app or plug-in is needed. The tool works in current versions of Safari, Chrome, Edge and Firefox on any operating system, including iPhone and iPad. On a Mac this is a practical alternative to the Reduce File Size filter in Preview, which re-renders images aggressively and can leave scans blurry. On phones, compress one large file at a time and keep the tab open until the download button appears, because mobile browsers may pause pages running in the background.
FAQ
Compress PDF questions
How much smaller will my PDF get?
It depends on what is inside. Scans and photo-heavy PDFs often shrink by 50–90% with Recommended, while text-only files made by Word or a browser are usually already compact and may only lose a few percent.
Does compressing a PDF reduce quality?
Only if you choose a level that touches images. Lossless changes nothing visible, Recommended resizes JPEG photos above about 150 DPI and keeps text as real text, and Extreme turns pages into 110 DPI images, so small print can look soft.
Where is my PDF processed when I compress it?
On your own device. The compression code runs inside the browser tab, and the document is never sent to a server, which makes the tool suitable for contracts, medical records, payslips and other private paperwork.
Why does it say my PDF is already optimized?
Because the compressed version was not at least 1% smaller. The tool never hands back a file larger than the one you gave it, so you get the original instead. Try Extreme if selectable text is not needed.
How do I get a PDF under 1 MB or 2 MB for an upload form?
Start with Recommended, then use Extreme if the file is still too big. Extreme shrinks scanned documents the most. For very long documents, Split PDF can divide the file into parts that each fit the limit.
Can I compress a password-protected PDF?
Yes. Enter the password and Lossless or Recommended compression keeps the same protection on the smaller copy. Photos inside protected files are left untouched, so only the structure is optimized, and Extreme is not offered for them.
Will compression break a digital signature?
Yes, any rewrite does. A digital signature covers the exact bytes of the file, so even Lossless compression invalidates it although nothing visible changes. Compress before signing, or keep the signed original alongside the smaller copy.
Keep going
Related tools
Got a PDF to fix?
Free, no account, no watermark. Most tools run on your device, so files never leave it.
Browse all tools