Skip to content

PNG Compressor

Quantises the palette and rewrites the deflate stream to shrink a PNG without changing its dimensions.

A PNG straight out of a design tool is usually two to five times larger than it needs to be, because it stores every colour it can rather than every colour it uses. This rewrites it with a smaller palette and a better-packed compression stream, at the same dimensions.

🔒 Runs entirely in your browsercompresspngoptimizelossy
Compression mode

Reduces to a palette. Typically 60-80% smaller, and the usual reason a PNG is huge.

Effort

The default. A second or two per image.

Drop images here

PNG, JPEG, WebP or GIF. They are read in this tab and never uploaded.

How to use it

  1. Drop the file in

    PNG, JPEG, WebP and GIF are all accepted; the result is always a PNG. Several files at once is fine.

  2. Check the quality figure

    SSIM is shown next to the saving. Above 0.98 the difference is invisible at normal viewing size; below 0.95 look at the preview before you keep it.

  3. Download, or send it on

    The result can go straight into the resizer or the WebP converter without decoding twice.

Common questions

Is the file uploaded anywhere?

No. The codec runs in your browser, in a worker. Nothing leaves the tab, which is also why it works offline once the page has loaded.

Why is my photograph barely smaller?

Palette reduction works on flat colour — screenshots, logos, illustrations. A photograph has tens of thousands of distinct colours and little to gain; convert it to JPEG or WebP instead.

Does it keep transparency?

Yes, including partial alpha. The alpha channel is quantised along with the colours, so a soft shadow stays soft.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.