Image Compressor

How to use 3 steps
  1. Choose a PNG, JPG or WebP under Upload Image File.
  2. Set the Compression Quality: lower means a smaller file.
  3. Press Compress Image, compare the sizes, then download it.

Read the full guide

Compressed Image Output
Loading the tool… 0 of 3 parts

Getting the tool ready. On a slow connection this can take a few seconds.

How this tool works

The image is decoded and re-encoded in your browser at the quality you choose, and the size you see is measured from the finished file rather than estimated. Dimensions are never changed: a 4000-pixel photograph comes back 4000 pixels wide, just encoded more efficiently.

A JPEG source stays JPEG. A PNG or WebP source is encoded to WebP so that transparency survives, because JPEG cannot store an alpha channel and re-encoding a transparent PNG as JPEG fills those areas with solid colour. Where a browser cannot write WebP, the image is flattened onto white first rather than left with black where the transparency was. Quality is held between 10 and 90.

Getting a real saving

  • Resizing saves more than quality does: a photograph displayed 800 pixels wide gains far more from being 800 pixels wide than from any quality setting. Resize first, then compress.
  • 70 to 80 suits photographs: the file drops sharply and the artefacts stay invisible at normal viewing size. Reserve 85 and above for images where fine detail carries the point.
  • Screenshots and line art are the exception: flat colour and sharp text are what lossy encoding handles worst. A screenshot often compresses better as an untouched PNG than as a lossy WebP.
  • A larger result means it was already optimised: when re-encoding would add bytes you are told so and given nothing to download, rather than handed a bigger file labelled compressed.

Full guide

4 min read

Compression: an already-optimised image gets larger, not smaller

Re-encoding a compressed file makes the encoder preserve its artefacts, which are expensive to store. Where the quality numbers sit, why generation loss compounds, and why resizing first saves more than any setting.

Read the guide

Frequently Asked Questions

Specific to the Image Compressor. Broader questions about this category are answered on the category page.

Because JPEG cannot hold transparency and WebP can, while still compressing well below PNG. Converting is what keeps a logo's transparent background transparent instead of filling it with colour.
No. Only the encoding changes. If you need fewer pixels, resize the image before compressing it — that is usually where the real saving is.
Start at 75 and look at the result. Photographs tolerate 70 to 80 with no visible loss; images with text, sharp edges or flat colour need more, or a different format entirely.
The embedded metadata. Re-encoding drops the EXIF block, so camera model, timestamps and GPS coordinates do not travel with the compressed copy. That is usually welcome before publishing, and worth knowing if you needed those fields.
No. Decoding and encoding both happen on your own device, which is why unpublished and private images are safe to run through it.

Subscribe to receive notifications about new tools, features, and productivity tips.