Need an image under 20 KB for a form, portal or email? This tool compresses to just under 20 KB at the highest possible JPEG quality — automatically. Optional exact pixel dimensions too. Nothing leaves your browser.
14-iteration binary search over JPEG quality — no slider guessing, no repeated trial exports.
Image editors give you a quality slider, not a file-size target. Hitting an exact 20 KB limit means exporting, checking the size, adjusting, and exporting again — often five or six times. This tool inverts the problem: you state the size, and a binary search across 14 quality levels finds the highest quality that fits under 20 KB in about two seconds. If your image is physically too large to reach 20 KB at acceptable quality, add pixel dimensions in the same dialog — smaller dimensions need far fewer bytes.
JPEG, PNG, WebP or HEIC photo — loaded into browser memory only.
The 20 KB target is already filled in. Optionally set exact width and height in pixels if your portal requires them.
Binary search finds the best JPEG quality under your cap — higher quality than any fixed-percentage compressor.
Get a JPEG guaranteed under 20 KB, named so you can find it when the portal asks.
| Use case | Typical requirement |
|---|---|
| SSC / IBPS exam photo | 20–50 KB, 200 × 230 px |
| SSC / bank signature | 10–20 KB, 140 × 60 px |
| Indian passport seva portal | under 20 KB photo upload |
| Visa application portals | often 20–50 KB per document image |
| Government job portals | 20 KB photo + signature uploads |
Most compressor sites send your image to their servers. This one runs 100% in your browser — verifiably: it works offline.
Set the limit in KB and the tool gets as close as possible without exceeding it — not a vague "high/medium/low" choice.
No account, no email, no upsell wall between you and the download.
If pure compression cannot reach the target, set pixel dimensions in the same dialog — the tool resizes first, then compresses.