Home / Compress / Compress Image to 20KB
EDIT & RESIZE

Compress Image to 20KB

Automatically shrink a photo to fit within a strict 20KB limit — free, instant, entirely on your device.

BEFORE
AFTER

Drop a JPG or PNG here

Automatically compressed to 20KB or less

Compressing…
ORIGINAL
{{ fromSize }}
RESULT
{{ toSize }}

{{ errorMsg }}

How to compress an image to 20KB

Drop your image into the box above and the tool automatically runs a binary search across JPG quality levels until it finds the highest quality that still fits within 20KB, then hands you the result to download.

For example, a passport photo upload form or a government portal that caps file size at 20KB is a common trigger for this exact request — drop the photo here and the size constraint is handled automatically.

What to expect at 20KB

20KB is a very tight limit — at this size, some visible compression softness is normal, especially for larger or highly detailed photos. The tool finds the best possible quality it can within the constraint rather than guaranteeing a particular look, since the target size takes priority.

Where a 20KB limit usually comes from

A 20KB cap is one of the strictest common limits you'll run into — typically from a government portal, an exam registration form, a visa application, or an old-fashioned system that was clearly built with dial-up-era assumptions about file size. At this size, the image is almost always a small ID photo or signature rather than a full scene, since detailed photography simply can't hold up at 20KB without becoming visibly blocky.

This tool automatically finds the highest quality setting that still lands under 20KB, so you don't need to guess at a percentage yourself. If your original photo has a large background or extra detail around the subject, cropping in tightly first — using the Crop Image or Circle Crop tool — often lets more quality survive the squeeze to 20KB than compression alone can achieve.

What to expect visually at 20KB

At this size, some visible softening or minor color banding is normal, especially in photos with smooth gradients like skin tones or sky — it's an inherent trade-off of squeezing meaningful detail into a very small file, not a flaw in the compression itself. A tightly cropped headshot or signature will generally hold up better at 20KB than a busy scene with lots of fine texture.

The search for the right quality level runs through the Canvas API directly in your browser, so you see the result immediately with no upload delay, and can try a different crop or source photo right away if the first result doesn't look right.

Frequently asked questions

{{ item.a }}

Related tools