Compress & resize an image to 20KB

Compress a JPEG, HEIC, WebP, or PNG image toward a fixed 20KB target with one tap — built for strict upload limits like ID photos, exam portals, and forms.

WebP is compressed to WebP, keeping transparency intact. Animated WebP is not supported. PNG stays PNG and is never auto-converted to WebP. Animated PNG (APNG) is not supported.

Your images are processed on this device and are never sent to a server.

This browser doesn't support the features needed for image compression

What this tool does

How to use it

  1. Select one or more JPEG, HEIC/HEIF, WebP, or PNG images.
  2. Press compress for each file — the 20KB target is applied automatically.
  3. Check the resulting file size and preview.
  4. Download the result, or try a different tool if the target wasn't reached.

Important limitations

Privacy

Every format is compressed in a Dedicated Worker in your browser; nothing is uploaded to a server.

Frequently asked questions

Why would I need an image this small?

Many application forms, exam registration portals, and ID-upload systems cap photo uploads at a small fixed size like 20KB. This page targets that exact limit without extra configuration.

Will a 20KB photo still look acceptable?

It depends on the original image. Reaching 20KB usually means visible quality loss and a smaller pixel size — check the preview before relying on the result.

What if my image is already smaller than 20KB?

It's returned as-is without being re-encoded.

Is reaching 20KB guaranteed?

No — for some images, especially high-detail or already-compressed ones, a 20KB target may not be reachable at all.

Can I pick a different fixed size instead?

Yes — see the other target sizes below, or set a custom value on compress to a target size.