Image Compressor

Reduce JPEG, PNG, or WebP file size locally and download the result.

100% Local Processing

About the Image Compressor

Reduce the file size of a JPEG, PNG, or WebP image without uploading it. The browser decodes the image onto a canvas and creates a new file, showing the actual output size and percentage saved. JPEG and WebP quality settings control lossy re-encoding; PNG is re-encoded without pretending that its quality slider creates lossy compression. Keep the original because compression can remove detail.

How to compress an image

  1. Choose a JPEG, PNG, or WebP image up to 20 MB.
  2. Select an output format and, for JPEG or WebP, adjust quality.
  3. Compress, compare the actual sizes, and download only after checking the result.

Examples and worked results

File-size comparison

Input
4.8 MB JPEG at 78% quality
Result
The output size and percentage saved are measured from the resulting Blob.

What compression changes

The browser draws the image to a canvas and re-encodes it. JPEG and WebP quality controls trade file size against visual detail. PNG is re-encoded without a lossy quality claim. Repeatedly compressing an already-lossy image can compound artefacts.

Common use cases

  • Preparing images for email or upload limits
  • Reducing page assets before publishing
  • Comparing JPEG and WebP output sizes locally

Important notes and limitations

  • Lossy output can remove detail, and no compression percentage is guaranteed. Compression does not change dimensions; use Image Resizer for that.

Practical tips

  • Keep the original file and compare the compressed image at its intended display size.

Frequently Asked Questions

Does compression happen on a server?

No. The image is decoded and re-encoded locally in your browser.

Does PNG quality work like JPEG quality?

No. PNG uses a lossless-style format and this tool re-encodes it without applying a fake lossy quality promise.

Will every image become smaller?

No. The output depends on the source, format, dimensions, and quality setting. The tool reports the actual result.