Zero uploads · 100% in-browser No sign-up · No watermarks · Free forever

Compress an image to 20 KB

20 KB is the limit you meet on signature fields and the strictest photo boxes of exam and recruitment forms. Drop your image in and it comes out under 20 KB, with the best quality that fits. Nothing is uploaded.

Runs in your browser Under 20,000 bytes Signatures and photos
Measured

Three photos, one 20 KB target

We put three different images through this exact tool at its 20 KB setting and wrote down what it did to each.

q56600x600 avatar, 42.9 KB to 18.9 KB, full size kept
609x913760x1140 portrait, 77.4 KB to 19.0 KB at q37
617x4161280x863 landscape, 398.6 KB to 18.9 KB at q30
-95%Biggest cut of the three

The pattern is the useful part: a small square photo fits at a decent quality with every pixel intact, while a full landscape photo has to give up more than half its width. If your form gives pixel dimensions as well as a size limit, resize to those first and the 20 KB will go much further.

Why 20 KB is tight

A byte budget, not a quality setting

At ordinary JPG quality a photograph costs very roughly one to two bytes per pixel. 20 KB is 20,480 bytes, so the honest budget is somewhere around 0.1 to 0.2 megapixels: about 400 by 400 for a photo, more for a flat signature.

That is why the tool works in two stages. First it lowers JPG quality, which is cheap and invisible down to the 70s. If that is not enough it stops at quality 30, because below that faces turn blocky, and shrinks the width and height instead. A smaller sharp image always beats a full-size smeared one.

Signatures are the exception. Ink on white paper is mostly a single flat colour, and flat colour compresses to almost nothing, so a cleanly cropped signature scan often fits under 20 KB at high quality with no shrinking at all.

Signature fields

Getting a signature under 20 KB cleanly

Sign on plain white paper with a dark pen

Black or dark blue ink on unlined white paper gives the compressor the least to encode. Lined or textured paper puts a pattern behind every stroke, and that pattern costs bytes.

Crop to the signature, not the page

A phone photo of a whole sheet is mostly empty paper. Trim it to a strip just around the signature with the crop tool first; the file shrinks before compression even starts.

Photograph it in daylight, flat on

Shadows and a grey cast turn the white background into a gradient, which compresses far worse than clean white. A window-lit desk and the phone held straight above the paper is enough.

Check the form's pixel size too

Many forms state dimensions alongside the byte limit. If yours does, set them with the image resizer first, then compress; the two limits are separate checks.

Honest limits

What this tool will not do

It will not keep a large photo at full size

Our 1280 pixel landscape had to drop to 617 pixels wide to reach 20 KB. If you need the full width, you need a bigger limit; the 50 KB page kept 980 pixels of the same photo.

It will not reach 20 KB with PNG output

PNG is lossless and has no quality dial, so a PNG photo can only be shrunk in pixels, and it ends up tiny. Leave the output on JPG, which nearly every form wants anyway.

It will not fix a blurry scan

Compression removes detail, it never adds it. If the original signature is soft or the photo out of focus, retake it before compressing.

FAQ

Frequently asked questions

How do I compress an image to 20 KB?

Drop the image into the box above and press Compress. The target is already set, so the tool searches for the highest quality that fits, and if quality alone cannot get there it reduces the pixel dimensions until it does. The result row shows the final size before you download anything.

Why is my image smaller in pixels after compressing to 20 KB?

Because 20 KB is too little room for a full-size photo at a quality you would want to look at. The tool will not go below quality 30, where JPG starts to fall apart into blocks; once it reaches that floor it shrinks the width and height instead. In our test a 1280 by 863 photo came out at 617 by 416. Forms that ask for 20 KB almost always want a small image anyway.

Will a signature scan fit under 20 KB?

Usually with room to spare. A signature is dark ink on plain paper, mostly flat white, which is exactly what JPG compresses best. Crop tightly around the signature before compressing, since every row of blank paper still costs bytes.

Why does the tool aim at 19 KB instead of 20?

Some upload forms count a kilobyte as 1,000 bytes and some as 1,024. A file of 20,300 bytes is under 20 KB by one rule and over it by the other. Aiming at 19 KB (19,456 bytes) passes both, so the form never rejects a file the tool told you was fine.

My form also says the photo must be at least 10 KB. Is that a problem?

Not usually. The tool only shrinks a file until it fits under the target, it never pads one out. If your original is already under 10 KB, it is probably too small to look acceptable on the form either, so start from a better scan or photo.

Is my photo uploaded anywhere?

No. The compression runs in your browser on your own device. Nothing is sent to a server, which matters when the image is your signature or an ID photo.

Exact file sizes

Compress to a specific size

Each of these opens the compressor with the limit already set, aimed just under it so the file passes whether a form counts a kilobyte as 1,000 or 1,024 bytes.

Related guides

Worth reading next