How to compress a PDF
- 01
Add a PDF
Drop it in or pick it from your files.
- 02
Pick a level
Light, Balanced or Maximum. Fine-tune image quality if you like.
- 03
Download
Save the smaller file straight to disk.
Questions
Are my files uploaded anywhere?
LocalPDF reads and processes document contents in your browser, on your device. Documents are not uploaded for processing; you download the result to a location you choose. The website still uses hosting infrastructure and, when enabled, Cloudflare Web Analytics for aggregate website usage. These website requests are separate from PDF processing and do not include document contents.
Will compressing lower the quality?
Text, fonts and vector graphics stay exactly as they were; only images are re-encoded. Light barely changes them, Balanced is hard to tell apart from the original, and Maximum also downsamples images to 150 DPI.
How much smaller will my PDF get?
It depends on what’s inside. Scans and image-heavy documents often shrink by well over half; files that are mostly text are usually already compact and shrink less.
Does it work with password-protected PDFs?
Not yet. Encrypted PDFs are turned away with a message rather than producing a broken file. Remove the protection in your PDF reader first, then try again.
What compressing a PDF does, and when to use it
Compressing a PDF makes the file smaller without turning it into something else. It is the tool you reach for when a document is too large to email, too big for an upload form, or simply heavier than it needs to be, and you would rather keep it as a PDF than convert it.
Most of a PDF’s weight is images, and especially scans. A photographed page can be megabytes on its own, while hundreds of pages of text stay small. So compression targets images first. It re-encodes them with a modern encoder, jpegli, which stores the same picture in fewer bytes, and at the strongest level it also downsamples them to the resolution they are actually drawn at, discarding detail the eye cannot see on the page.
Everything else is treated gently. Text, fonts and vector graphics are recompressed losslessly, which means they come through byte-for-byte identical. You choose how far to push: Light barely touches the images, Balanced is hard to tell apart from the original, and Maximum also reduces image resolution for the tightest limits. A quality slider gives finer control when you need it.
Use it whenever size is the problem and quality is a consideration you can trade against it. A receipt, a scan, a slide deck or a photo-heavy report is exactly the case it is built for. It will help less on a document that is already mostly text, because there is little image data to remove. It will not make such a file worse though, since the text is left alone.
One thing it will not do is make a photographic PDF both tiny and sharp. File size is information, and a detailed image needs the bytes to hold it. Compression finds the honest middle. It cannot beat the arithmetic.
Learn more
Reduce a PDF under 5 MB
Shrink a PDF to fit an upload or email limit, on your device.
Email a too-large PDF
Get a too-large PDF through an email size limit.
Are online PDF tools safe?
How to judge whether a browser PDF tool is safe, and what to watch for.
Why is my PDF so large?
The real reason PDFs get big, and what actually shrinks them.