Compress PNG Files

PNG compression targets the DEFLATE data stream inside each file. Picture Optimizer re-encodes it, reduces the colour palette on the lower presets, and removes metadata. Or convert to WebP or AVIF, which keep transparency too.

Try it on your own file

Drop a PNG here, or choose a file

It stays on your device. Nothing is uploaded from this page.

80
Sign up free to compress it

Nothing is processed on this page. The Free plan compresses your first 15 photos to AVIF or JPG; bigger photos are resized to fit 3 MB. WebP and AI text start on Starter.

At a glance

Compress PNG at a glance

Preserved

Transparency

Maximum, Very High, High

Lossless presets

256, 128 or 64 colours

Palette presets

Figures from our sample run; AI text is Starter and up.

How PNG compression works

PNG is a lossless format. Every pixel in the original appears in the output, unchanged, unless you choose a palette preset.

At Maximum, Very High and High, the PNG stays lossless: the pixel data is re-encoded at a higher compression level and metadata is removed unless you keep it. At Medium, Low and Minimum, the image is reduced to a palette of 256, 128 or 64 colours. That makes logos, icons and screenshots much smaller, but can band photos and smooth gradients. The alpha channel stays intact.

PNG to WebP or AVIF

Converting a PNG often saves more than re-compressing it. Google's WebP documentation says lossless WebP images are 26% smaller than PNGs, and that lossy WebP with transparency typically gives 3× smaller files than PNG.

AVIF handles transparency natively as well. Run a sample (1 credit per image) to compare the real sizes for your own images before converting a batch. Picture Optimizer runs the conversion in a single pipeline step.

When to keep PNG format

Keep PNG when your audience includes Internet Explorer users or very old Android WebView browsers that lack WebP/AVIF support. Keep PNG for favicon .ico fallbacks. Keep PNG when you need exact pixel-level reproduction with no generation loss — print-resolution logos, technical diagrams, or medical imaging.

For most other images on the web, such as screenshots, UI mockups and product photos with transparency, WebP or AVIF is usually much lighter.

Compress PNG in WordPress

The WordPress plugin (Pro and up) handles PNG files the same way as JPG. Choose your mode and output format. If you choose WebP or AVIF, the plugin swaps the original for the converted file, and every reference to the image in post content, post meta, widgets and theme settings is updated to the new file, with a redirect from the old URL to the new one.

Questions

Common questions about this tool.

No. Picture Optimizer preserves the alpha channel during PNG compression. If you convert to WebP or AVIF, those formats also support transparency natively.

Fresh from the blog: Image compression