Skip to main content

Compress PNG to 20KB

Compress PNG to 20KB online for free. Radically lean — ideal for favicons, app icons and chat stickers. Keeps the alpha channel, processed locally in your browser, no upload.

Runs on your device — nothing is uploaded

Selected

Compressing a PNG to 20KB is working at the extreme end: favicons, small icons and chat stickers land in this bracket. The good news is that this kind of content is exactly PNG's sweet spot — flat colours and regular shapes compress extremely well, and a small icon often passes without a single resolution step down.

This tool compresses PNG to a target size: the 20KB preset is preselected (about 19KB in practice, a 5% safety margin), and reducing resolution is the only lever that reaches the target — it steps down from the original size (75% → 60% → 50%… down to 20%) and takes the first result that fits. Everything happens in the browser, and the image never leaves your device.

Compression steps

Drop in the PNGs

Drag in or pick files, up to 20 at a time. PNG icons, UI screenshots and logos with transparency are this page's home turf.

Confirm the 20KB target

The preset is already in place. Small icons (a favicon's 16/32px, stickers of a few hundred pixels) usually pass outright at this size; complex screenshots are basically hopeless inside 20KB — that is a limit of the content itself.

Keep the PNG output

Under the "Auto" format, images with transparency land on PNG automatically — the alpha channel survives. If you do not need transparency, locking JPG compresses much better, but that is another tool's scenario.

Compress and download

The result panel shows which resolution step the image landed on, the pass status and the saving ratio. Download one by one or as a ZIP.

Why PNG can only lean on resolution

PNG compresses on a completely different principle from JPEG, and that dictates the single path to "a specified file size":

JPEG PNG
What gets compressed High-frequency detail the eye barely notices Statistical redundancy between pixels (repeating patterns)
Quality parameter Yes (quality slider) No
What compression loses Detail Nothing
Levers on file size Quality × resolution Resolution only

PNG's DEFLATE compression feeds on "repetition" alone — flat colours, gradients and regular patterns squeeze down tiny; noise and a photo's random pixels barely budge. That is why the same photo saved as PNG is usually five to ten times the size of JPG, while an icon with a few dozen colours is only a few KB. In the PNG world, size follows content, not quality — which is also why PNG icons live comfortably at 50KB while PNG screenshots have to shrink.

Keeping transparency is this page's promise: the alpha channel follows the pixels through every rescale (canvas redraw), and the output PNG stays transparent. Your icon will never gain a black box or a white backing on any background.

Frequently asked questions

Does PNG compression make things blurry?

Not while the resolution stays unchanged — PNG is lossless, and re-saving the same pixels any number of times changes nothing. Blur only comes from cutting resolution: fewer pixels, softer edges. The smaller the reduction needed to hit 50KB, the better it looks.

My PNG won't compress down — why?

The content is too "random": photo-converted PNGs, noisy screenshots, complex gradients — DEFLATE cannot move these. Inside 20KB, almost only flat-colour small images survive; confirm your image really belongs to this class, and if it does not, switch presets or switch formats.

Does the icon-type PNG get its resolution changed?

Usually not — favicons and small icons of a few to a dozen KB pass from the start, and the search stops at the original resolution.

Up to 20 images at a time?

Yes. Batch-processing icon sets is a common use of this page — take them away in one ZIP.

Will my images be uploaded?

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

JPG is smaller — so why PNG?

Because your image has transparency. JPG has no alpha channel — an icon compressed to JPG comes out with a white or black backing. Between size and transparency, PNG is the only option that gives you both.

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.