Image Compressor
Compress JPG, PNG and WebP images instantly. Batch process multiple files. Reduce size without visible quality loss.
Curious what quality settings and format changes really did to a photo? Here are our numbers.
Measured file sizes for JPG, PNG and WebPDrop images here
JPG, PNG, WebP - multiple files supported - or click to browse
Compression Results
| Filename | Before | After | Saved | Download |
|---|
What does this compressor change, and what does it leave alone?
It re-saves each image at a quality level you choose and leaves the pixel dimensions exactly as they were. Our 1800 x 1200 photo was still 1800 x 1200 after every run. You can drop in several JPG, PNG or WebP files at once and download them one by one or as a single ZIP. Everything runs in your browser, so nothing is uploaded.
Auto mode saves at quality 80. If that saves less than 10 percent, it tries again at 72. Turn Auto off and the slider lets you pick anything from 60 to 95.
Why did my JPG barely get smaller?
Because it was already compressed. Our test photo was a 339.2 KB JPG that someone had saved efficiently. Auto mode only got it down to 336.4 KB, a 1 percent saving. Dropping all the way to quality 60 saved 12 percent. Going the other way was worse: quality 95 made the file 51 percent bigger, at 512.8 KB, because the encoder kept detail the original had already thrown away.
So if a phone photo won't shrink, compression isn't the right lever. Resize it to the width it will actually be shown at. In the image resizer, the same photo at 1080 pixels wide came out at 179.4 KB with default settings, almost half the size, before any extra compression.
Is switching format better than turning down quality?
Often, yes. Converting the same photo to WebP in Auto mode gave 254.7 KB, 25 percent smaller than the JPG, with no other change. PNG is the odd one out. Leaving our transparent PNG as a PNG made it grow from 219.3 KB to 306.4 KB, because PNG is lossless and the browser's PNG encoder isn't tuned for small files. Converting that PNG to WebP kept its transparency and brought it down to 68.0 KB.
Why did the transparent parts turn black?
Converting a transparent PNG to JPG in this tool fills the see-through areas with black, because JPG can't store transparency and nothing gets painted behind it. Our test output had a black corner where the original was clear. If you need a white or coloured background, use the PNG to JPG converter instead. It fills with white by default and lets you pick a colour.
What happens to GIFs and photo metadata?
The file picker only offers JPG, PNG and WebP, but you can still drag a GIF onto the page. If you do, you get a still PNG of the first frame, and the animation is gone. Our 978.2 KB animated GIF came back as an 82.0 KB single frame. Every output also loses its EXIF data, including GPS location, which is handy for privacy but means camera details don't travel with the file.
How we tested: we ran this page's own code in headless Chromium using Playwright on public test images (an 1800 x 1200 JPEG photo, an 800 x 600 PNG with a transparent background and a 400 x 400 animated GIF), and every row in the table below comes from one of those runs.
| Sample | Setting | Before | After | What we saw |
|---|---|---|---|---|
| Photo, 339.2 KB | Auto (80, then 72) | 339.2 KB | 336.4 KB | Saved 1% |
| Photo | Manual quality 60 | 339.2 KB | 299.1 KB | Saved 12% |
| Photo | Manual quality 95 | 339.2 KB | 512.8 KB | 51% bigger |
| Photo | Auto, convert to WebP | 339.2 KB | 254.7 KB | Saved 25% |
| Transparent PNG | Auto, keep PNG | 219.3 KB | 306.4 KB | 40% bigger, transparency kept |
| Transparent PNG | Auto, convert to WebP | 219.3 KB | 68.0 KB | Transparency kept |
| Transparent PNG | Auto, convert to JPG | 219.3 KB | 28.7 KB | Clear areas turned black |
| Animated GIF (dragged in) | Auto | 978.2 KB | 82.0 KB PNG | First frame only |