Skip to content

PNG Compressor

Shrink a screenshot.png or cover.png without leaving your browser.

Needs one at 640x480 first? The Screenshot Resizer makes those, and the Cover Generator builds covers.

A screenshot straight out of a capture tool is usually a 24 or 32 bit PNG, which stores a full colour value for every pixel. Cutting it down to a palette of at most 256 colours typically saves 70-90% with no visible difference, which is what pngquant is for.

This page is not pngquant - it is the same approach written in JavaScript, so nothing is uploaded and nothing has to be installed. Median cut picks the palette, a couple of Lloyd passes tighten it up, Floyd-Steinberg dithering hides the banding, and the result is written out as a palette PNG. Expect results in the same range as pngquant, give or take a few percent.

Pick your PNG

Drop an image on this card, click it to browse, or paste one from your clipboard.

Fewer colours means a smaller file and, past a point, visible banding.

Trades a little noise for smoother gradients. Worth turning off for pixel art, where it only makes the file bigger.

Before and after

Pick an image to get started.