Skip to content
ImgBench

Compress an Image to 20 KB Without Uploading

20 KB is a hard limit set by the upload form, not by taste. This tool shrinks the picture to a sensible size first, then compresses, and says so plainly when the target cannot be met.

Drop images here, or browse your files

JPEG, PNG, WebP, AVIF and BMP. Up to 200 images per batch, 50 MB per file.

JPG, PNG, WebP → compressed JPG

Files are read locally by your browser and are never uploaded to a server.

Queue

No images yet

    Images you add appear here with a preview, their file size, progress and any errors.

    Settings

    20 KB is a very small number. It shows up so often not because anyone likes that size, but because registration systems, exam platforms and government forms hard-code it as a maximum — the upload box takes that and nothing larger.

    What 20 KB actually holds

    File size is roughly the pixel count multiplied by the cost of encoding each pixel, so how much fits into 20 KB depends on how busy the picture is:

    Content At 20 KB
    295×413 ID photo Usually room to spare, features stay sharp
    413×579 ID photo Just about workable, edges soften
    1000×630 document scan Text is readable but near the limit
    4000×3000 phone photo A block of mush; do not compress it directly

    This is a rule of thumb, not a formula: a plain-background portrait and a close-up of leaves at the same 20 KB look nothing alike.

    The order that matters: shrink first, compress second

    With a fixed size cap, a compressor has only two levers:

    1. Lower the quality — detail disappears and edges go blocky
    2. Drop pixels — a smaller canvas needs fewer bytes

    Pull only the first lever and you get a blurry image that still looks wrong. So the order is:

    Check the pixel size the form asks for → resize to it → compress to 20 KB.

    Most forms specify both a pixel size and a file size. The file size line is the loud one; the pixel size line is the one people skip.

    How to do it

    1. Drop in the images. One or a whole batch; processing is local, with no upload wait.
    2. Leave the target at 20 KB. The page is pre-set, so swapping images needs no re-entry.
    3. Press compress. The tool searches for the highest quality that still fits 20 KB rather than always dropping to the floor.
    4. Read the comparison. Every result shows the original size, the new size and the change; a missed target is stated rather than hidden.
    5. Download. Take them individually, or the whole batch as one ZIP.

    Three habits that spoil the result

    What to do when 20 KB will not happen

    A few forms combine a 20 KB ceiling with a minimum pixel width, and those two pull against each other. If the comparison card says the target was missed, the file is already as small as the content allows at that resolution — shrinking the canvas is the only honest next step, and resize does that before compression rather than after.

    If the real ceiling turns out to be higher, stop squeezing. 50 KB keeps visibly more detail for the same picture, and 1 MB suits photos that only need to clear an email or CMS limit. When the upload has to stay a PNG to keep transparency, compression is the wrong tool — the format converter handles that without flattening the image.

    Frequently asked questions

    How large an image fits in 20 KB?+

    For ordinary content, a 20 KB JPEG carries roughly 300 to 500 pixels across; a 295×413 ID photo usually has room to spare. The busier the picture, the fewer pixels survive at the same file size.

    Why does my image turn into mush at 20 KB?+

    Because only the quality was lowered. At a fixed file size a compressor can drop detail or drop pixels. Shrink the longest edge to about 800 pixels first, and 20 KB holds a far clearer picture.

    Can I process several images at once?+

    Yes. Drop in a whole folder, set the target to 20 KB, and the batch is processed one image at a time in your browser. Download them individually or together as a ZIP.

    Does compressing change the file format?+

    Yes. Everything is written as JPG, so PNG and WebP sources are converted; transparent areas become white. ID photos do not need transparency anyway.

    Are my photos uploaded anywhere?+

    No. Decoding, resizing and re-encoding all happen on your own device. No file leaves the browser and no account is required.

    Does the tool tell me when it misses 20 KB?+

    Yes. Each card states the final size, and a file that cannot reach 20 KB at a usable resolution is reported rather than quietly passed. You then decide whether to accept it or shrink the canvas further.

    Which file types can I drop in?+

    JPG, PNG and WebP sources are accepted, and every result is written as JPG. Transparency is filled with white, which suits ID photos and document scans but not cut-out logos.

    More like this

    Guides

    All tools