Compress JPEG images
Reduce the file size of JPG photos while keeping them sharp. Compare before and after, then download one file or a ZIP.
Files never leave your deviceNeed more settings? Open the full Compress Image tool.
How to compress a JPEG
- Drop your JPG or JPEG photos onto the box above.
- Set the Quality slider. The default of 75 cuts most photos by half with no visible change.
- Press Compress, then drag the before/after slider on a result to compare the two versions.
- Move the quality slider again and the batch re-runs automatically. Download when you are happy.
Why JPEGs can be made smaller
Photos straight from phones and cameras are saved at very high quality, often 92 to 98, because the camera does not know where the picture is going. For viewing on a screen or sending by email, most of that data is invisible. Re-encoding at quality 70 to 80 with the MozJPEG encoder, which squeezes more out of each quality level than typical camera encoders, typically saves 40 to 70 percent.
Images that have already been compressed, such as pictures downloaded from social media, save much less. If re-encoding would not make a file smaller, the original is kept instead of giving you a bigger copy.
Choosing a quality
| Quality | Good for |
|---|---|
| 85 to 90 | prints, portfolios, photos you might edit |
| 70 to 80 | websites, email, messaging |
| 50 to 65 | thumbnails and previews |
Use the before/after comparison on a detailed area, such as hair, grass or fabric, to judge where you start to see a difference.
If you need to hit a specific size rather than a quality, use compress to 100 KB or compress to 50 KB. For a bigger saving than JPEG allows, convert to WebP with JPG to WebP. Very large photos also shrink a lot when you resize them to the size they will actually be shown at.
JPG and JPEG are the same
The two names refer to one format. Old versions of Windows only allowed three-letter extensions, so .jpg became the common spelling, and both work everywhere.
Private and offline
The compressor runs in your browser using WebAssembly, so your photos are never uploaded. The compressed copy is built from the pixels alone, so camera details and GPS location are not carried over; to strip them without re-compressing, use remove EXIF.
Frequently asked questions
How much can a JPEG be compressed?
Photos straight from a phone or camera usually shrink by 40 to 70 percent at quality 75 with no visible difference. Images that were already compressed save less.
Is there a difference between JPG and JPEG?
No. They are the same format; the shorter .jpg extension dates from old Windows versions that only allowed three letters.
Why did it keep my original file?
If re-encoding would not make the file smaller, the original is returned unchanged rather than a bigger copy. Lower the quality to squeeze it further.
Are my files uploaded anywhere? How can I check?
No. The JPEG compressor runs entirely in your browser using JavaScript and WebAssembly, so your files never leave your device. You can verify it: open your browser's DevTools (F12, or Cmd+Option+I on a Mac), switch to the Network tab, tick "Preserve log", clear the list and process a file. You will only see requests for this site's own static files, never one that carries your data. You can also turn on "Offline" in the Network tab (or disconnect from the internet) once the page has loaded, and the tool keeps working.
Does it work offline?
Yes. After your first visit a service worker saves the tool to your device, so it opens and works without a connection. Only advertising needs the internet; the processing never does.