Compress PNG files

Shrink a PNG by cutting its colours to a palette, while keeping transparent areas clear.

or drop an image hereYou can also paste with Ctrl+V or ⌘V. PNG files.
Compression

256 looks close to the original for most graphics. Fewer colours means a smaller file and more banding.

Optional. Smaller images are not enlarged.

Your result will appear here. Nothing is uploaded: the file stays on your device.

How to compress a PNG

  1. Choose or drop a PNG file.
  2. Leave Fewer colours on and start at 256 colours.
  3. Optionally set a Longest side if the image is larger than you need.
  4. Press Compress PNG, zoom in on the preview to check edges and gradients, then download.

What each setting does

Fewer colours
A full PNG can hold millions of colours. This option finds the best 256 (or fewer) colours for your image and maps every pixel to one of them. Semi-transparent pixels are part of that palette, so soft edges stay soft.
Colours
Fewer colours make a smaller file. Logos and icons often look the same at 32 or 64. Screenshots and illustrations are usually fine at 256.
Lossless only
Saves every pixel exactly as it was. The saving depends on how the original was made and is often small.

Which PNGs compress well

Flat graphics with a limited set of colours, such as logos, icons and screenshots, usually shrink the most. Photos saved as PNG are a poor match: gradients get visible bands at 256 colours. For a photo without transparency, a JPG from the image converter will be far smaller.

Limits

  • If the compressed file would be larger than your original, you get the original back.
  • Animated PNGs are reduced to their first frame.
  • Text chunks and colour profiles inside the original PNG are not copied.

Questions

Does compressing a PNG keep the transparent background?

Yes. Clear and partly clear pixels keep their transparency in both modes.

Why is my PNG still large?

It may be a detailed photo or a very large image. Try a smaller Longest side, fewer colours, or convert it to JPG or WebP.

Is 256 colours enough for a screenshot?

Usually, yes. Screenshots of apps and documents use few distinct colours. Zoom in on text after compressing; if you see speckles around letters, try Lossless only.

Can I compress a PNG to a set size in KB?

Yes, on the compress to a target size page. Choose PNG under Save as to keep the format.