Compress Image to 20 KB

Twenty kilobytes is a classic cap for scanned documents and ID attachments: think passport-size photo uploads, signed form scans, and older e-government portals. This tool reduces quality first and dimensions second, and stops as soon as the encoded JPG or WebP is 20 KB or smaller.

Drop an image here or

Accepted: JPG, PNG, WebP · Max 25 MB · Processed locally in your browser

No file selected.

No preview yet. Choose an image to see it here.

Tool settings
Size target

This page targets 20 KB or smaller. Quality is automatic: encoding quality steps down first, then the dimensions shrink, until the file fits. There is no quality slider because the target decides it.

Rotation

Output is always PNG so the transparent corners survive.

Generate a file to view the result summary.

How to use Compress Image to 20 KB

  1. Choose or drop a JPEG, PNG, or WebP image.
  2. Pick the output format: JPG for the smallest files, WebP to keep transparency.
  3. Process the image. Quality is reduced first, then dimensions, until the file is 20 KB or smaller.
  4. Compare the result size, then download the generated file.

Supported behavior

  • The target is 20 KB or smaller. The result panel always shows the real output size.
  • The search runs locally: encoding quality steps down first, then the dimensions shrink in steps.
  • JPG usually reaches small targets at better quality; WebP keeps transparency when the browser supports it.

Best for

  • Passport-size photo uploads for visa and permit portals.
  • Scanned signed forms that must stay under 20 KB.
  • ID card and certificate scans for older portals.

Limits

  • Reaching a very small target can visibly soften detail, especially in photos with lots of texture.
  • If even the smallest sensible export stays above the target, the tool says so and hands you that smallest file instead of faking success.
  • The target counts bytes the way upload forms do: 20 KB means 20,480 bytes.

Privacy notes

  • Selected files stay on your device during processing; nothing is uploaded to a server.
  • Object URLs are revoked when previews or results are replaced.

Related tools

Related guides

Guide How to Reduce Image Size Without Losing Too Much Quality A practical guide to balancing image quality and file size. Updated June 30, 2026 Guide Why WebP Images Are Usually Smaller An explanation of why WebP often reduces image weight. Updated June 30, 2026

Compress Image to 20 KB FAQ

Is 20 KB enough for a readable document scan?

Usually yes, if the scan starts out sharp and high-contrast. The tool protects dimensions as long as it can, so text stays readable; check the preview before submitting.

My file came out at 19 KB. Is that a problem?

No. The target is 20 KB or smaller, and the tool stops at the first setting that fits so you keep as much quality as the budget allows.

Can I compress a PNG logo to 20 KB?

Yes, but flat graphics are exported as JPG or WebP here. Pick WebP if the logo needs transparency; pick JPG for the widest portal compatibility.