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
- Open the image tool and drop your PNG in.
- Keep the output format as PNG.
- Lower the quality (which reduces the palette size) and watch the live preview — stop when you see any color banding.
- 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.