Compress PNG images — keep every pixel
Make PNG files smaller in your browser with a genuinely lossless re-encode: identical pixels, identical transparency, smaller file. Optional lossy conversion to WebP is available when you want bigger savings and can accept a format change.
What this tool does
PNG files often carry baggage: larger color palettes than needed, unfiltered scanlines, metadata and uncompressed chunks. This tool re-encodes the image with stronger lossless compression, which is why the result is pixel-for-pixel identical to the original.
If a PNG is already efficiently compressed, honest lossless gains are limited by mathematics — the tool tells you when the output is not smaller rather than quietly switching to a lossy path. For large savings you can explicitly convert to WebP (or JPEG for photos), with a clear warning that transparency will not survive JPEG.
How to shrink a PNG without uploading it
-
Add your PNG. Drop one or more files into the tool on the home page.
-
Pick a mode. Choose lossless compression to keep every pixel, or an explicit conversion to WebP/JPEG for maximum savings.
-
Download. Each result shows its real measured size next to the original before you save it.
Supported operations
This list is generated from CompressKit's capability registry — only implemented and tested operations appear here.
-
Reduce file size
Lossless re-encode: identical pixels and alpha channel, smaller or equal file size — reported honestly either way.
-
Resize
Reduce pixel dimensions when you need the image smaller on screen, not just in bytes.
-
Convert format
Convert to WebP (supports transparency, usually much smaller) or JPEG (small for photos, but loses transparency).
Frequently asked questions
- Can a PNG be compressed without losing quality?
- Yes. PNG is a lossless format, and re-encoding with better compression settings produces a smaller file with exactly the same pixels. Gains vary by image — a well-optimized PNG may barely shrink, and the tool reports that honestly.
- How do I get a PNG dramatically smaller?
- Accept a lossy conversion to WebP. It usually keeps visual quality high while cutting file size substantially, and it still supports transparency. The tool only converts when you explicitly pick that option.
- Is my PNG uploaded to your servers?
- No. Your browser decodes and re-encodes the image locally. No bytes, no filenames, nothing about your image ever leaves your device.
- Will compressing keep the transparent background?
- Yes for lossless PNG compression and for WebP conversion. JPEG has no alpha channel, so converting a transparent PNG to JPEG flattens it onto a solid background — the tool warns you before that happens.
Ready to try it?
The PNG compressor tool runs on this site with no upload step — your file is processed by your own browser and saved back to your device.
Open the PNG compressor tool