Skip to content
Neattrim

Compress PNG

Reduce the weight of a PNG screenshot, logo or diagram without turning its edges to mush. Transparency matters here, so check it on a coloured background afterwards. Open the parent tool for other settings

Runs on your device. Your file never leaves it.

Preset for this page

Format
PNG

The tool below starts with these settings. Change any of them in the tool.

Choose imagesJPG, PNG or WebP. Processed on this device.

PNG is lossless, so savings are usually small.

How to

  1. Choose your source. Pick the PNG you want to slim down, ideally the full-size export from your design or screenshot tool.
  2. Review the preset. Run the compression and compare small lettering, thin lines and any soft shadows in the preview.
  3. Export and inspect. Save the result, place it over a dark and a light background to confirm transparency, and compare its size with the original.

When to use compress png

PNG is a lossless format built for screenshots, interface mockups, logos and diagrams, where flat colours and crisp edges matter more than photographic realism. Because it keeps every pixel exactly, a PNG of a photograph can be surprisingly large, and shrinking it may save less than you expect. People reach for PNG compression when a documentation page loads slowly, when a help-desk system rejects a large screenshot, or when a logo file is heavier than the page around it. Things to look at afterwards: small interface text, thin chart lines, gradients that might show banding, and soft drop shadows that rely on partly transparent pixels. If the picture is a photograph and there is no transparency, a JPG copy is often much smaller and may be a fairer choice; if you need transparency, stay with PNG. Open the exported file on both a white and a dark background to confirm that edges are clean and nothing grey has appeared around the shape. Compare the new size with the old one and stop there if the saving is small, rather than forcing further changes.

Frequently asked questions

Why is my compressed PNG still large?
Photographs and images with fine noise contain a great deal of unique colour data that PNG normally has to store. Flat graphics shrink well, photos do not, so consider JPG for photographs that need no transparency.
Does compress-png keep a transparent background?
PNG supports transparency, but you should verify it rather than assume it. Place the downloaded file over both a dark and a light background and look for a solid box or a grey fringe around the shape.
Should I switch a PNG photo to JPG instead of shrinking the PNG?
For photographs without see-through areas, usually yes, since JPG stores them far more compactly. For logos, screenshots and anything with sharp text or transparency, stay with PNG and accept a more modest saving.
Why do gradients look banded after PNG compression?
Reducing colour detail can turn a smooth blend into visible steps, especially in dark gradients and soft shadows. If you see stripes, go back to the original export and try again, or accept a larger file.
How can I tell whether PNG compression damaged small text?
Zoom to 100% and read the smallest lettering in the exported file next to the original. Ragged edges, missing dots on letters or colour fringes mean the result is too rough for a screenshot that must stay readable.

More tools

All tools