Image Tools

Image Compressor

Shrink image file size with adjustable quality, width and format.

Or drop an image here

JPG, PNG, WebP or GIF (first frame). The file never leaves your browser.

Images are compressed locally with the canvas API — nothing is uploaded to a server.

What is the Image Compressor?

The Image Compressor is a free online tool that reduces image file sizes right in your browser. Upload any JPG, PNG, WebP, or GIF, choose an output quality between 10 and 100, set a maximum width, and pick JPEG, PNG, or WebP output. The tool redraws the image on a canvas at your settings and instantly shows the original size versus the compressed size, plus how much smaller the result is — with a live preview and a one-click download.

How to use it

Tips

If the "saved" value shows the file got larger, your source was probably already well compressed — try lowering the quality or switching to WebP. Compression happens entirely on your device using the canvas API, so it is fast and private: no uploads, no watermarks, no limits.

Frequently Asked Questions

Does compressing reduce image quality?
JPEG and WebP compression are lossy: lower quality settings visibly soften fine detail. PNG output is lossless but usually larger. The live preview and size comparison let you find the smallest file that still looks good.
Why does the quality slider not change PNG output?
PNG is a lossless format, so the browser ignores the quality setting for PNG. The tool shows a note when PNG is selected. Switch to JPEG or WebP if you want quality-based compression.
Is my image uploaded to a server?
No. The image is drawn to a canvas and re-encoded entirely in your browser. Your files never leave your device.
What is the best format for photos?
For photos, WebP usually produces the smallest file at a given quality, followed by JPEG. Use PNG only for graphics with transparency or sharp text that must stay crisp.
Can I compress animated GIFs?
Only the first frame is processed, so the animation is not preserved. For animated images, the result is a static compressed still.