Compress PNG Online
Cut PNG file size by up to 80% and keep the transparency — still a real PNG, free, in your browser, with nothing uploaded.
Your file
Why use this tool
- No file size limit
- Nothing is uploaded
- No signup needed
PNG is lossless: it stores every pixel exactly, which keeps logos and screenshots sharp but makes photographs and large graphics very heavy. A PNG saved from a design tool or a screenshot of a full screen easily runs to several megabytes.
A browser's own PNG encoder is lossless and ignores any quality setting, so simply re-saving a PNG never makes it smaller. This PNG compressor does what dedicated PNG optimizers do instead: it reduces the image to an optimized palette of up to 256 colors and writes a new, indexed PNG — the same dimensions, the same transparency, a fraction of the size. Everything runs in your browser; nothing is uploaded, and there is no account or watermark.
How to compress a PNG
Add your PNG
Drag the .png file into the box, or click to browse. Transparent PNGs are welcome.
Set the quality
80% is set for you. Lower it for a smaller file; raise it for sharp text and fine lines.
Compress and download
Press Compress PNG. You get a smaller .png file, its size and the percentage saved, ready to download.
How a PNG gets smaller and stays a PNG
PNG encoding is lossless, but reducing the palette before encoding can change colors. This tool chooses up to 256 colors and stores each pixel as an index into that palette. Compare gradients and edges with the original; smaller output is not guaranteed.
The palette is chosen by clustering the colors the image actually uses, and the colors are laid down with a light dither, so gradients stay smooth instead of breaking into bands. The quality slider sets how many colors are kept: 100% keeps the full 256, lower settings keep fewer for a smaller file.
Transparency is kept: every color in the palette carries its own opacity, so transparent backgrounds, soft shadows and anti-aliased edges survive. The result is an ordinary PNG that opens in every browser, image editor, CMS and upload form that takes PNG.
When another format is the better choice
Photographs are the one case where a palette struggles: a photo spreads smooth tones across millions of colors, and with 256 a fine grain can show at low settings. For a photo with no transparency, converting PNG to JPG is usually smaller still — typically a fifth to a third of the size, with transparent areas filled with white.
For images on a website, PNG to WEBP often goes further than any PNG can: WEBP keeps transparency and is read by every current browser. And if the image is simply bigger than it needs to be, resizing it saves the most of all — halving the width and height leaves a quarter of the pixels.
Original PNG compared with the compressed PNG
What changes, and what doesn't, when you compress a PNG here.
| Original PNG | Compressed PNG | |
|---|---|---|
| File format | PNG | PNG, unchanged |
| Transparency | Yes | Yes, kept |
| Dimensions | Original | Unchanged |
| Colors | Up to millions | Up to 256, chosen for the image |
| File size | Large | Typically 50–80% smaller |
| Opens in | Everything that takes PNG | Everything that takes PNG |
When to compress a PNG
Images on a website
Hero graphics, product cut-outs and illustrations saved as PNG are some of the heaviest files on a page. Compressed, they stay sharp and transparent at a fraction of the weight.
Screenshots for documentation
Full-screen PNG screenshots add up quickly in help centers and tickets. Compressed, they load instantly.
Transparent logos and cut-outs
Logos and product photos with the background removed keep their transparency after compression.
Staying under an upload limit
When a form or platform insists on PNG and caps the file size, compressing gets a large PNG under the limit without changing its format.
