Compress images to an exact target file size

Set a target in KB or MB and the tool binary-searches the quality spectrum to land as close to it as possible, without going over — across a whole batch in one pass.

No upload, ever Batch friendly Binary-search quality
Drop images here, or click to browse
JPG, PNG, WebP, GIF, BMP · add as many as you like · nothing leaves this tab
Everything above happens on your device using your browser's own image engine. Files are never uploaded, stored or sent anywhere.
How it works

Three steps, no learning curve

01

Add your images

Works best on photos and screenshots. PNG inputs are automatically converted to the selected lossy format.

02

Set your target size

Enter the maximum file size you need — 100 KB for email, 500 KB for a web form upload limit, 1 MB for a CMS, etc.

03

Compress and download

Every image is binary-searched independently to the highest quality that still fits under the target, then packaged into one download.

FAQ

Common questions about this tool

The binary search runs up to 16 iterations per image, converging to within 0.5% quality steps. The actual file size will be at or slightly under your target.
If the ‘scale down dimensions’ toggle is on, the tool reduces the pixel dimensions progressively (90%, 75%, 60%, 50%, 35%, 25% of original) until the target is reachable. If scaling is off, it outputs the lowest-quality version it can produce and notes the miss.
PNG is a lossless format — it has no quality slider to tune, so the output size is entirely determined by the image content. Targeting an exact size is not possible without lossy compression. Use the standard Image Compressor for PNG palette-quantization instead.
For a specific size target, yes — you’d need 10–16 manual trial exports to match what the binary search does in one click. For general quality reduction without a precise size limit, the Image Compressor with a fixed quality setting is simpler.