Compress Image to 20KB: a complete guide
When you need an image under 20 KB
Twenty kilobytes is a very small file, about the size of one page of plain text. A few older government and school portals, some login or profile systems, and certain signature and thumbnail fields still enforce limits this low, because they were built when storage and bandwidth were tight. If a form says "maximum 20 KB", an ordinary photo will be rejected, since even a modest phone picture is a hundred times larger.
The Compress Image to 20KB page sets the target for you. Drop your picture in, and the tool looks for the best quality that fits. Because 20 KB is so little, it will usually also make the picture smaller in pixels, and that is normal.
What 20 KB can realistically hold
File size is roughly the number of pixels multiplied by how much detail each pixel carries. A JPG at moderate quality uses around 0.5 to 1.5 bits per pixel for a typical photo, so 20 KB is about 160,000 bits and can carry roughly a 300 by 300 pixel image of average detail. A plain graphic or a signature on a white background needs far fewer bits and can stay larger.
That is why the content matters as much as the settings. A close-up face against a plain wall compresses well. A crowd, a patterned fabric or a landscape full of leaves does not, and it will look soft at this size.
Steps for the best result
- Crop the picture first so only the part that matters is left. Less area means fewer pixels to store.
- Drop the picture into the tool. The target is already set to 20 KB.
- Look at the result at the size it will be shown, not zoomed in. A small thumbnail hides artifacts that a large view would reveal.
- If it looks too rough, check the form again. Many sites that say 20 KB for one field allow 50 KB for another.
- Download the file and confirm the size in your file manager before you upload.
Why a form may still reject your file
Sometimes the file is under the limit but is still refused. The usual reasons are a wrong file type (some portals accept only JPG), a required minimum size in pixels, or a minimum size in kilobytes as well as a maximum. Read the instructions on the form for a range such as "between 10 KB and 20 KB". If your result is far below the minimum, the original may have been small to begin with and you can use a slightly higher target instead.
Also note that operating systems can display file sizes differently. Some round 1 KB as 1,000 bytes and others as 1,024 bytes. The tool uses 1,024 bytes per KB, which is how most upload forms count. If a form seems to use 1,000 bytes per KB, enter a target a little lower, such as 18, to leave a safe margin.