Two ways to compress a JPEG
A JPEG gets smaller by keeping less fine detail, in ways the eye barely notices at first. How much is set by its quality, from 1 to 100. This tool offers two ways to choose it:
| Compress by | You choose | Best when |
|---|---|---|
| Quality | A quality from 10 to 100 (75 to start) | You want a look, and the size can be whatever it comes to |
| Target size | The largest file allowed, in KB | A form, a job portal or an inbox has a size limit |
With Target size, you type the limit, say 100 KB, or pick 50, 100, 200, 500 or 1000 KB. Each photo is then saved at the highest quality that fits: the tool tries a high quality (92) and a middle one (50), then narrows down between them, one quality point at a time. If even quality 50 is too big, the photo is made smaller in pixels and searched again, because below 50 a photo starts to look blocky, and fewer pixels look better than worse ones. Only when it can't be made any smaller does the quality go lower, down to 10. The line under each photo says what it took, such as "Quality 62 to fit 100 KB".
How small can a photo get?
That depends on its size in pixels. A photo straight from a phone has millions of pixels, and squeezing all of them into 50 KB leaves visible blocks and smudges. Fewer pixels compress far better: a photo 1280 pixels wide looks sharp on a screen and fits in much less space. Two settings help:
- Largest side: cap each photo at 3840, 2560, 1920 or 1280 pixels before it is compressed. For email and the web, 1920 is plenty; for a small upload limit, 1280.
- Target size makes a photo smaller in pixels by itself when it has to, but capping the side first gives you the choice, and the photo keeps a higher quality.
If you need a photo at an exact size in pixels, such as 600 × 600 for an online application, make it that size with the image resizer first, then compress the result here.
Checking the result
After compressing, the preview shows the original on the left and the compressed photo on the right, with each one's file size. Drag the handle across faces, fine text and edges, where compression shows first. In a JPEG it shows as blocky squares in smooth areas like skies and skin, and as faint ripples around sharp edges. If you see them, raise the quality, or the target size, a little.
Some JPGs are already well compressed. When saving a photo again in the same format and size wouldn't make it any smaller, or when it is already under your target size, the tool keeps your original instead and says so. A compressed batch never grows.
JPEG, or another format?
JPEG suits photographs. For screenshots, logos and diagrams, which have flat colours and sharp edges, a JPEG blurs the edges and often isn't even smaller; keep those as PNG and use the image compressor, which reduces a PNG's colours instead. For websites, WebP usually makes smaller files than JPEG at a similar look; the image converter turns photos into WebP, PNG or JPG, and the Format setting here can save the compressed copies in another format too.
Private and unlimited
Photos are compressed by your browser on your device. Nothing is uploaded, there is no account and no daily limit, and you can compress as many batches as you like. The compressed copies leave out the camera's hidden data (EXIF), such as the time and the place a photo was taken; an original kept because it was already small enough keeps its own.
Updated