Compress PNG

Reduce PNG file size in your browser. PNG is lossless, so true compression is limited — the tool recommends switching to WebP for significant savings.

Runs in browser — no data sent to servers png compress image optimize
🖼️

Drop a PNG image here or click to upload

Runs entirely in your browser — your file never leaves your device

What does PNG compression actually do?

PNG is a lossless format — every pixel is preserved exactly. Unlike JPG or WebP, the quality slider has no effect on PNG output because the Canvas API always produces an unoptimised lossless PNG. Specialist tools like pngquant or Squoosh apply palette quantisation and zlib tuning to shrink PNGs significantly, but that level of compression is not available in the browser. For substantial file size reduction, converting to WebP is usually the best option.

<strong>Best approach for PNG:</strong> If you need transparency preserved, use this tool to get a base PNG and then pass it through a dedicated optimiser like <em>pngquant</em>. If transparency is not required, convert to WebP or JPG for 30–80% smaller files.

Which quality setting should you use?

Because PNG is lossless, the "quality" setting below affects only whether the output is encoded as PNG (at any quality value). The file size will be similar regardless of the slider. Use the format switch buttons to see a real comparison.

Quality Typical size reduction Visual quality Best for
Any valueMinimal changePixel-perfectArchiving, logos, screenshots
→ Convert to WebP (80%)50–70% smallerExcellentWeb images with transparency
→ Convert to JPG (80%)60–80% smallerVery goodPhotos without transparency

When to compress PNG vs convert to another format

PNG is the format of choice for images that need transparency (logos, icons, UI elements) or must be pixel-perfect (screenshots, diagrams). For photos or large hero images where transparency is not needed, JPG or WebP will be dramatically smaller.

✓ Compress PNG when…

  • • Image needs transparency (logos, icons)
  • • Lossless quality is a hard requirement
  • • Screenshot or diagram with sharp lines
  • • Downstream tools require PNG format

→ Convert instead when…

  • • File size is the priority → convert to WebP
  • • No transparency needed → convert to JPG
  • • Animated image → use WebP or GIF

Related image tools