How to Resize an Image to 20 KB
July 17, 2026
A 20 KB cap is one of the strictest you will meet. Exam portals, government forms, and job applications often set it for photos and signatures, and a normal phone picture is a hundred times too big. The good news is that 20 KB is enough for a small, clear image if you shrink it the right way.
This walks through how file size actually works, then the exact order of steps to hit 20 KB without turning your photo into a smear.
Why 20 KB is so tight
An image file's size comes from two things:
- Dimensions, the width and height in pixels. Fewer pixels means a smaller file.
- Compression, how hard the format squeezes the data. More compression means a smaller file but softer detail.
A 20 KB limit is small enough that compression alone will not get you there from a full-size photo. You almost always have to cut the dimensions too. That is fine, because the forms asking for 20 KB display the image small anyway. A passport-style photo shown at 150 by 200 pixels does not need to be a 3000-pixel original.
The order that works
Do these in order. The point is to lose the least visible quality for each kilobyte you drop.
- Crop first. Trim off anything that is not the subject. On a photo, crop tight to the face and shoulders. On a signature, crop out the white margins. Every pixel you remove is size you do not have to compress away.
- Shrink the dimensions. This is the biggest lever at 20 KB. Bring the width down to what the form actually shows, often somewhere around 200 pixels wide for a photo. Smaller dimensions cut file size fast and are the only way most images reach 20 KB.
- Compress to hit the target. With a JPEG, lowering the quality setting squeezes the file further. This is the last step because it is where detail starts to visibly soften, so you only lean on it as much as the 20 KB limit forces.
Crop, resize, then compress. If you compress first and crop later, you waste effort squeezing pixels you were going to throw away.
Let the tool find the number
The hard part by hand is guessing the quality setting. Set it too high and you blow past 20 KB. Set it too low and the image is muddier than it needed to be. You end up exporting the same file five times.
A target-size resizer removes the guessing. Instead of picking a quality level, you name the size you want, and it searches for the highest quality that still lands under your cap. Open the resize to 20 KB tool, drop in your image, and it does that search for you and hands back a file just under the limit. It runs in your browser, so the photo never leaves your device, which matters when it is an ID photo or a signature.
Keep it readable at 20 KB
A few habits make a 20 KB image look far better than the size suggests:
- Match the shape the form wants. If it asks for a passport photo, crop to that portrait ratio before resizing so the tool is not wasting bytes on background.
- Favor simple backgrounds. A plain wall behind a face compresses much smaller than a busy room, because there is less detail for the format to store.
- Use JPEG for photos. JPEG compresses photographs far smaller than PNG at the same quality. Save PNG for line art or a signature on a transparent background.
- Check it at display size, not zoomed in. Judge the result at the size the form shows it. It may look rough at 400% zoom and perfectly clean in the actual upload box.
Photos versus signatures
The two most common 20 KB requests behave differently.
A photo needs its dimensions cut hard. Getting a face down to around 200 pixels wide is usually what takes a picture under 20 KB, and at that display size the softness barely shows.
A signature is easier. It is mostly white space with thin dark strokes, so it compresses small naturally. Crop it tight to the ink, keep it in JPEG or a flat PNG, and it often slides under 20 KB with room to spare.
When you cannot reach 20 KB
If the image simply will not go under 20 KB and still be legible, the usual cause is dimensions that are still too large. Bring the width down another step and try again, since dimensions move file size more than anything else at this range. If a form offers a slightly higher cap like 50 KB or 100 KB for the same field, that extra headroom buys noticeably clearer results, so use it when it is allowed.
Common questions
How do I make an image exactly 20 KB? Crop to the subject, shrink the width to what the form displays, then use a target-size tool that searches for the highest quality under 20 KB. The resize to 20 KB tool does that search automatically and returns a file just below the cap.
Why is my photo still over 20 KB after compressing? Its dimensions are probably too large. Compression alone rarely reaches 20 KB from a full-size photo. Cut the width down, often to around 200 pixels, and the file drops under the limit.
What is the best format for a 20 KB image? JPEG for photos, because it compresses photographs much smaller than PNG. Use PNG only for a signature or line art, especially if it needs a transparent background.
Will resizing to 20 KB ruin an ID photo? Not if you resize in the right order. Because these forms display the photo small, a 20 KB image looks fine at its actual size even though it seems soft when zoomed in.
Is it safe to resize an ID photo or signature online? It is when the tool works in your browser. The resize to 20 KB tool processes the image on your own device, so the file is never uploaded to a server.