Compress PNG
Upload a PNG, choose how many colours to keep and download a lighter file with its transparency intact.
Drag your PNG here or click to choose it
One PNG file at a time
PNG has no quality slider like JPG: it gets smaller by holding fewer distinct colours. At 64 colours most logos and illustrations look untouched.
How PNG compression works
PNG is a lossless format: it stores every pixel as-is and packs them with the Deflate algorithm. That is why there is no quality dial like the one JPG offers.
saved % = (original size − final size) ÷ original size × 100
The real way to slim a PNG down is to reduce how many distinct colours it contains. The tool reads the pixels, builds a representative palette with a median-cut algorithm and replaces each pixel with the closest palette colour.
With fewer repeated colours, Deflate finds far more identical sequences and the file shrinks. The alpha channel is copied untouched, so transparency survives.
Worked example
A 340 KB PNG logo holding thousands of near-identical shades drops to about 90 KB at 32 colours, and it looks the same because the flat areas already used very few real colours.
Frequently asked questions
- Why doesn't PNG have a quality setting?
- Because its compression is lossless: it rebuilds the original pixel by pixel. To make it smaller you have to give it less to store, and that means a smaller colour palette.
- Is transparency lost?
- No. Only the colour channels are recalculated; each pixel's alpha value is copied untouched, so soft transparent edges stay as they were.
- Which images benefit most?
- Logos, icons, screenshots and flat-colour illustrations. On photographs with smooth gradients, cutting the palette too far can produce visible banding.
- What if my image is a photo?
- For photographs use the compress JPG tool or convert to WebP: both produce far smaller files than any PNG.
Related calculators
- Compress JPGShrink a JPG photo by choosing how much compression to apply.
- Compress WebPShrink a WebP image by choosing its compression quality.
- JPG to WebPConvert JPG photos to WebP so your site loads faster.
- PNG to WebPConvert PNG images to WebP while keeping transparency.
- WebP to JPGConvert WebP images to JPG so any program can open them.
- Resize imageChange the pixel width and height of an image without distorting it.
- Change image resolution (DPI)Set the DPI of an image and control its real printed size.
- Crop imageDrag a selection over the image and crop it to that rectangle.
- Convert imageConvert between JPG, PNG and WebP by picking the output format.
- Favicon generatorBuild every favicon size and the .ico file from one image.
- Image to Base64Turn an image into a Base64 string or a ready-to-paste data URI.
- Image colour pickerClick anywhere on an image and read that pixel in HEX, RGB and HSL.
- Extract colours from an imageGet the dominant colour palette of any photograph.
- OG image generatorCreate a 1200 × 630 px Open Graph image with your title and colours.