Compress a PNG Online
People move the quality slider on a PNG, see the same file size, and conclude that the compressor is broken. It is not: PNG is lossless, so a quality percentage has nothing to act on. We measured the effect on three files and then tested what does work.
Try the free tool now
100% in your browser — no upload, no account, no watermark.
Open Compress PNG Online - Why the Quality Slider Does NothingThe experiment: four presets, one identical result
Two PNG sources, output format kept as PNG, presets 90, 70, 50 and 30 percent:
| Source | 90% | 70% | 50% | 30% |
|---|---|---|---|---|
| Full-page screenshot, 1920x1942, 197,518 B | 125,951 B | 125,951 B | 125,951 B | 125,951 B |
| Logo, 2048x2048, 129,117 B | 113,913 B | 113,959 B | 113,913 B | 113,913 B |
The screenshot column is flat to the byte. The logo varies by 46 bytes between runs - that is encoder non-determinism, not the slider doing something. Either way, no preset produced a meaningfully smaller PNG.
Why the slider cannot work on PNG
PNG stores pixels losslessly with DEFLATE compression. There is no quality parameter in the format, only choices about filters and compression level that change the size by a few percent at most. A tool that offers 90%, 70% and 30% for PNG output is showing a control that has no effect until the output format changes.
The slight reduction you do see - 197,518 to 125,951 bytes - comes from re-encoding: the browser's canvas writes a simpler PNG than the screenshot tool that created the original. That gain is real but fixed, not adjustable.
What actually shrinks a PNG
Format change is the lever. Same three files, WebP output at the same presets:
| Source | 90% WebP | 70% | 50% | 30% |
|---|---|---|---|---|
| Photo-free screenshot, 197,518 B | 248,838 B | 171,848 B | 152,060 B | 121,818 B |
| Logo, 129,117 B | 32,550 B | 24,854 B | 21,662 B | 19,054 B |
The logo collapses from 126.1 KB to 31.8 KB at 90% - a 75% saving with no visible change, because large uniform areas and few colours are exactly what WebP handles well. The screenshot needs 50% or lower before it beats the original, and at 90% WebP is larger than the source PNG.
The other lever is dimension. Halving each side cuts the pixel count to a quarter, and every encoder benefits. Our Resize Image for Website tool does that without changing the format.
When keeping PNG is the right call
- Screenshots, diagrams and charts with text: JPEG introduces coloured fringes around letters, PNG keeps them clean.
- Logos and icons with transparency: WebP also keeps alpha, but some upload forms still accept only PNG.
- Images that will be edited again: PNG survives repeated editing without generational loss.
- Sources already under 200 KB: a re-encode saves little and a format change may cost more than it gains.
For photographs, PNG is the wrong starting point altogether - it stores far more data than a camera image needs. Compress those as JPEG or WebP.
A workflow that respects transparency
- Open the Compress Image tool and add the PNG (up to 20 MB).
- Choose WebP in the output format selector if the destination supports it.
- Pick 90% for graphics, 50-70% for screenshots with dense text.
- Compress, then compare the reported size with the original.
- Open the result on a dark background to confirm the transparent areas survived.
Step 5 catches the most common mistake: exporting a transparent logo as JPG, which fills the empty pixels with white and makes the logo unusable on a coloured header.
Limits
Accepted inputs are JPG, JPEG, PNG, WebP and GIF up to 20 MB. Output can be PNG, JPG or WebP. Processing is local, so files are not uploaded, and the free tier allows 20 images per day.
About this guide
- Written by
- The ImageTools Pro team
- Last reviewed
- October 2026
- How we test
- Steps run in a real browser on real PNG, JPEG and WebP files
We revise this page whenever browser APIs, format support or recommended settings change. Corrections are welcome — tell us from the contact page.
Tools we recommend
Frequently Asked Questions
Why is my compressed PNG the same size as the original?
Because PNG is lossless and the quality slider does not apply to it. In our test a 1920x1942 screenshot produced 125,951 bytes at every preset. Convert to WebP or resize to get a real reduction.
Can I compress a PNG without losing quality?
Only by re-encoding it losslessly, which saves a small fixed amount, or by reducing its dimensions. Any WebP or JPG conversion is lossy at the settings used here, even when the difference is invisible.
Does converting PNG to WebP keep transparency?
Yes. WebP supports an alpha channel. JPG does not, and transparent areas become white.
What is the best setting for a logo?
WebP at 90%: our 2048x2048 PNG went from 129,117 to 32,550 bytes, a 75% reduction, with no visible change.
What is the upload limit?
20 MB per file in the Compress Image tool.