Compress PDF
Reduce the size of a PDF so it fits email or upload limits. Choose how to compress it, and see the real size before and after. If the file does not get smaller, the tool says so instead of giving you a bigger file.
Loading tool…
How to use the Compress PDF
- Choose a PDF.
- Pick a method and a level. “Recompress photos” is the right choice for most documents.
- Select Compress PDF. Compare the sizes, then download the result or keep your original.
Example
brochure.pdf with several high-quality photos Method: Recompress photos, Balanced
brochure-compressed.pdf with the same text and layout, and lighter photos.
How much smaller depends entirely on the file. A PDF made mostly of text often shrinks very little.
About this tool
A PDF is usually large because of the images inside it. Recompress photos finds each embedded JPEG photo, re-saves it at the chosen quality and, at the Strong and Balanced levels, scales down very large ones. A photo is only replaced if the new version is at least 5% smaller. Text, fonts and drawings are not touched, so the document still reads and prints the same.
Lossless clean-up rewrites the file with compressed object streams, a more compact way to store the PDF’s internal structure. Convert pages to images is a last resort for scanned documents: every page becomes a single JPEG at the chosen resolution.
There is no hidden setting that shrinks every PDF by a fixed percentage. The result depends on how the file was made, which is why the tool always shows the actual numbers.
Known limitations
- “Recompress photos” only changes JPEG photos stored in RGB or grayscale. Lossless (PNG-style) images, CMYK images and transparency masks are left as they are.
- “Lossless clean-up” often saves only a few percent, and some files do not get smaller at all.
- “Convert pages to images” makes text unselectable and unsearchable, removes links and form fields, and can make files bigger for text-only documents.
- Compression runs on your device, so very large files are slower on phones. Files up to 200 MB.
Troubleshooting
- “The result is not smaller than your file, so there is nothing to download.”
- The method did not suit this PDF. For text documents try Lossless clean-up; for photos Recompress photos; for scans Convert pages to images. If none helps, the file is already close to its smallest size. The guide on reducing PDF size shows measured examples.
- The text in the compressed PDF can no longer be selected or searched.
- That happens only with Convert pages to images, which turns each page into a picture. Use Recompress photos instead to keep text and links.
- “This PDF is password-protected. Enter its password to open it.”
- The file needs a password to open. Type it in the field that appears; it is used only in this tab. If you only know the password for editing or printing, not for opening, the file usually opens without asking.
- “This file could not be read as a PDF. It may be damaged or not really a PDF.”
- The file may be incomplete (an interrupted download or email attachment) or another type of file renamed to .pdf. Open it in a PDF reader first; if it opens there, print it to a new PDF and try again.
- “The PDF engine stopped unexpectedly. The file may be too large for this device.”
- The browser ran out of memory. Close other tabs, try on a computer instead of a phone, or work on part of the file: split it first, process the parts, then merge them.
Privacy and processing
- Where it runs
- In this browser tab. The PDF is read into memory and rewritten by a background worker, so the page stays responsive while it works.
- What goes over the network
- Nothing you add is sent anywhere: the tool needs no server once the page has loaded. Like every page on this site, this page also loads Google’s advertising and consent scripts, described in the Privacy Policy; the tool does not pass your files or text to them.
- Software doing the work
- pdf-lib (the @cantoo/pdf-lib fork, MIT licence) reads and writes PDFs in a background worker; PDF.js by Mozilla (Apache 2.0) draws page previews.
- Limits
- Up to 200 MB per PDF and 500 MB per job. Large files need a lot of memory; phones reach their limit sooner than computers.
- Password-protected PDFs need their password, which is used only in this tab. Results are saved without a password.
- Converting pages to images draws every page with PDF.js first, which needs more memory and time than the other methods.
- Afterwards
- Results exist only in this browser tab until you download them or pass them to another tool. Closing or reloading the tab discards them; nothing is kept by Toolora.
Frequently asked questions
Which method should I choose?
Start with Recompress photos at Balanced. If the PDF is a scan and is still too large, try Convert pages to images. Use Lossless clean-up when you cannot accept any change in quality.
Why did my PDF not get smaller?
Its images may already be well compressed, stored in a lossless or CMYK format the tool leaves alone, or the file may be mostly text and fonts. In that case there is little to remove without changing the document.
Is my document uploaded?
No. All three methods run in your browser. Rendering pages for the image method uses PDF.js, which runs locally too.