Does converting JPG to PNG improve quality?
No. This is worth stating first because it is the assumption that brings most people to this page.
PNG is lossless, so it stores exactly what it is given. But what it is given here is the output of JPG compression — an image from which detail has already been permanently discarded. The PNG preserves that degraded image with complete fidelity, artefacts and all.
Converting JPG to PNG is a way to stop losing quality from this point forward. It is not a way to recover quality already lost.
Why is the PNG so much bigger?
Substantially bigger. On the fixed test image used for every measurement on this site, a 375 KB JPG became a 2.37 MB PNG — around six and a half times larger.
Two things drive that. First, JPG achieved its small size by discarding fine detail, and PNG has to store whatever remains exactly. Second, JPG compression introduces its own subtle noise, and noise is the single hardest thing for lossless compression to handle. The PNG ends up faithfully encoding the JPG’s artefacts.
Every PNG produced here is run through oxipng afterwards, which recovers some of that size losslessly — same pixels, smaller file — but it cannot change the fundamental arithmetic.
When is this conversion the right move?
There are three good reasons:
- A tool or platform requires PNG. Some upload forms, icon pipelines and design tools accept nothing else.
- You are about to edit the image. Working from PNG means repeated saves do not compound JPG’s generational loss.
- You need an alpha channel. JPG cannot store transparency at all. Converting to PNG gives you a format that can, so you can cut out a background afterwards in an editor.
Note the third one carefully: the conversion gives you a PNG capable of transparency, with a fully opaque background. It does not remove anything.
What about PNG for the web?
Generally, don’t. WebP does everything PNG does on a web page — including transparency — at a fraction of the size, and every current browser supports it.
PNG on a modern web page is usually a legacy decision rather than a deliberate one.