All tools

Compress an image to 20 KB

Drop a JPG, PNG or WebP and get a copy at or under 20 KB. The tool searches for the highest quality that fits and only shrinks the pixels if it must. Drop several files to do a batch.

Loading the tool…

Who asks for 20 KB

20 KB is one of the tightest limits you will meet. It mostly shows up on older application systems that were built when storage was expensive, on signature fields, and on forums or intranets that cap avatar uploads. At this size the picture has to give up pixels, not just quality, so the useful question is not “can it fit?” but “how small will it get, and is that still readable?”.

What fits in 20 KB: measured

We reduced four typical files to 20 KB with this tool. Each cell shows the pixel size it kept, the quality it chose and the final file size.

Test fileAs JPGAs WebP
12 MP phone photo (street scene)
4032×3024, 1.45 MB
721×541 · q61 · 20 KB822×616 · q73 · 20 KB
Portrait headshot
1980×2440, 1.60 MB
378×466 · q60 · 20 KB431×531 · q73 · 20 KB
Phone photo of an A4 page
2480×3508, 1.25 MB
328×464 · q68 · 20 KB367×519 · q63 · 20 KB
Photographed signature
1800×700, 145 KB
1034×402 · q68 · 20 KB1800×700 · q68 · 20 KB

Longest side that fits in 20 KB as a JPEG: 576 px for the phone photo at quality 80 (731 px at quality 60), and 436 px for the page photo at quality 80.

Measured on 2026-12-06 in Chrome 156 with the same code that runs on this page. Sizes are in decimal kilobytes (1 KB = 1,000 bytes).

Getting the best 20 KB result

For a face, crop to head and shoulders before you shrink: our 2440-pixel portrait landed at 378×466 px as a JPEG, but a tighter crop keeps far more detail in the face itself. For a signature, a white background and dark ink matter more than the format: our phone photo of a blue-ink signature fit in 20 KB at 1034 pixels wide as a JPEG, and WebP kept the full 1800 pixels.

How to tell it worked

Zoom the result to 100% and look at the edges of text, hair and eyes. If the form shows a preview after upload, check that too: some systems resize again and blur a file that was already small.

Troubleshooting

The face is a blur
The original included too much background. Crop tighter (the cropper takes a few seconds) and reduce again from the original file.
The form says the file is still too big
Some systems count 20 KB as 20,000 bytes, others as 20,480. Our files are kept under 20,000 bytes, so if a form still refuses, it is probably checking pixel dimensions or file type, not size.
A signature turned grey and patchy
Photograph it in daylight on plain white paper, or scan it. Shadows and paper texture cost more bytes than the ink.

Need another limit? 50 KB · any size.

Frequently asked questions

How many pixels fit in 20 KB?

For a typical phone photo, about 570–730 pixels on the long side at medium to good JPEG quality (we measured 576 px at quality 80 and 731 px at quality 60). A document photo drops to roughly 440–490 pixels, too small to read body text.

Is WebP better than JPG at 20 KB?

Usually, yes: in our tests WebP kept 10–15% more pixels at the same size. But many forms only accept JPG, so check before you switch.

Can I get a passport photo into 20 KB?

Physically yes, but official passport systems almost never ask for so little. US visa photos allow up to 240 KB and the UK requires at least 50 KB. Use the photo pages for those.

Is my image uploaded?

No. It is processed in your browser and never leaves your device.