How to compress an image to 20KB
- Drop your photo into the box above (the target is already set to 20 KB).
- The tool searches for the highest quality that still fits under the limit, and shrinks the dimensions automatically if quality alone isn't enough.
- Download the result. The file size is shown next to each image so you can confirm it's under the cap before you upload it.
Everything happens on your own device, so there's no upload wait and no copy of your photo left on someone else's server.
Why 20KB is a hard limit to hit
20KB is very small for a photograph — most phone photos are 2,000 to 5,000KB, so you're asking for roughly a 99% reduction. Quality settings alone won't get there on a full-resolution image, because a 4000-pixel-wide photo has too much detail to encode in 20KB at any quality.
That's why this tool reduces the pixel dimensions as well when it has to. It lowers quality first, and only starts scaling the image down once the minimum useful quality still isn't small enough. The result is a photo that actually fits, rather than one that misses the limit.
Forms that ask for 20KB photos
Strict kilobyte caps show up most often on government and examination portals — application forms for competitive exams, recruitment sites, visa and identity document uploads, and older institutional systems. These limits exist because the systems behind them were built when storage and bandwidth were expensive, and the caps were never raised.
Many of these forms specify dimensions too (for example 200×230 pixels for a passport-style photo). If yours does, set Resize → Max width/height to the larger of the two numbers before compressing — hitting 20KB is much easier at small dimensions, and you'll keep more visible quality.
Getting a better-looking result at 20KB
- Crop before you compress. Removing background you don't need means the remaining pixels get more of the budget. A tightly cropped head-and-shoulders photo looks far better at 20KB than a full-body shot.
- Start from the best original. Compressing an already-compressed image compounds the damage. Use the original file from your camera or phone if you still have it.
- Set the dimensions the form asks for. If the form wants 200×230, don't send a 3000-pixel image squeezed to 20KB — it will look far worse than one resized properly first.
- Scanned signatures and documents compress much better than photographs because they're mostly flat white. These usually hit 20KB with quality to spare.
Nothing is uploaded
Compression runs inside your browser. Identity photos, signatures, and scanned documents are exactly the kind of files you shouldn't be handing to an anonymous web service, and with this tool you don't have to — the image never travels anywhere. You can disconnect from the internet after the page loads and it will still work.
Frequently asked questions
Can every photo be compressed to 20KB?
Almost always, but detailed photos will need their dimensions reduced too, which the tool does automatically. Very large, highly detailed images will look noticeably soft at 20KB — that's a limit of the file size, not of the tool.
Will the photo still be usable for a form?
Usually yes, especially if you crop tightly and set the dimensions the form requires first. Simple subjects like a head-and-shoulders portrait on a plain background hold up well.
Is my photo uploaded to a server?
No. Compression runs entirely in your browser using your device's own processor. The image is never transmitted anywhere.
What if I need 50KB or 100KB instead?
Just change the number in the target size box — you can set any limit you like, not only 20KB.
Does it work on a phone?
Yes. It runs in any modern mobile browser, which is convenient when the photo is already on your phone.