Free browser tool

Compress Image

Shrink JPG, PNG and WebP images with a simple quality slider — right in your browser, with nothing uploaded.

100% private.Your images are processed entirely in your browser using the Canvas API. Nothing is uploaded to a server — the files never leave your device.

Output format

WebP usually gives the smallest files at the same quality.

70%

Lower quality = smaller file. 70% is a good balance for photos.

Drop images here

or click to browse — JPG, PNG or WebP

How image compression works

Every image file is a trade-off between visual quality and size. Compression removes data the human eye is least likely to miss and stores what remains more efficiently. This tool re-encodes your image on a hidden HTML canvas: it decodes the picture, redraws it, then exports a new file at the quality and format you choose. Because all of that happens on your device, the tool works offline and keeps your files completely private.

Lossy vs lossless

Lossy formats such as JPG and WebP throw away some detail to achieve dramatically smaller files. At sensible quality levels the loss is invisible, which is why lossy compression is ideal for photos. Losslessformats such as PNG keep every pixel exactly, so they never lose quality — but they also can't shrink photographic images very much. If your PNG is a photo rather than a logo or screenshot with flat colours, converting it to JPG or WebP will usually save far more space than compressing the PNG itself.

Tips for the best results

Start at 70% qualityand only drop lower if you need a smaller file — watch the preview for blockiness or fuzzy edges. For photographs, prefer WebP: it typically produces files 25–35% smaller than JPG at the same quality. Keep PNG only when you need transparency or crisp text and line art. Finally, remember that compression here does not change the pixel dimensions; if you also need smaller dimensions, resize the image before compressing.

Frequently asked questions

Are my images uploaded to a server?+

No. This compressor runs entirely in your browser using the HTML Canvas API. Your images are never uploaded, stored or seen by anyone — they never leave your device.

How much can I shrink a photo?+

For typical JPG photos you can often cut 40–80% of the file size at 70% quality with little visible difference. WebP usually shrinks even further at the same quality.

Why doesn't my PNG get much smaller?+

PNG is a lossless format, so re-encoding it rarely saves much. For real savings on photos, convert the PNG to JPG or WebP using the format buttons above.

What does the quality slider do?+

It controls how much detail JPG and WebP keep. Lower quality means a smaller file but more compression artefacts. 70% is a good all-round balance for photos.

Is there a file size or count limit?+

There's no hard limit — you can compress as many images as you like, and multiple at once. Very large images use more memory because everything is processed on your own device.

Does compressing an image reduce its dimensions?+

No. This tool keeps the original width and height in pixels; it only re-encodes the image at a lower quality or a more efficient format to reduce the file size.

More free tools