MMolevia

Compress Image to 20KB

Shrink any JPG or PNG to exactly 20 KB or under — sharp enough to still look like you. Runs in your browser, no upload.

How to use it

  1. 1
    Add your image

    Drop a file, paste from clipboard, or tap to pick from your phone gallery or camera.

  2. 2
    We hit 20 KB automatically

    Our engine binary-searches the best quality that lands at or just under 20 KB — no sliders to fiddle with.

  3. 3
    Check the before / after

    Drag the slider to compare. If you want it smaller or sharper, nudge the target and re-run.

  4. 4
    Download

    Save the compressed JPG. It's ready to upload to whatever form rejected your original.

  5. 5
    Nothing is uploaded

    The whole thing runs in your browser. Close the tab and every trace of your image is gone — there is no server that ever sees it.

Why a 20 KB limit even exists

A surprising number of Indian government and exam portals cap photo uploads at 20 KB. It's a legacy of servers provisioned a decade ago, and it hasn't moved even as phone cameras jumped to 12+ megapixel files that weigh 4–6 MB each.

So candidates hit "upload", get a red "file too large" error, and lose half an hour trying to email the photo to themselves, screenshot it, or crop it randomly hoping the size drops. This tool does the one thing you actually need: it lands the file at 20 KB while keeping the face recognizable.

How to compress an image to 20 KB

The trick to hitting a tiny size without destroying the image is to trade two things at once: JPEG quality and pixel dimensions. Drop quality too far and you get blocky artifacts; keep dimensions too high and you can never reach 20 KB. Our engine searches both automatically — it lowers quality first, and only shrinks dimensions when quality alone can't get under the cap.

For a passport-style photo, 20 KB at around 300–400 px on the long side is usually the sweet spot: small file, still crisp enough for a form reviewer to match against your ID.

Will 20 KB look bad?

For a full-scene landscape, 20 KB is genuinely tiny and you'll see it. For a head-and-shoulders portrait cropped tight — which is what these forms want — 20 KB is completely usable. The face stays sharp because there's very little background detail competing for the byte budget.

If your form allows a little more headroom (say up to 50 KB), use it. More budget always means a sharper photo. We have a dedicated 50 KB tool for exactly that.

Frequently asked questions

Does the image get uploaded to your server?+

No. There is no server. All compression happens on your device using your browser's built-in image tools. We can't see your photo.

What formats can I compress?+

JPG, JPEG, PNG, and WebP inputs are all accepted. The output is a JPG, because that's what almost every form expects and it compresses smallest.

The result is a bit under 20 KB — is that a problem?+

No. Form limits are a maximum. Landing at 18–20 KB is ideal: safely under the cap with the best quality that fits.

Can I make it exactly 20 KB, not less?+

We aim to land as close to the cap as possible for maximum sharpness, typically within a few percent. Being slightly under is always safe; being over gets your upload rejected.

My photo is still blurry. What can I do?+

Crop tighter to your face before compressing — less background means more bytes spent on what matters. If your form allows it, target 50 KB instead.

Does it work on my phone?+

Yes. It's built mobile-first, and you can pick straight from your gallery or camera. Most of our users are on Android phones.