Compress to a file size

Compress images online

Drop your images below and choose a target size. Each one comes out at that size or less, at the highest quality that fits. It handles a whole batch at once, and the files never leave your device.

  • Free to use
  • No sign-up, no watermark
  • Never uploaded

Drop images to compress

or paste it with Ctrl+V

Runs on your device. Nothing is uploaded.

How the compressor works

For each image, the tool tries JPEG (or WebP) quality settings and keeps the highest one that lands at or under your target. Only if even a low quality setting can't get there does it reduce the pixel dimensions, and then only as far as needed. Each file shows its size and dimensions before and after, so you can see exactly what changed.

Working to a target beats a generic "medium quality" slider because upload limits are numbers. If a form says 200 KB, you get the sharpest file that passes, not a guess you have to repeat.

Which size to choose

What it's for Typical limit Target
Scanned signatures on forms 10–20 KB 20 KB
Job portals and exam registration 20–50 KB 50 KB
Visa and exam photos 100–200 KB 100 KB or 200 KB
Web pages and email no fixed limit 500 KB
Site upload caps 1–2 MB 1 MB or 2 MB

Pick the largest target your form or page allows. A bigger budget always keeps more detail.

Compress without visible quality loss

  • Crop first. Background you don't need still costs bytes. The crop tool removes it, and what's left gets the whole budget.
  • Set a max width. A photo shown 1200 px wide doesn't need 4000 px of data. Fewer pixels leave more of the target for quality.
  • Start from the original. A photo that a messaging app has already compressed carries blocky artifacts, and compressing it again makes them worse.

JPG, WebP or PNG

JPG is accepted everywhere and is the safe choice for forms. WebP is noticeably smaller at the same quality, but plenty of upload forms still reject it. PNG is lossless and has no quality setting, which makes it a poor fit for a size target, so export photos as JPG or WebP.

Compressing a batch

  1. Drop as many images as you need, or choose them from your device.
  2. Pick a target. Set a max width if your form gives a pixel limit.
  3. Check the before and after sizes and dimensions for each file.
  4. Download them one by one, or all together as a zip.

All the processing happens in your browser, so nothing is uploaded.

Questions people ask

More sizes and tools