Compress Image to a Size

Name the file size you need — 100 KB, 50 KB, 20 KB — and get a photo that fits.

100% private — runs entirely in your browser. Your data is processed on your device and never sent to the internet.

Say how big the file must be — 100 KB, 50 KB, 20 KB — and each picture is squeezed until it fits.

Click to upload or drop your images here

JPG, PNG or WebP — as many as you like, squeezed in your browser and never uploaded

Exam and visa portals usually ask for a photo under 100 KB and a signature under 20 KB. Pick the number, and the quality is worked out for you — the picture is only resized if the target cannot be reached any other way.

About Compress Image to a Size

Most compressors give you a quality slider and leave you guessing. This one works the other way round: you type the file size you need — 100 KB, 50 KB, 20 KB — and it finds the quality that fits.

That is the difference between "smaller" and "small enough". Exam boards, visa applications, job portals and government forms reject an upload that is one kilobyte over, and no amount of dragging a slider tells you when you have crossed the line.

Everything runs in your browser. Your photos are never uploaded, there is no sign-up and no watermark.

What you can do with it

  • Meet an upload limit exactly — "photo must be under 100 KB", "signature under 20 KB"
  • Prepare a batch — drop in a whole folder of photos and give them all the same limit
  • Shrink a photo for email when the attachment is bouncing back
  • Get a page to load faster by putting every image under a set weight
  • Download them all as a ZIP when you have compressed more than one

How it finds the right quality

JPEG quality and file size are not proportional — going from 80 to 70 might save half a megabyte or almost nothing, depending on the picture. So a fixed setting cannot hit a target.

Instead the tool searches. It encodes the image, checks the size, and narrows in — about eight passes — until it has the best quality that still fits. You get the smallest visible loss for the size you asked for, rather than a guess.

If even the lowest quality is still too big — a 12-megapixel photo squeezed into 20 KB, say — it then scales the picture down and searches again. That order is deliberate: quality is sacrificed first, pixels only when there is no other way.

Features

  • Exact size targets in KB or MB, with one-tap presets for 20, 50, 100, 200, 500 KB and 1 MB
  • Batch — as many images as you like in one go
  • Automatic quality search — the best quality that fits, not a guess
  • Resizes only as a last resort, and tells you when it did
  • Keep original dimensions option, if the picture must not be resized at all
  • Save one, or download the whole set as a ZIP
  • Honest failures — if a target is impossible for an image, it says so instead of handing you something too big
  • 100% in your browser — nothing uploaded, nothing stored

Good to know

  • JPG is the format that can hit a target. PNG is lossless, so its size cannot be dialled in — that is why the output is JPG by default. If your picture has a transparent background, that transparency becomes white.
  • Very small targets cost detail. A 20 KB limit on a large photo will visibly soften it. That is the limit talking, not the tool.
  • The size shown is the real file size, the same number the portal will check.

How to use it

  • Drop your images in — one, or a whole batch
  • Type the size you need, or tap a preset like 100 KB
  • (Optional) tick Keep the original width and height if the picture must not be resized
  • Press Compress to this size and watch each file land under the limit
  • Save each one, or press Get them all as a ZIP

We add new tools regularly — subscribe on YouTube to be notified when each one goes live.

More tools

View all

Recommended Apps

View all