Image tool

Image Compressor

Make a photo smaller for email, a website or an upload limit — and decide exactly how much smaller. Set a percentage and the file is encoded, measured and re-encoded until it lands there. It all happens on your own device; the image is never uploaded.

Image compressor Runs in your browser Idle
Compress
Choose an image Drop a photo here to compress it

PNG, JPG, WEBP or AVIF. You can also paste from the clipboard.

Original Compressed

What the percentage means

It is the size you want, as a share of the file you started with. Set it to 40% and a 5 MB photo comes back at roughly 2 MB.

No encoder takes a file size as an instruction — it takes a quality setting, and what that produces depends entirely on the picture. A crowd scene and a clear sky encode to wildly different sizes at the same setting. So the tool encodes, measures the result, adjusts and encodes again, a handful of times, until it lands under your number. The quality it settled on is shown with the result, so you can see what the size cost.

Very small targets cannot always be met by quality alone. Below roughly 10%, a detailed photo runs out of quality to give up. The tool then scales the picture down as well, tells you it did, and shows the new dimensions — rather than quietly handing back something blurred.

Or just let it decide

Automatically encodes once at the quality where compression stops being visible on ordinary photos. For most images straight off a phone or camera that is a large saving for a difference you have to hunt for. Use the comparison slider to judge it yourself — the right-hand side is the actual encoded file, decoded back, not a preview of one.

Which format to pick

  • Keep the format is the sensible default: a JPG stays a JPG, a WEBP stays a WEBP.
  • PNG is lossless, which means it has no quality dial to turn. A PNG is therefore written as WEBP instead — still lossy-compressible, still keeps transparency, and usually a fraction of the size. You are told when that happens.
  • WEBP compresses photos harder than JPG at the same visible quality, and every current browser displays it. Pick JPG when something on the other end is old enough to need it.

Privacy

The image is decoded, re-encoded and compared inside your browser. There is no upload, no queue and no model to download — this page fetches nothing but itself. Load it, turn off your network, and it still works. See the privacy page.

Limits

Images up to about 16 megapixels are kept at full size; anything larger is scaled to fit, because browsers — iOS Safari first — refuse to hold a canvas past roughly that. When it happens it is shown beside the image dimensions rather than left for you to discover.

Compress an image Upscale an image Remove a background