Skip to content
SUMILORASUMILORA

Compress an image

Image tools

Say how big the file is allowed to be — 200 KB, 2 MB — and the quality is worked out for you.

Runs in your browser

Nothing is uploaded. The work happens on your own device, so your file or text never reaches us.

About this tool

Aiming at a size, not a percentage

"Under 2 MB" is the actual requirement almost every time: an upload limit, an email attachment, a form that rejects anything larger. "65% quality" is a guess at how to satisfy it.

So this searches instead. It encodes, measures, and narrows in — eight attempts, closing on the highest quality that still fits. If even the lowest quality misses the target, it says so and suggests reducing the width, which saves far more than quality ever can.

Width is the bigger lever

Halving an image's width quarters its pixel count. No quality setting comes close to that, and a photo displayed at 800 pixels wide gains nothing from being 4000 pixels wide in the file.

If an image is going on a web page or into a document, set a maximum width first and compress second. The result will be smaller and sharper than squeezing the full-size image hard enough to fit.

Nothing is uploaded

The image is decoded and re-encoded by your own browser, on your own device. It is never sent anywhere, which is why these tools work with the network off and why there is no size tier or account.

For photographs that is not a small point: a picture from a phone usually carries the time it was taken and often the exact place. Sending it to a converter means handing that over too.

Questions

What if it cannot reach my target size?

It tells you, with the smallest size it managed, rather than handing you a file that misses the limit. Reducing the width is usually what gets you there.

Which format compresses best?

WebP, by a clear margin over JPG at the same visible quality. AVIF is smaller again where your browser can write it. PNG cannot hit a target at all, because it is lossless.

Does compressing remove the photo metadata?

Yes, as a side effect: the image is re-encoded from pixels, so the location, camera and timestamp do not survive. The metadata tool makes that the explicit job.

Related tools