Skip to content
Toolzent

Compress Image to 20KB

Free tool to compress an image to 20KB or under in your browser. Ideal for tiny upload limits and passport-style photos. Download a small JPG, no upload, no signup.

Updated 2026-06-14 · Free · No sign-up · Runs privately in your browser

Runs entirely in your browser — your image is never uploaded. Output is a JPG (no transparency).

What this tool does

This tool compresses an image down to 20KB or less and downloads it as a JPG, entirely in your browser. A 20KB limit is one of the strictest you will meet, common on older government portals, exam-form photo boxes, and tiny avatar uploads. Hitting it by hand is fiddly; this tool does it automatically with nothing uploaded.

How to use it

  1. Click Choose an image and pick your photo.
  2. Keep the target size at 20 (or type another KB value).
  3. Optionally set the background colour for any transparent areas.
  4. Click Compress & download to save the small JPG.
  5. Review the Original, New size, Saved %, and Dimensions cards.

How it works

The image is drawn on a canvas and re-encoded as JPEG. The tool searches for the highest quality that stays at or below 20KB. Because 20KB is so small, raising or lowering quality is rarely enough on its own, so the tool downscales the dimensions in roughly 15% steps and retries until the file fits. This is the same approach photo-upload kiosks use, just automated in your browser.

Worked example

You have a 2MB passport-style photo and a form that caps uploads at 20KB.

  • The tool drops to low JPEG quality and shrinks the dimensions a few steps.
  • The output is about 19KB — over a 99% reduction.
  • The photo is smaller on screen and softer, but the face is still clear enough for an ID box.

What to expect at 20KB

Image typeResult at 20KB
Passport / ID photoUsable, smaller and softer
General phone photoNoticeable detail loss, fine for thumbnails
Screenshot of textOften blurry edges — keep as PNG if possible
Already tiny imageKept near original, well under 20KB

Tips

  • Expect smaller dimensions. At 20KB the tool almost always reduces width and height — that is normal.
  • Crop first for ID photos. Removing empty background before compressing leaves more detail for the subject.
  • Keep your original. The 20KB JPG is a one-way, lossy copy; store the full-quality version separately.

Frequently asked questions

How do I compress an image to 20KB?+

Choose your image, keep the target at 20, and click Compress and download. The tool lowers JPEG quality and, for a 20KB target, almost always shrinks the dimensions too, until the file is at or below 20KB.

Will a 20KB image still be usable?+

For small uses like a profile thumbnail, an ID photo box, or a form that demands 20KB, yes. The image will be smaller in dimensions and softer in detail, but recognisable. It is not meant for printing or full-screen viewing.

Is my image uploaded to compress it?+

No. All compression happens in your browser on a canvas, so the file never leaves your device. Nothing is uploaded or stored, and it works offline once the page has loaded.

Why did my photo get so much smaller in size on screen?+

20KB is a very tight target, so after lowering JPEG quality the tool reduces the width and height in steps to make the file fit. That is normal and expected for such a small size cap.

What format is the output?+

Always a JPG. JPEG is the most space-efficient common format for photos, which is what lets the tool reach 20KB. Transparent areas are flattened onto the background colour you choose.