Account

What new tool do you want?

Image Tools

Compress Image (Reduce to a Target KB)

Shrink JPG, PNG and WebP images — pick a quality, or set a target size like 100 KB for forms and job portals — and optionally resize at the same time.

How to use

  1. 1Add images and choose a quality level — or switch to 'Target size' and enter the KB limit.
  2. 2Optionally set a maximum width, then press Compress.

How it's calculated

For a target size, the quality is found by binary search; if even low quality is too big, the image is scaled down step by step until it fits.

Frequently asked questions

How do I get a photo under 100 KB?

Use Target size, enter 100 KB and a max width of about 1200 px — most photos then fit with good quality.

Will PNGs get smaller?

PNG is lossless, so compression is limited. Converting to JPG or WebP usually cuts the size dramatically.

Is the quality loss noticeable?

At 75–85% quality most photos look identical to the original while being 50–80% smaller.

How 'Target size' actually finds the right quality

Rather than guessing a quality percentage and hoping it lands near your KB limit, Target size mode runs a binary search: it encodes the image at a middle quality value, checks whether the result fits under your limit, and narrows the search range up or down accordingly, repeating seven times to converge on the highest quality that still fits. If even the lowest quality setting in that search still produces a file too large, the tool falls back to shrinking the image's actual pixel dimensions by 20% and starts the quality search over, repeating up to eight times — so for very strict limits, part of the size reduction comes from fewer pixels, not just more compression.

Why PNG can't hit a target size the same way

JPEG and WebP compression is variable: lowering the quality setting discards more visual detail in exchange for a smaller file, which is what makes the binary search possible in the first place. PNG has no such quality dial — it's a lossless format where compression only removes redundancy, not detail, so a photo-realistic PNG often can't be compressed much regardless of settings. For that reason, Target size mode rejects PNG as an output format outright and asks you to choose JPG or WebP instead, since those are the formats where 'hit this exact KB number' is actually achievable.

Example: a 3.2 MB photo for a job application portal that caps uploads at 100 KB

Set mode to Target size, enter 100 for max KB, output format JPG, and optionally a max width around 1200px to leave more quality headroom for the compressor. The tool downscales if needed, then binary-searches JPEG quality until the result lands just under 100 KB — for a typical phone photo this usually keeps quality in a range that looks essentially unchanged at normal viewing size, since the detail being discarded is well below what the eye notices at 1200px wide.

The built-in safety net against making files bigger

In regular quality mode (not Target size), if the compressed output would actually end up larger than the original file — which can happen with an already well-compressed JPEG at a high quality setting — the tool compares sizes and simply hands back the original file unchanged rather than downloading something bigger than what you started with.

Related tools

More: Image Tools