convert2image

Compress an image to a specific file size

Type the size limit you need and add your images. Each one is squeezed to the best quality that fits, and only made smaller in pixels if quality alone cannot get there.

Drop an image here, or click to choose

Loading the tool…

Runs on your device. Your images are not uploaded anywhere.

How to use it

  1. Enter the limit in KB. For 2 MB, type 2048.
  2. Choose JPG for the widest acceptance, or WebP if the site takes it.
  3. Add images, then download. The note under each file shows the quality and size it settled on.

How it finds the right setting

Hitting a size limit by hand means saving, checking, lowering the quality, saving again. This tool does that search for you. It first tries a high quality of 92; if that fits, you get it. If not, it narrows in on the highest quality between 55 and 92 that stays under the limit, testing only a handful of settings to get there.

If even quality 55 is too big, which happens with small limits and large photos, it reduces the pixel dimensions just enough that a quality around 75 fits, then searches again. That is a deliberate choice: a slightly smaller image with clean detail looks far better than a full-size one crushed into blocks.

Common limits

WhereTypical limit
Government and visa photo uploads20–250 KB
Job and university application portals1–5 MB per file
Email attachments10–25 MB per message
Marketplace listing photosOften 5–10 MB

Leave a little headroom. Some systems count 1 KB as 1000 bytes rather than 1024, so a file at 99 KB by one measure can be 101 KB by the other. Aiming for 95 when the limit is 100 avoids the argument.

For a fixed size that comes up often, there are ready-set pages for 100 KB and 20 KB.

Questions people ask

How do I compress an image to under 1 MB?

Type 1024 as the target and add the image. Most phone photos fit at high quality once they are around 2000 pixels wide.

Will the image get smaller in pixels?

Only if quality alone cannot reach the target. The note on each file says whether it was resized.

Why is the result a little under the limit rather than exactly on it?

Quality settings move in steps, so the tool picks the highest one that fits. That usually lands a few percent under.

What if a file is already under the limit?

If it is already the chosen format, it is left exactly as it is.