Compress Image to Exact KB
Hit an exact file size limit, like 100 KB or 2 MB.
Compress Image to Exact KB takes a target size — 20 KB, 100 KB, 200 KB, 2 MB — and binary-searches the encoder quality until the file lands just under it, dropping resolution only if quality alone cannot get there. It is built for upload forms with hard size limits, and it runs on your device.
Loading Compress Image to Exact KB…
Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.
How to use Compress Image to Exact KB
- Add your image.
- Type the target size, or pick a common preset like 100 KB.
- Let the tool search for the best quality that fits, then download.
Questions about Compress Image to Exact KB
How does it hit the exact size?
A binary search over the JPEG or WebP quality parameter: encode, measure, adjust, repeat — usually 8 to 12 iterations to land within a few percent under your target. If the smallest acceptable quality is still too big, it starts reducing the pixel dimensions in steps.
Why did my image get physically smaller?
Because quality alone could not reach the target. A 12-megapixel photo cannot become 20 KB while staying 12 megapixels and still looking like anything. Downscaling is the honest way to get there, and the tool tells you when it did it.
Which format gives the smallest file?
WebP, usually by 25-35% over JPEG at matching quality. Use JPEG when the destination is an old system or a government portal that only accepts JPG.
Can it get under 20 KB?
Usually, but only by cutting the pixel dimensions as well — 20 KB of JPEG holds roughly a 300x300 photo at a usable quality. The tool reports the dimensions it had to settle on, so you can check the result still meets the portal's minimum width and height.
Does this work on a phone?
Yes. The whole search runs in the browser, so an Android or iOS device does the same work, though a little slower on a large photo. Compressing on the phone and uploading to the portal from the same device is the case this was built for.
Is Compress Image to Exact KB really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Compress Image to Exact KB?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.