Image Compression

How to Compress PNG Without Losing Transparency

PNG is the go-to format for logos, icons and graphics precisely because it supports transparency — the see-through areas that let an image sit on any background. The catch: PNGs are large. The good news: you can shrink them dramatically while keeping that transparency perfectly intact.

The key: palette quantization, not conversion

There are two ways to “compress” a PNG, and only one keeps transparency:

  • ✅ Palette quantization reduces the number of colors the PNG stores (e.g. from millions down to 256 carefully chosen ones). For logos, icons and flat graphics this is visually identical and often halves the file — and it fully preserves the alpha channel.
  • ❌ Converting to JPG shrinks the file but destroys transparency — JPG has no alpha channel, so transparent areas get filled with a solid color (usually white). Never do this for images that need transparency.

The FreeCompressor image tool uses quantization for PNG output, so transparency survives. The checkerboard pattern behind the preview confirms it — if you can see through to the checkerboard, your alpha channel is intact.

How to compress a transparent PNG

  1. Open the image tool and drop your PNG in.
  2. Keep the output format as PNG.
  3. Lower the quality (which reduces the palette size) and watch the live preview — stop when you see any color banding.
  4. Download. The transparent areas stay transparent.

When PNG is the wrong tool

PNG is lossless and brilliant for graphics, but terrible for photographs — a photo saved as PNG can be 5–10× larger than it needs to be. If your “PNG” is actually a photo:

  • No transparency needed? Convert to JPG or WebP — huge savings. See converting PNG to JPG.
  • Transparency needed? Convert to WebP. It compresses far better than PNG and keeps the alpha channel — the best of both worlds.

The rule of thumb

Flat graphics with transparency → compress as PNG (quantize). Photographic images with transparency → convert to WebP. Either way, never flatten to JPG if you need to see through it.

Compress yours now

Drop your PNG into the image compressor, quantize it, and confirm the transparency against the checkerboard — free and 100% in your browser.

FAQ

Frequently asked questions

Does compressing a PNG remove transparency?

It shouldn't. FreeCompressor uses palette quantization that preserves the full alpha channel, so transparency survives compression. Converting to JPG is what destroys transparency — avoid that for images with transparent areas.

How do I make a PNG smaller without losing quality?

Use palette quantization (reducing the number of colors), which is lossless-looking for most logos and graphics and can halve the file. For photographic PNGs, converting to WebP keeps transparency while shrinking much further.

What's the best format for transparent images?

PNG for maximum compatibility and lossless quality, or WebP for much smaller files that still keep transparency. Never JPG — it has no transparency support.