πŸ—œοΈ Compress to an Exact Size

"Make this under 200KB" β€” pick a target and every photo is squeezed to fit, at the best quality that still hits it. Free, batch, nothing uploaded.

πŸ—œοΈ
Drop your images here
or click to choose β€” up to 100 at a time
100 KB
200 KB
500 KB
1 MB
2 MB
5 MB
Custom
JPG
WebP
WebP usually hits the target at noticeably better quality.
Shrinking first lets the tool keep more detail at the same file size.

🎬 Plus mockups, batch watermarking, a screen recorder & 250+ more free toolsOpen Castwright

When "compress" isn't enough β€” you need a number

Most compressors give you a quality slider and leave you guessing. But real limits are numbers: a job portal that rejects CVs over 2MB, a government form capped at 200KB, an email attachment limit, a page-speed budget. This tool works backwards from the number β€” it searches for the highest quality setting that still lands under your target, per image, automatically.

How it works

Each image is re-encoded repeatedly at different quality levels (a binary search, so it converges in a handful of tries) until it finds the best one that fits. If even the lowest quality is too big, the image is scaled down in steps until it fits. Everything happens in your browser β€” the photos are never uploaded, which also means there is no file-size cap and no queue.

Getting the best result

Choose WebP if whatever you're uploading accepts it β€” it typically reaches the same file size with visibly better detail than JPG. If your target is aggressive (say 100KB for a big photo), set a max width too: a sharp 1200px image at 100KB looks far better than a soft 4000px one at the same size.