WebyTooly

Compress PNG

Upload a PNG, choose how many colours to keep and download a lighter file with its transparency intact.

Espacio publicitario

Drag your PNG here or click to choose it

One PNG file at a time

PNG has no quality slider like JPG: it gets smaller by holding fewer distinct colours. At 64 colours most logos and illustrations look untouched.

Espacio publicitario

How PNG compression works

PNG is a lossless format: it stores every pixel as-is and packs them with the Deflate algorithm. That is why there is no quality dial like the one JPG offers.

saved % = (original size − final size) ÷ original size × 100

The real way to slim a PNG down is to reduce how many distinct colours it contains. The tool reads the pixels, builds a representative palette with a median-cut algorithm and replaces each pixel with the closest palette colour.

With fewer repeated colours, Deflate finds far more identical sequences and the file shrinks. The alpha channel is copied untouched, so transparency survives.

Worked example

A 340 KB PNG logo holding thousands of near-identical shades drops to about 90 KB at 32 colours, and it looks the same because the flat areas already used very few real colours.

Frequently asked questions

Why doesn't PNG have a quality setting?
Because its compression is lossless: it rebuilds the original pixel by pixel. To make it smaller you have to give it less to store, and that means a smaller colour palette.
Is transparency lost?
No. Only the colour channels are recalculated; each pixel's alpha value is copied untouched, so soft transparent edges stay as they were.
Which images benefit most?
Logos, icons, screenshots and flat-colour illustrations. On photographs with smooth gradients, cutting the palette too far can produce visible banding.
What if my image is a photo?
For photographs use the compress JPG tool or convert to WebP: both produce far smaller files than any PNG.

Related calculators