No files yet.
People convert JPEG to PNG when a tool demands PNG, or when they want to stop a cycle of re-saving. PNG will not invent the detail JPEG already discarded. Blockiness, halos, and color bands that are in the JPEG will be in the PNG, stored more honestly and usually in more bytes.
The useful case is a one-time hand-off. A form wants PNG. A pipeline wants PNG. You convert once and then edit the PNG, so later saves do not add another JPEG generation. Converting a photograph to PNG to make it sharper does not work. Converting it to PNG to archive an edited version, so you stop re-compressing, does.
JPEG has no transparency, so the PNG will not suddenly grow a clear background. The rectangles of the photo stay rectangles.
photo.jpg, output PNG.
A PNG at the same width and height. The file is often several times the JPEG. JPEG artifacts that were already visible remain. The JPEG stays in place.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
No. PNG keeps the pixels JPEG produced, including any damage. It only stops further loss if you edit and save as PNG from here on.
JPEG was small because it discarded data. PNG stores what is left without that trick. A 200 KB photo can become 1 MB or more.
No. There was no transparent channel in the JPEG to recover.
If the screenshot is already JPEG, the damage is done. PNG still stops it getting worse. Next time, save the screenshot as PNG from the start.