Compress Image
Shrink photos for websites, email and forms. Choose the quality, compare sizes, and download them one by one or as a ZIP.
100% Private · No uploads 100% Private: Your Photos Never Leave Your Device
How to compress an image
Big photos slow down websites, bounce off email limits and get rejected by upload forms. This compressor shrinks JPG, PNG, WebP, AVIF, HEIC and other images in seconds, lets you choose how much quality to trade for size, and does all of the work on your own device.
-
Step 1
Add your images
Drop photos onto the box, browse for them, or paste a screenshot with Ctrl+V. Add one picture or a whole folder at once.
-
Step 2
Set the quality
Move the slider. Around 70–80% is the sweet spot for photos: much smaller files with no difference you’d notice on screen.
-
Step 3
Pick a format (optional)
Keep the original format, or save as WebP or AVIF for the smallest files. JPG and PNG are there for maximum compatibility.
-
Step 4
Compress and download
Press Compress. Each card shows the old size, the new size and the percentage saved. Download them one by one or together as a ZIP.
How much smaller will my images get?
It depends on where the photo came from. Pictures straight off a modern phone camera are saved at very high quality, so compressing them at 75% often removes 50–80% of the file size while looking the same at normal viewing sizes. Screenshots, logos and images that were already compressed by a website or messaging app have less to give, sometimes only 5–20%.
If re-saving would make a file bigger (which can happen with an image that was already squeezed hard), the tool notices and keeps your original instead, so you never end up with a worse result.
For the biggest savings, change the format as well as the quality. A WebP is usually 25–35% smaller than a JPG of the same visual quality, and an AVIF smaller still. Our guide to choosing between JPG, PNG, WebP and AVIF explains when each one makes sense.
What the quality slider actually does
JPG, WebP and AVIF are “lossy” formats: they throw away detail your eyes are unlikely to miss, and the quality setting decides how much. At 90–100% the savings are modest. Between 60% and 80% you get the best balance for photos. Below about 50%, smooth areas like skies start to show blocky patches and edges get fuzzy halos.
PNG is different, because it’s lossless: it has no quality setting at all. To make PNGs smaller, the tool reduces the number of colors in the image (the same trick TinyPNG uses). Lower slider values mean fewer colors and smaller files. That works brilliantly for logos, icons, charts and screenshots, but photos saved as PNG can show banding in gradients, so for photos it’s usually better to switch the format to JPG or WebP.
Need a file under an exact size?
Upload forms often say things like “maximum 100 KB” or “photo must be under 50 KB”. Guessing the right quality by trial and error is tedious, so we built a separate tool for it: Compress to a target size searches for the best quality that fits under the number you type, and only shrinks the dimensions if it has to. There are ready-made pages for 50 KB and 100 KB, two of the most common limits.
If your image is simply far larger than it needs to be, say a 4000-pixel photo destined for a blog that displays it 800 pixels wide, resizing it first will save far more than compression alone.
Private by design
Most online compressors upload your photo to a server, process it there and send it back. That costs time on slow connections and means a copy of your picture lives on someone else’s computer, at least for a while. ImageCocoon does the compression with code that runs inside your browser tab, so your photos are never transmitted anywhere. There’s no account, no daily limit and no watermark.
A side effect worth knowing: re-saving an image removes hidden details such as the camera model and GPS location. If that’s all you want to strip, without changing quality at all, use Remove EXIF Data instead.
Frequently asked questions
Will compressing my photo reduce its quality?
A little, by design, but at 70–80% the difference is very hard to see on a screen. You stay in control with the quality slider, and if a compressed file would end up larger than the original, the original is kept.
What is the best quality setting for photos?
For most photos, 70–80% gives much smaller files that look the same as the original. Use 85–90% for images you might print or crop later, and avoid going below about 50%, where blocky artifacts start to appear.
Can I compress many images at once?
Yes. Add as many images as you like. They are processed two at a time to keep your device responsive, and you can download everything together as a single ZIP file.
Which formats can I compress?
You can open JPG, PNG, WebP, AVIF, GIF, BMP and iPhone HEIC files. You can save as the same format, or as JPG, PNG, WebP or AVIF. HEIC and BMP files are saved as JPG by default, because browsers cannot write those formats.
Why did my PNG barely get smaller?
PNG has no quality setting, so it is compressed by reducing the number of colors. Images that are already limited to a few colors, or were optimized before, have little left to remove. For photos stored as PNG, switching the format to WebP or JPG gives far bigger savings.
Is there a file size limit?
We do not set one. Very large photos are limited only by your device’s memory, and on iPhone and iPad, images above about 16 megapixels are scaled down to fit Safari’s limits. The tool tells you when that happens.
Are my images uploaded to a server?
No. Compression happens inside your browser using your device’s own processor. Your images are never sent to ImageCocoon or anyone else.