Compress Image

How to use the image compressor

  1. Select JPG, PNG, or WebP up to 10 MB.
  2. Adjust quality between 0.1 and 1.
  3. Compress and download the result.

JPG photo example

Select a 6 MB photo.jpg and quality 0.8.

photo.jpg + quality 0.8 + 2 MB target

The interface shows size and reduction, or says no effective reduction was achieved.

Use cases

  • Try to reduce a photo before attaching it.
  • Prepare JPG, PNG, or WebP for sharing.
  • Compare sizes after adjusting quality.

Notes and limitations

  • It uses browser-image-compression with a Web Worker, initial quality from the control, and a 2 MB maxSizeMB target.
  • It accepts JPG, PNG, and WebP, one image at a time, with a 10 MB limit.
  • The library-returned blob defines output; format, dimensions, transparency, and metadata can vary.
  • The result can be the same size or larger and visual loss can occur. This flow processes in the browser and does not send the file to a server.

Frequently asked questions

Which formats are accepted?

JPG, PNG, and WebP.

What is the limit?

The image can be up to 10 MB.

Is it always smaller?

No. The interface reports when no effective reduction was achieved.