Compress Image to 20KB Online (ID Photos, No Upload)
Compress to 20KB reduces a photo until the file is 20KB or smaller, which is the ceiling many ID-photo and visa forms impose. The tool lowers quality first, then resolution, and runs entirely in your browser.
Runs locally · files stay on device · works offline
How it works in 4 steps
- 1
Pick or drop
Select or drag files into the card — loaded directly into local memory.
- 2
Set options
Adjust target KB, format, dimensions or filters with instant feedback.
- 3
Process locally
Canvas, WebAssembly, or Web Crypto completes the job on your device.
- 4
Save result
Download directly; close the tab to clear everything from memory.
When to use this
| Scenario | Recommended | Why |
|---|---|---|
| A visa or ID form caps photos at 20KB | Compress to 20KB | Automatic quality then resolution until it fits |
| The photo is a 4000px phone shot | Compress to 20KB | It steps down to 360px wide, which is what 20KB allows |
| You need a bigger size instead | Compress to 100KB | Higher ceilings keep more detail |
Privacy & Offline Guarantee
Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.
FAQ
Will compressing to 20KB make my photo blurry?
The tool first lowers quality and, if that is not enough, steps the width down (1600→1200→900→700→500→360px) so it can still hit the target with the best possible quality. Above quality 0.8 the difference is invisible.
What if 20KB still is not reached?
The result panel shows the exact byte count and, when it misses, how far over it is. In practice a phone photo at 4000px compresses to 20KB at 360px wide, so the target is reachable — you just get a smaller image.
Is my image uploaded?
No. Compression runs in your browser with Canvas; there is no upload endpoint. You can confirm in DevTools → Network that no request carries the image.
Something failed, or you wish this tool also did something else? Tell me →
Related Tools
Ready to process your files privately?
Back to tool ↑