20 KB PNGs are for icons, simple logos, badges and small interface graphics, the kind of images where crisp edges and a transparent background matter more than photographic detail.
PNG at 20 KB: measured
| Test file | Original | PNG result | Pixels | Colours |
|---|---|---|---|---|
| Flat logo | 800×800, 12 KB | 8 KB | 800×800 | Lossless, unchanged |
| App screenshot | 1600×1000, 244 KB | 16 KB | 506×316 | 16 colour palette |
| Photographed signature | 1800×700, 145 KB | 17 KB | 470×183 | 16 colour palette |
Measured on 2026-12-06 in Chrome 156 with the same code that runs on this page. Sizes are in decimal kilobytes (1 KB = 1,000 bytes).
What fits in a 20 KB PNG
Flat graphics compress extremely well as PNG because long runs of identical pixels take almost no space: our 800×800 flat logo was only 7.8 KB losslessly, so it needed no changes at all. A detailed app screenshot is a different story: at 20 KB it had to drop to 16 colours and 506×316 pixels. If you are making website icons, export them at the size they will be shown (favicons at 32, 180 and 512 pixels), and use the favicon generator to make every size at once.
Photos are a poor fit for PNG: our photographed signature needed 17 KB as a PNG at 470×183, while a JPEG kept 1034×402. If you do not need transparency, reduce it as a JPG.
Worked example: an app or website icon
Design the icon on a square canvas with a transparent background, export it at the largest size you need (512 px), then drop it here. A simple two- or three-colour icon usually comes out lossless and far under 20 KB. If the icon has gradients or shadows, the palette may be reduced to 64 or fewer colours: check the edges with Compare.
Frequently asked questions
Why did my screenshot shrink so much at 20 KB?
Screenshots contain lots of text and colour detail. At 20 KB the tool must reduce both colours and pixels. Try 50–100 KB for screenshots.
Will a 20 KB PNG keep a transparent background?
Yes. Transparency is kept at every step.
Is the PNG uploaded?
No. It is processed in your browser.