Skip to main content

Compress Image to 20KB

Compress images to exactly 20KB free online. Shrink JPG, PNG or WebP to 20KB for strict upload caps and thumbnails — instant, in-browser, no upload.

Runs on your device — nothing is uploaded

Selected

20KB is the extreme end of the compression tiers: legacy back-ends, some government systems and certain platform avatar limits land here. Squeezing a normal photo into 20KB is no longer a matter of "lower the quality" — most photos cannot fit into 20KB at their original resolution no matter how low the quality goes, so the resolution has to move.

This tool compresses by target size: the 20KB preset (it actually compresses to about 19KB, leaving a 5% margin), with the algorithm squeezing quality first and stepping the resolution down after (below). Everything runs in the browser — the images never leave your device.

How to Compress

Add the images

Drag in or browse for files, up to 20 at a time — ten input formats are supported: HEIC, JPG, PNG, WebP, AVIF, BMP, GIF, TIFF, ICO and SVG, with iPhone HEIC read directly by the site's own decoder.

Confirm the 20KB target

The preset is already in place; use "Custom" for a different figure. At 20KB, also check the source image: if the subject occupies too little of the frame, this tier loses the subject first.

Choose the output format

For photos at this tier, JPG or "Auto" is the recommendation — PNG's lossless overhead is a real handicap inside 20KB, and only images with transparency are worth keeping as PNG.

Compress and download

The results panel shows the original and result sizes, the actual quality and resolution level, and whether the target was met. Download one by one, or take a ZIP.

How Many Pixels Fit in 20KB

20KB is a pixel budget question — doing the arithmetic before you act beats trial and error:

Resolution The reality at 20KB
300×200 (60 thousand pixels) Barely fits at high JPEG quality, and still looks decent
600×400 (240 thousand pixels) Quality must drop until grain is clearly visible
1200×800 The algorithm has to step below 50% to comply

The empirical conclusion: a sensible 20KB output stays within 300 thousand pixels. Rather than letting the algorithm crush the whole frame into block artifacts, the more effective move is to crop the subject first — enlarge the content that actually matters until it fills the frame, then hand it to the compressor. That is the standard practice for thumbnails: a thumbnail exists to be recognized at a glance, not to be examined.

When the results panel shows "target not met", the source image is too complex for 20KB to hold any usable appearance — a limitation of the data itself, not the tool slacking. The exits, in order: crop the subject → move to a larger target tier → lower your resolution expectations.

Frequently Asked Questions

Can a 20KB image be seen clearly?

For thumbnails and small avatars, yes — an output around 300×200 identifies people and objects without trouble. Uses that need "readable content" (IDs, documents) are not realistic at 20KB; that world starts at 50KB.

Why is the result slightly smaller than 20KB?

The 5% safety margin: when an upload system checks against a hard cap, "exactly 20.0KB" gets rejected over rounding error. Leaving the margin on purpose is field experience with these systems.

Can a PNG icon be compressed to 20KB?

Small icons, yes — a flat-color PNG of a few hundred pixels is only a few KB to begin with. Photo-type PNGs are essentially hopeless at the 20KB tier; switch to JPG.

How many files per run?

20 — the honest limit of memory. Split big batches into rounds.

Are my images uploaded?

No. The whole pipeline runs in the browser — verifiable in the network panel.

What if the 20KB result is all mosaic?

It means 20KB cannot hold usable quality at the source resolution. Crop the subject first (raise its share of the frame), or double-check that the system's limit isn't actually 200KB — misreading the tier by one zero is the most common accident.

Other target sizes and related tools

Guides

Longer write-ups on the things these tools deal with: file formats, size limits, and the algorithms behind them.