Free · Any target · In your browser

Compress an image to any size

Set a target in KB, we find the best quality that fits. Runs in your browser, nothing is uploaded.

1Pick a target
2Add your image

Drop an image here

or click to browse your files (pasting works too)

JPG · PNG · WebP · HEIC · up to 50 MB

Any other size can be typed after upload.

How it works

Three steps, no guessing.

No quality slider to fiddle with until the number looks right. You set the limit, the tool does the trial and error.

  1. 1Set a target

    Pick 100, 200 or 500 KB, or type the exact limit your form asks for.

    100 KB200 KB500 KBAny KB
  2. 2Add your image

    Drop, paste or pick a JPG, PNG, WebP or HEIC file. It never leaves your device.

    photo-cafe.heic
    4032 × 3024 · 2.4 MB
    On device
  3. 3Download the result

    We keep the highest quality that fits and show exactly what was done.

    184 KB at quality 41
    2.4 MB to 184 KB92% smaller
FAQ

Compression questions.

We encode your image at your quality setting and measure the real file. If it is over the target, we test lower qualities and keep the highest one that fits, usually in under a second. If even quality 10 is too large, we shrink the dimensions in 10% steps until it fits. The readout always says what was done.
JPG and WebP are lossy, so a smaller file always drops some detail. Above quality 70 the loss is hard to see on photos; below 40 you may notice blocky edges and banding in skies. The search keeps the highest quality that fits, so you never lose more than the target needs.
WebP is usually 25 to 35% smaller than JPG at the same visual quality and keeps transparency. JPG works everywhere, so pick it when a form or an older app asks for it. PNG is lossless with no quality setting, so it is the largest for photos and can only get smaller by reducing dimensions.
Large, detailed photos hold a lot of information. Even at quality 10 they can stay over the target, so we reduce the dimensions too. If the smallest size still does not fit, we show the closest result and you can still download it. A tighter crop or switching to WebP usually closes the gap.
No. Compression runs in your browser with the Canvas API. Your image never leaves your device and there is no server copy to delete. You can check the network tab: there are no requests with your file.