Compress an image to an exact size

Set the size you need — 100 KB, 200 KB, whatever the form demands — and the image is compressed to fit. Instead of nudging a quality slider and re-checking the file size, you give the target and get a file that meets it.

The compressor searches for the highest quality that still fits your limit, so a 100 KB target produces a file close to 100 KB rather than an over-compressed 6 KB smudge.

Works with JPG, PNG, WebP and iPhone HEIC photos, one at a time or in a batch, entirely inside your browser.

How to use it

  1. Add one photo or a whole batch.
  2. Either drag the quality slider, or type an exact size limit in KB and let the tool find the best quality under it.
  3. Compare the before and after previews.
  4. Download the result, or the batch as a ZIP.

Supported formats and limits

Input
JPG, PNG, WebP, HEIC
Output
Compressed JPG, PNG or WebP
Modes
Quality slider, or an exact KB target
Batch
Yes — many photos at once
Where it runs
In your browser; nothing uploaded

Not for: Enlarging or sharpening — compression only removes data; it never adds detail back.

Frequently asked questions

Are my files uploaded to a server?
No. This conversion runs entirely inside your browser using your own device’s processing power. The file never leaves your computer or phone, which is why it also works when your connection drops.
Why do upload forms ask for such small images?
Government portals and university systems often cap uploads at 100–500 KB to control storage. Setting an exact target is the reliable way to satisfy them on the first attempt.
What if the image cannot reach my target?
Reducing the pixel dimensions as well as the quality gets you there. A large photo scaled down is far more readable at 50 KB than the same photo kept full-size and crushed.

Related tools