Kastavo

Compress PDF

Pick a PDF and a compression level and see the size before and after, with the real percentage. The file is processed in your browser.

Compression level

Your PDF is processed directly in your browser. The file is never sent to our servers.

Lossy level: the images will be re-encoded as JPEG and lose detail. Your original file is not changed; the copy you download has the level in its name.

Why won't my PDF get smaller?

  • It was already optimized. Running an optimized PDF through "Lossless" again saves nothing.
  • Its images are already compressed JPEG. They are only re-encoded when the result is smaller, so a JPEG that is already at low or medium quality may stay the same size.
  • The weight is not in the images. Text, fonts and vector drawings are only recompressed without loss, which saves little.
  • The tool does not reduce resolution. An image with many pixels keeps all of them; only the compression changes.

Your files never leave your device. This tool needs to download a large component. In our Chromium test it did not work offline right after loading, and after one use it worked only while the browser kept that component, which it can discard at any time, so we do not promise it. Not measured in Safari or Firefox.

How it works

How much a PDF shrinks depends on what is inside it, not on the tool. What takes up the space is almost always the images: text, fonts and vector drawings weigh little. A PDF of uncompressed photos can shrink a lot; a PDF that was already optimized may not shrink at all, and this page tells you so instead of handing you a file of the same size. There are three levels. "Lossless" rewrites the file structure and recompresses what was already compressed, without touching any image. "Balanced" and "Strong" re-encode the images as JPEG, at quality 70 and 40 on a scale from 0 to 100: the file gets smaller, but the images lose detail, and that cannot be undone in the file produced. The original is not changed; you download a copy. What does not change: the text stays selectable and searchable, because the pages are not turned into images; the page count is the same; and so is the number of pixels in each image, which means the resolution is not reduced (a large scan stays large, only more compact). Images with transparency keep their transparency mask. Examples measured with this tool, on test PDFs we generated (they are not real files, and yours may give a different result): a PDF of photographic PNG images, 20.4 MB, dropped to 1.1 MB (94.5%) at Balanced and barely changed at Lossless; a PDF of photos already in optimized JPEG, 2.3 MB, changed only 0.1% at Lossless and Balanced and dropped 44.1% at Strong; a 5-page scan, 4.9 MB, dropped 6.0% at Balanced and 51.2% at Strong; a text-only PDF generated without optimization dropped 33.9% and, run through the tool again, did not change. Limits: the file can be up to 50 MB; password-protected PDFs must be unlocked first, with the Unlock PDF tool; and with large PDFs the wait can pass 30 seconds, because the work is done on your device.

Frequently asked questions

Related tools

This website uses cookies

We use cookies to improve your experience and understand how the site is used. You can change this choice anytime in Cookie Preferences. See our Privacy Policy.