To compress an image to an exact size free: pick your target, then drop your images anywhere on this page. Each one is compressed on your device, binary-searching the JPEG quality until the file lands just under your number, scaling down only when it has to. No upload, no file cap, no signup.
How it hits the target
We binary-search the JPEG quality setting until the file lands just under your number. If even low quality can't get there (huge photo, tiny target), we scale the dimensions down and try again, the way a human would, but in half a second. You always get the largest, sharpest image that fits.
Common targets, decoded
| Target | Who asks for it |
|---|---|
| 20-50 KB | Government portals, visa/passport forms, job application systems |
| 100-200 KB | School and university uploads, ID photos, older CMSs |
| 500 KB-1 MB | Email-friendly photos, marketplace listings |
| 10 MB | Discord (free tier), many email attachment limits |
FAQ
Will it look bad?
At 100 KB+ most photos survive shockingly well. JPEG is good at its job. At 20 KB expect visible softness; we trade resolution before quality so text stays readable.
Does it work with iPhone HEIC photos?
Yes. HEICs are decoded right here in your browser first, then compressed to your target as a JPG.
Is anything uploaded?
No. Compression runs on your device. Open the DevTools Network tab and watch: zero requests with your file in them.