Resize an image to 20 KB
Compress a JPG or PNG to 20 KB or less by searching quality and scale, and see the exact result size before downloading.
Nothing is uploaded. The file is read from disk and the result is saved back to it.
How it works
- 1Pick the image
Drop a photo. It is decoded by the browser, never uploaded.
- 2Set the target
20 KB is preselected; the tool also offers 10, 50, 100 and 500 KB.
- 3Compress
Quality and scale are searched until the encoded bytes fit under the target.
- 4Download
The card shows original and final size in KB. Save the JPG.
Why it is private
There is no upload endpoint in this tool. The engine is downloaded once (and cached by your browser), then the file is read from disk, processed in memory and written back as a download. Nothing about your media is sent anywhere, and there is no account to tie it to.
The image is drawn on a canvas and encoded by the browser itself; the tool searches quality and scale until the file fits your target.
- Input
- JPG, PNG, WebP, HEIC (where the browser decodes it), BMP
- Output
- JPG (or WebP), at or below the target
- Targets
- 10 / 20 / 50 / 100 / 500 KB
- Engine
- Canvas + binary search, in this tab
- Upload
- None
Frequently asked questions
Is the result really under 20 KB?+
Yes — the encoder loops until the produced file is at or below the target, and the exact byte count is shown. If the target is impossible at a usable size, the tool says so instead of lying.
Why does my photo look soft?+
20 KB is a very small budget. The tool first lowers quality, then scales the image down, which preserves more detail than quality alone.
Does it keep transparency?+
PNG transparency is flattened onto white when the output is JPG. Transparent output is kept only for WebP.
Is my photo uploaded?+
No. Canvas and the browser encoder do the work locally.
Related tools
Get a photo under 50 KB for a form or upload limit, with the exact final size shown before you download.
Reduce a photo to 100 KB for a website or application form, keeping as much detail as the budget allows.
Crop to Indian passport 413×531, US 600×600 or a 30 KB signature, on a clean white background, in the browser.