Compress PNG

Drop a PNG below, pick a compression level and click Compress to reduce its file size. Transparency is preserved at every level. You'll see the before and after size plus the percentage reduction. Everything happens locally in your browser — your image never leaves your device.

Read the guide: How to compress PNG images

Input

Drop a .png file to compress itUp to 20.0 MB per file
Compression level

64 colours/channel

Output

Your compressed PNG will appear here.

Processed locally in your browser — nothing is uploaded.

How the Compress PNG works

  • Your PNG is loaded into an in-browser canvas — nothing is uploaded.
  • For lossy levels, the RGB colour depth is reduced (alpha is left untouched so transparency is preserved).
  • The canvas is re-encoded as PNG, which packs the fewer unique colours more tightly via DEFLATE.
  • The new file size is compared with the original so you can see the reduction before downloading.

Useful tips

  • Use Lossless for a safe re-encode with no quality change, then try High if you need a smaller file.
  • Graphics with few colours (icons, logos) compress far more than detailed photographs.

Frequently asked questions

Is my image sent to a server?+

No. All compression happens entirely in your browser using a canvas. Nothing is uploaded or stored.

How is PNG compression different from JPG?+

PNG has no quality setting — it's lossless. To shrink a PNG we reduce the number of unique colours (which lets PNG's internal compression pack the data more tightly) or simply re-encode it. The alpha channel is left untouched so transparency is preserved.

Which level should I choose?+

Start with High. It keeps most of the visual quality while noticeably reducing the file. Use Lossless when you can't accept any quality change, and Low for simple graphics with few colours where the smallest size matters most.

Will transparency be preserved?+

Yes. The compression only reduces colour depth on the RGB channels — the alpha channel that controls transparency is never modified, so transparent areas stay transparent.

Related guides

Related tools

    base44
    Edit with Base44