How to compress a PNG
- Choose or drop a PNG file.
- Leave Fewer colours on and start at 256 colours.
- Optionally set a Longest side if the image is larger than you need.
- 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.