SEOWebsiteTool

IMAGE COMPRESSION

Compress PNG — Reduce PNG File Size in Your Browser

Compress a PNG online for free. Re-encode and reduce colours to shrink the file while keeping PNG lossless and sharp. Runs privately in your browser.

Vos fichiers ne quittent jamais votre appareil.

Drop a file here or click to choose

Shrink an image to a target file size

PNG is a lossless format, which changes how compression works. A PNG never blurs or blocks the way a JPEG does — but you also can't just lower a quality dial to shed weight. Savings come from re-encoding the image more efficiently and, where it helps, reducing the number of distinct colours it stores. Everything runs on an HTML canvas in your browser, so your PNG is processed locally and never uploaded.

Where PNG savings come from

Because PNG keeps every pixel exactly, it can't trade detail for size the way lossy JPEG does. Re-encoding alone is lossless and changes nothing you can see. The bigger lever is the colour palette: an image with flat areas of colour — a screenshot, logo, icon, or diagram — often stores far more colours than it visibly uses, and trimming that palette shrinks the file. That step is technically lossy, so smooth gradients can show slight banding, but flat graphics usually look identical.

This is why PNG suits graphics, not photographs. A photo's millions of subtly different colours resist palette reduction and stay large as PNG. For a photo you don't need transparency on, converting to JPG will shrink it far more than any PNG optimisation can.

Troubleshooting

The PNG barely got smaller.
It's probably a photograph. Photos don't compress well as PNG — convert to JPG instead, unless you need transparency or perfectly sharp edges.
Gradients look banded after compression.
Palette reduction removed colours the gradient needed. Keep this one as a straight re-encode, or accept a larger file to preserve the smooth transition.

Frequently asked questions

Does compressing a PNG lose quality?
Re-encoding alone is lossless and changes nothing visible. If the colour palette is reduced to save more space, that step is lossy — but flat graphics and screenshots usually look identical.
Will transparency be preserved?
Yes. The re-encoded PNG keeps its alpha channel, so transparent areas stay transparent.
Is my PNG uploaded to a server?
No. The image is decoded and re-encoded on a canvas in your browser, so it stays on your device and nothing is sent to us.

Related tools

Outils web gratuits