Compress a PNG

Drop in one or more PNG files and the optimizer reduces their colours and repacks them, then shows the new size. Nothing is uploaded, and transparency is kept.

  • Files stay on this device
  • Before and after preview
  • No sign-up, no watermark

Making PNG files smaller

PNG is the format people use for screenshots, logos, icons, diagrams and anything with a transparent background. It is also the format that most often turns a simple upload into a problem, because PNG files are large. A full-screen screenshot can easily run past a megabyte, and a PNG photo can be many times heavier than the same picture as a JPEG.

Steps

  1. Drop your PNG files into the tool above.
  2. Each file is compressed straight away. Read the new size beside it.
  3. Select a file and use the comparison handle to check it against the original.
  4. Move the quality slider if you want a smaller file or more fidelity, then download.

What the tool actually does

PNG is lossless, so you cannot simply lower quality as you can with a JPEG. This tool uses two techniques instead. First it reduces the image to a palette, which means using a limited set of colours instead of millions. Then it repacks the data more efficiently with OxiPNG. At quality 95 and above the palette step is skipped, so no colours are removed and the result is pixel for pixel identical, only packed better.

Who gets big savings

  • Screenshots and interface graphics. These have large flat areas and few colours, so palette reduction works very well.
  • Logos and icons. Usually already small, but a few kilobytes can still be saved.
  • Charts and diagrams. Good candidates, since they use a handful of colours.
  • Photos. Poor candidates. Every pixel is slightly different, so reducing colours either saves little or visibly damages smooth areas.

When to change format instead

If your PNG is a photo and does not need transparency, compressing it as PNG is the wrong approach. Set Save as to JPEG or WebP and the same tool converts and compresses in one step. The saving is typically large. If you need transparency and a smaller file, WebP supports both. You can also try the PNG to WebP converter, and the article on PNG vs JPG vs WebP explains the trade-offs.

Common problems

  • Colours look banded or flat. Raise the quality, ideally to 95 or above, so more colours are kept.
  • Very little saving. The file is probably a photo or was already optimized. Try another format, or reduce the pixel size with the resizer.
  • A file is rejected. Files must be under 50 MB. Shrink very large images first.
  • The tab slows down. Huge images need lots of memory. Process fewer files at a time.

Always keep the original. The optimized copy is the one to publish or send. If you are unsure which of the two files you are holding later, check the file size, because the compressed copy should be the smaller one.

Common questions

Does compressing a PNG reduce quality?
Below quality 95 the tool reduces the number of colours, which can cause slight banding in smooth gradients. At 95 and above no colours are removed and the pixels stay identical, with a smaller saving. Compare with the slider before you download.
Will transparency survive?
Yes. A PNG stays a PNG by default, and transparent areas are preserved. Transparency is only lost if you change Save as to JPEG, which fills see-through areas with white.
Why did my PNG barely shrink?
Photos saved as PNG hold a huge number of unique colours, so there is little to remove. Screenshots and logos shrink well. For a photo, switching Save as to JPEG or WebP usually gives a far bigger saving.
Can I compress many PNG files together?
Yes. Add several files at once, check each result in the list, and download them one by one or together as a ZIP. Each file is limited to 50 MB, and all processing stays on your device.

All image tools