Different systems ask for wildly different file sizes. One form wants 200 KB, another 50 KB, an exam board demands 30 KB, and an avatar uploader caps you at 10 KB. Most online compressors answer this with vague sliders labeled low, medium, and high — which is useless when the requirement is a specific number of kilobytes. You compress, you check the result, it is over the limit, and you start over.
This tool works the other way around: you state the exact KB budget and it delivers a file that fits. Set any target from 5 KB to 1000 KB on the slider, drop in your JPG, PNG, WebP, or GIF, and press Compress. The compressor measures real output bytes at each step of a binary search across JPEG quality levels, converging on the best-fitting version rather than guessing. The before-and-after panel shows exactly what you gained.
A second lever is available when quality alone is not enough. With the resizing option enabled, the tool progressively reduces pixel dimensions — 20 percent per step — until your file comes in under budget, which is the only realistic path to very small targets. Disable it and your original dimensions are preserved no matter what; if the target then proves unreachable, the tool says so plainly and reports the smallest size it could honestly produce, instead of handing you a file that silently fails the upload check.
As on every page of this site, the entire operation is local to your browser. Your image is never sent to a server, never stored, and never seen by anyone but you. That is not just a privacy promise — it is also why the tool is fast, with no upload and download round trips, and why it keeps working on a weak connection in a government office basement or on mobile data outside an exam center.
Use it as often as you like: free, unlimited, no account, no watermark. The tool remembers your last target size for next time, and the related pages offer dedicated presets for the most common limits, including 20 KB and 100 KB, plus a checker that measures any image's current size in kilobytes.