1. Home
  2. Images
  3. Compress Image to Size

Compress Image to Size

Shrink a photo below a target size such as 100 KB, 200 KB or 1 MB.

Runs in your browser · No upload
Target size
1 KB is counted as 1,000 bytes, so files land slightly under target | they also pass sites that count 1 KB as 1,024 bytes.
Save as
JPG is accepted almost everywhere, including job and government portals. Choose WebP to keep transparency.
If reaching the target would push quality below 40, the image is scaled down instead to keep it sharp. Turn this off when exact pixel dimensions are required, such as ID photos.

How to use

  1. Drop the photos you need to shrink, or click to choose them. Several at once is fine.
  2. Pick a target size | 100 KB, 200 KB, 300 KB, 500 KB or 1 MB | or choose “Custom” and type your own.
  3. The results list shows the size each file actually reached, the quality used and the final dimensions. Download them individually or as a ZIP.

Photos are processed in your browser and never uploaded, which matters when you are preparing an ID photo or scanned document for an application form.

How the target is reached

Step What happens
1. Check Files already under the target in the same format are left as they are (optional)
2. Dimensions If the file is still too big at quality 40, the image is scaled down step by step (when “Also reduce dimensions” is on)
3. Quality A binary search finds the highest quality that stays under the target (range 5–95, 8 rounds)

Pushing quality ever lower creates blocky smudges. So by default, the image is scaled down before quality drops under 40, which usually looks cleaner at the same file size.

1 KB is counted as 1,000 bytes. Choosing 200 KB means at most 200,000 bytes, which also passes sites that count 1 KB as 1,024 bytes (Windows would show it as 195 KB).

Examples

  • A 4032×3024 phone photo to 200 KB: quality alone is often not enough, so the dimensions come down too. Check the final size and quality in the results.
  • An ID photo already sized to 600×600 (2×2 inches at 300 DPI) to 100 KB: if the pixel dimensions are fixed by the form, turn off “Also reduce dimensions”. At that size, adjusting quality is usually enough.

If you first need the right shape for an ID photo, crop it to the required ratio (1:1 for a 2×2 inch photo) with Crop Image, set the pixel size with Resize Image, then come back here for the file size.

Things to know

  • Very small targets may be out of reach. If the lowest quality still exceeds the target and dimensions are locked, the result is marked “target not reached”.
  • JPG has no transparency. Transparent PNGs saved as JPG get those areas filled with the background color (white by default).
  • EXIF metadata is removed.

FAQ

How can it hit a size without a quality setting?

The same photo produces different file sizes at different quality levels. This tool saves the image at several qualities and keeps the highest one under your target. To pick the quality yourself, use Compress Image.

I asked for 200 KB and got 180 KB, not 199 KB. Why?

Quality is searched in steps, so the result is the closest size that does not go over, not an exact match. How close it gets depends on the photo’s content | simple backgrounds compress very differently from busy ones.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.