Free Image Compressor

Compress JPG, PNG and WebP images in your browser and compare the before and after sizes instantly.

Your images are processed in your browser and are not uploaded to our servers.

Loading tool…

How to use Image Compressor

  1. Add images by dropping them, clicking to browse, or pasting from the clipboard.
  2. Pick a compression mode or set quality manually, and optionally choose an output format.
  3. Press “Process images” and compare the before/after preview and sizes.
  4. Download each result, or grab everything as a ZIP.

About this tool

The Image Compressor re-encodes your photos and graphics at a quality you control, then shows the exact size saved so you can decide whether the trade-off is worth it. It works on JPG, PNG and WebP, and can even aim for a specific target file size.

Recommended settings

Supported formats

Input: JPEG, PNG, WEBP, AVIF, GIF, BMP. Output: JPEG, PNG, WEBP.

Quality & file size

Lossy formats (JPEG, WebP, AVIF) trade detail for smaller files as you lower the quality; PNG stays lossless regardless of the slider. The tool always shows the original and result sizes so you can judge the trade-off, and it never recommends a result that is larger than your original as an “optimisation”.

Privacy

Every image is decoded, transformed and re-encoded entirely in your browser using the Canvas API and a Web Worker. Files are never uploaded, are not stored in localStorage, and are cleared from memory when you remove them or close the page.

Common issues & limitations

Frequently asked questions

How much can I compress an image?

It depends on the image. Photos often shrink 40–80% at quality 80 with no visible loss. Flat graphics may compress far more when converted to PNG or WebP.

What happens if the result is larger than the original?

The tool tells you and keeps the original selected, because already-optimised files can grow when re-encoded. You can try a different format instead.

Can I compress to a target file size?

Yes. Enter a target in KB or MB and the compressor searches quality (and, if needed, resolution) to get close to it, then reports whether it succeeded.

Are my images uploaded to a server?

No. Every image is decoded, processed and encoded entirely inside your browser using the Canvas API. The files never leave your device and are discarded when you close the page.

Related tools