Skip to main content

Compress PNG and keep the transparency

Make PNG files much smaller by reducing the number of colors, the same way professional PNG optimizers do. Transparent backgrounds and sharp edges stay intact.

  • Transparency kept
  • Lossless option
  • Up to 30 files with ZIP
  • Nothing is uploaded
Compress by
Lower quality makes a smaller file. For photos, 70 to 80 is a good balance. For PNG, any value below 100 reduces the number of colors.
Original photo
New photo

How to compress a PNG

Add your PNG files

Drop them in the box or tap Choose photos. Logos, screenshots, icons and illustrations shrink the most.

Pick the quality

At 60 or more the file keeps up to 256 colors, which looks the same for most images. Set 100 to keep every pixel exactly.

Check and download

Zoom in on the before and after view to check edges and gradients, then download one file or a ZIP.

How much smaller PNG files get

We ran three typical PNG files through this tool at the default setting and measured the results.

ImageOriginal PNGAfter compressionSaved
Photo saved as PNG, 512 × 512 px474 KB142 KB, 256 colors70%
Logo with transparent background, 500 × 500 px164 KB62 KB, 256 colors63%
Scanned page in 255 shades of gray75 KB54 KB, identical pixels28%

The scanned page already had fewer than 256 colors, so the tool stored it as a palette PNG without changing a single pixel. The photo and the logo had thousands of colors and were reduced to 256 carefully chosen ones. Side by side at full size, we could not see a difference in either.

How PNG compression works

Why PNG files are large

A normal PNG stores up to 16 million colors plus a transparency value for every pixel, and it never throws any detail away. That is perfect for sharp text and flat graphics, but it makes PNG files large, especially for photos.

Color reduction: the big saving

Most images use far fewer distinct colors than PNG allows. This tool studies the image, picks the 256 colors (or fewer) that represent it best, and stores each pixel as a short reference to that palette. Smooth gradients get a fine, almost invisible dot pattern so they do not turn into stripes. The result is often called an 8-bit or palette PNG, and every browser, app and website opens it like any other PNG.

What the quality slider does for PNG

  • 100: no color reduction. Every pixel stays exactly the same.
  • 60 to 99: up to 256 colors. The best balance for almost every image.
  • 40 to 59: up to 128 colors, for flat graphics and icons.
  • 25 to 39: up to 64 colors.
  • Below 25: up to 32 colors, for simple logos and diagrams.

If an image already uses fewer colors than the limit, it is saved without any change to its pixels.

Transparency stays transparent

Fully transparent areas stay fully transparent, and soft edges such as shadows and anti-aliased outlines keep their partial transparency. You can place the compressed logo on any background and it will look the same as before.

When PNG is the wrong format

For a photo with no transparency, PNG is rarely the best choice. The same photo saved as JPG at quality 75 is usually several times smaller than even a compressed PNG. Use Compress JPG for photos, or the image converter to switch the format. Keep PNG for logos, icons, screenshots and anything with a see-through background.

Questions about compressing PNG

Yes. Transparent areas stay transparent and soft, semi-transparent edges are kept, so logos and icons still blend into any background.

At quality 100 it is, because no pixel changes. Below 100 the tool reduces the number of colors, which is a small, usually invisible change. Images that already have few colors stay pixel for pixel identical either way.

It is probably a photo. Photos have so much fine detail that even 256 colors need a lot of space. If you do not need transparency, save it as JPG or WebP, which are built for photos and give much smaller files.

Yes. Switch Compress by to Target size and enter the limit. The tool tries fewer colors first, keeping the full pixel size, and only makes the image smaller in pixels if it still does not fit.

Yes. Palette PNG files are part of the PNG standard from the start, so every browser, phone, editor and website that opens PNG opens them too.

Very well. Screenshots of apps and documents use large areas of flat color, so they often shrink by more than half, and the text stays sharp.

Gradients get a fine dot pattern called dithering, which hides the steps between colors. If you see banding in a large gradient, raise the quality to 100 for that image.

Up to 30 files, each up to 25 MB. They all get the same setting, and you can download them together as a ZIP.