HandyHex.Handy tools in every shape.

About the Image Compressor

The Image Compressor reduces file size by re-encoding a picture at a quality level you choose. Smaller images load faster on websites, fit into email limits and save phone storage.

Compression happens in your browser through the canvas API. For the biggest savings choose WebP or JPEG and lower the quality slider; around 70 to 80 percent is often a good balance for photos. PNG is lossless in browsers, so its size may barely change.

How to use it

  1. Click Choose image and select a picture.
  2. Choose the Output format and set the quality slider.
  3. Press Compress and download and compare the new size with the original.

Getting the smallest file

Photos compress much better as WebP or JPEG than as PNG.

If the result is still too large, reduce the dimensions first with the Image Resizer; fewer pixels mean far smaller files.

Always keep your original, since lossy compression cannot be undone.

Real-world examples

Blog photos. A 5 MB camera photo exported at 80 percent WebP is often under 300 KB and looks identical on a screen.

Email attachments. Compress several pictures so a message stays under the size limit.

Product listings. Marketplaces load faster and rank better with lightweight images.

Common mistakes

Setting quality too low creates blocky skies and smudged text. Compressing a screenshot of text as JPEG makes letters fuzzy; use PNG or lossless WebP. Forgetting to reduce dimensions: a 6000-pixel-wide photo stays heavy at any quality, so resize first.

How it works

The image is redrawn on a canvas and exported again with a quality value between 0 and 1. For JPEG and WebP the encoder discards fine detail the eye is least sensitive to, using a mathematical transform that stores smooth areas more cheaply than sharp ones. PNG ignores the quality setting because it is lossless.

Frequently asked questions

What quality should I choose?

70 to 80 percent suits most photos.

Why did my PNG not shrink?

Browsers save PNG without quality loss, so savings are small. Try WebP.

Is it private?

Yes, the image never leaves your device.

Related tools

Guides