PNG Compressor

PNG files are lossless by default, which makes them large. This compressor reduces the color palette to shrink the file while keeping any transparent areas fully transparent, all inside your browser.

Quick answer: Drop in up to 50 PNG files and the quality slider, which starts at 80, limits each file to a 128 color palette at that setting. The tool keeps the lossless PNG whenever the reduced version is not smaller, and a quality of 100 skips color reduction entirely.

Drop images here or click to browse

PNG up to 50 MB each

Your images never leave your device

PNG, up to 50 megabytes each Your images never leave your device

How to use the PNG Compressor

  1. Drop in one or more PNG files.
  2. Adjust the quality slider to control how much the palette shrinks.
  3. Download the compressed PNG, transparency intact.

Features

  • Keeps the alpha channel, so transparent backgrounds stay transparent.
  • Reduces color count instead of discarding image detail like a photo compressor would.
  • Compress up to 50 PNGs in one batch and download them as a ZIP.
  • Skips files that are already smaller than any further compression would achieve.

Does compressing a PNG remove transparency?

No. Transparent areas stay transparent. The compressor reduces the number of distinct colors in the image, which is where PNG file size savings actually come from, and the alpha channel is preserved throughout.

Why does reducing colors shrink a PNG so much?

A full color PNG can store over 16 million possible colors per pixel, and most of that range goes unused in a screenshot, logo or icon that really only contains a few dozen or a few hundred distinct colors. The quality slider here maps to a palette size from 8 colors up to about 250, and 100 keeps every color: at the default of 80 the image gets a 128 color palette, which is usually invisible to the eye on flat graphics but still meaningfully smaller than storing every pixel's exact color separately. The guide on how to compress images without losing quality has a section on what the quality slider does to a PNG, and why a palette limit works differently from the detail a JPG throws away.

Why is my PNG still large after compressing it?

If the source file is a photograph rather than a graphic, PNG is the wrong format for it to begin with. Photos have gradual color transitions across thousands of shades, which a small palette cannot represent without visible banding, so the compressor cannot shrink a photographic PNG anywhere near as far as it shrinks a flat graphic. Convert a photo saved as PNG to JPG or WebP instead, using the Image Converter, for a far smaller result. To see what a lossy format does to file size at each setting, the quality guide has a table of one image saved at three JPG quality levels.

Frequently asked questions

How small can a PNG get?

Screenshots, logos and flat graphics often shrink by 60 to 80 percent, since they use few colors to begin with. A PNG photo shrinks less; convert that to WebP or JPG instead if it does not need transparency.

Is this a good alternative to TinyPNG?

It compresses PNGs the same way, by reducing the color palette, but runs entirely in your browser with no upload, no account, and up to 50 files at a time.

Will icons or logos still look sharp after compression?

Yes, at the default quality of 80 hard edges and flat colors stay crisp. Very low quality settings can introduce banding in smooth gradients, so keep those closer to 90.

What is the difference between this and just resizing a PNG smaller?

Resizing reduces the pixel dimensions, which changes how big the image displays. This tool keeps the same dimensions and only reduces the file size by shrinking the color palette, so the image still displays at the same size, just with a smaller download.

Does this tool support animated PNGs?

No, only static PNGs. An animated PNG (APNG) decodes as its first frame only, the same as any single still image.

Can I compress a PNG with a semi-transparent shadow or glow?

Yes, partial transparency in the alpha channel is preserved at every quality setting, not just fully opaque or fully transparent pixels.

Guides for this tool

Last updated .