Compress JPEG and WebP images

Select JPEG or WebP and a starting quality value. The encoder may try lower quality to find a smaller result. Compare image detail and saved bytes. PNG compression is not offered by this tool.

Drop files here or click to choose one or more — JPG, JPEG, WEBP

Processed entirely in your browser using a Web Worker. Nothing is uploaded.

How to use

  1. Select a JPEG or WebP image.
  2. Choose a starting quality; the encoder may try lower settings too.
  3. Click Compress Image.
  4. Download and compare the byte count and image detail.

Accepted formats

JPEG and WebP are accepted. This tool does not provide a PNG encoder; use Image Convert to try a different output format if appropriate.

Generate a sample test file: JPG · WebP.

Features

  • Starting quality setting from 10% to 100%
  • JPEG input saves as JPEG; WebP saves as WebP
  • Processing stays in your browser; a smaller file is not guaranteed

What happens to your file

EXIF metadata — camera model, GPS location, timestamps — is stripped during recompression and is not present in the output.

Known limitations

  • PNG compression is not offered by this tool.
  • Lossy re-encoding can cause visible artifacts around text, fine lines or sharp edges.
  • Small or already compressed images can produce a larger result; compare saved bytes.

Common use cases

  • Shrinking photos before uploading to a form with a size limit
  • Reducing page weight for a website
  • Preparing images for email attachments

Questions

Is my file uploaded anywhere?

No. Compress Image runs entirely in your browser using a Web Worker — the file never leaves your device.

What file types does this accept?

Compress Image accepts JPG, JPEG, WEBP files.

Why is PNG not accepted?

This tool provides quality-controlled JPEG and WebP encoding, not a PNG encoding option. PNG can be optimized with other methods, but they are not provided here.

Will the file definitely get smaller?

No. The result depends on the image and browser encoder. Compare visual quality and the downloaded byte count with the original.

Having trouble with this tool? Report an issue →