PNG Compressor

Shrink PNG files with 256-color quantization (the pngquant technique) right in your browser — typically 50–70% smaller with transparency preserved.

Drop PNG files here

or — multiple files welcome. Nothing is uploaded; conversion happens on your device.

Files are processed entirely in your browser — never uploaded, never stored. Large photos convert in about a second each; the first HEIC file loads a small decoder module.

Runs fully in your browser — images are never uploaded or stored.

Frequently asked questions

How does PNG compression work here?

It reduces the palette to 256 optimally-chosen colors with dithering — the same technique as pngquant/TinyPNG. For screenshots, UI graphics, and logos the result is typically 50–70% smaller and visually identical. Transparency is fully preserved.

When does PNG quantization look bad?

On photos and smooth gradients, where 256 colors can band visibly. For photographic content, JPEG or WebP compression is the better tool — this one shines on graphics.

Are my images uploaded to a server?

No. Conversion runs entirely in your browser using its built-in image engine — files never leave your device, which also makes it faster than upload-based converters and safe for private photos.

Embed this calculator

Free to embed on your site. The attribution link back to this page is required — please keep it visible.

<iframe
  src="https://stopbyte.com/embed/compress-png"
  title="PNG Compressor by StopByte"
  width="100%" height="640" style="border:1px solid #d9dde3;border-radius:12px"
  allow="clipboard-write" loading="lazy"></iframe>
<p>Calculator by <a href="https://stopbyte.com/tools/compress-png">StopByte PNG Compressor</a></p>