Stax
Tools

Compress Image to 20 KB Online Free, No Upload

Compress an image to under 20 KB in your browser. Hits the exact KB limit for form uploads, outputs JPG, and never uploads your photo.

20 KB is the size limit that catches people out on photo and signature uploads: a phone photo is a few megabytes, so a limit this small needs a real reduction, not just a slider nudge. This page explains what fits in 20 KB, why the order you do things in matters, and how to hit the limit in your browser without sending your photo anywhere.

Drop an image here or click to upload

Target file size (result will be under this)

Upload an image, then tap a size.

What fits in 20 KB

At about 0.2 bytes per pixel for a typical photograph, 20 KB holds roughly 102 thousand pixels — around 290×360 for a portrait or 320×320 for a square picture. Flat images such as a signature on white paper fit much larger dimensions; detailed photos fit less. Treat these as estimates.

What 20 KB can hold

As a rough guide, a photograph at moderate JPEG quality costs about 0.15–0.25 bytes per pixel, which puts 20 KB at around a hundred thousand pixels — think of a picture roughly 300 by 350 pixels. A signature on white paper is a different case: large flat areas compress so well that a clean signature is often well under 20 KB even at a decent size. Faces and textured photos are the hard ones.

Quality first, then size

The compressor searches for the highest JPEG quality that fits under 20 KB. Only when even the lowest acceptable quality is too big does it shrink the picture's dimensions, and it keeps the image as large as it can, down to a minimum of 160 pixels on the long side. The result aims about three percent below 20 KB, so a portal that counts kilobytes as 1,000 bytes still accepts it.

Dimensions are a separate rule

Many forms specify pixel dimensions as well as a file size, and compression alone does not set those. Resize the picture to the required width and height first with the image resizer, then compress. Doing it in that order means the compressor does not have to downscale further, so the photo stays as sharp as 20 KB allows.

Frequently asked questions

How do I compress an image to 20 KB without uploading it?
Choose your photo in the compressor above, pick 20 KB as the target and press compress. It runs entirely in your browser using the Canvas API, so the image never leaves your device. It lowers JPEG quality first and reduces dimensions only if it has to.
Why does my photo look softer after compressing to 20 KB?
At this size the encoder has very few bytes per pixel to work with, so fine texture and sharp edges are the first things to go. Starting from a well-lit, in-focus photo cropped tightly to the subject gives the best result, because less of the budget is wasted on background.
Can I reach 20 KB from a PNG screenshot?
Yes. The output is a JPEG by default, which is far smaller than a PNG for photographic content. Screenshots of flat colours and text can be tricky: JPEG blurs sharp text edges slightly, so check the result is still legible.

Related tools