Compress Image to an Exact File Size — Free
Need your photo at exactly 100 KB? Job portals, university admissions and visa applications routinely reject uploads over strict KB limits. This tool binary-searches the perfect quality setting to land within ±5% of your target — free, unlimited, no signup, and your photos never leave your device.
Drop images here or click to browse
JPG, PNG, GIF (first frame), BMP, WebP · up to 20 files at once · processed locally
⚠️ Your browser can't encode WebP — WebP output is disabled. Use Chrome, Edge or Firefox for WebP.
Tip: portals usually demand JPEG — pick WebP only when the form accepts it. "Download all" may ask your browser's permission once for multiple downloads.
Frequently asked questions
Why would I need an exact file size?
Government job portals, university admissions, visa applications and exam forms across the world enforce strict upload limits — e.g. "photograph must be under 100 KB" or "between 20–50 KB". Uploads even 1 KB over get rejected. This tool hits your target within ±5% automatically.
How does it reach the exact size?
It binary-searches JPEG/WebP quality (14 passes between 5%–95%) to find the setting whose output lands closest to your target. If even the lowest quality is too big, it gently reduces the image dimensions and retries — and tells you the final dimensions.
What if my target can't be reached?
Two cases: if your image is already smaller than the target, no quality setting can inflate it — you'll get maximum quality with a note. If it's far too large, dimensions are reduced step by step until the target is reachable. You always see the final exact size before downloading.
JPEG or WebP — which should I choose?
JPEG for forms and portals — it's accepted everywhere. WebP gives a smaller file at the same visual quality, but many upload forms don't accept it yet. When in doubt, choose JPEG.
Is it really free? Are my photos uploaded?
Yes to free and unlimited — no signup, no watermark. And no: all compression happens in your browser with the canvas API. Your photos never leave your device.
Will compression ruin my photo quality?
The tool always picks the highest quality that still hits your target, so you get the best possible image at that size. For typical targets (50–200 KB) from a phone photo, the result looks clean at document sizes.