JPG to PNG Converter
Save a JPEG photograph as a PNG file, in your browser, without sending it anywhere.
Results
What this tool does
PNG is what most editors, design tools and printers want when they ask for a lossless file, and it is the only one of the two that can hold transparency. Converting a JPEG to PNG will not undo the compression the JPEG already applied, but it stops any further loss and gives you a file the next program will accept. Choose an image and the converted copy appears, ready to download.
Formula
difference = (size before − size after) ÷ size before
Variables
| Symbol | Meaning | Unit |
|---|---|---|
bytes_in | Original size, in bytes | — |
bytes_out | New size, in bytes | — |
OUT | New file size | — |
BF | It was | — |
SV | Difference | — |
PC | Saved | % |
DR | Smaller or bigger | — |
Worked example
- Original size, in bytes480,000
- New size, in bytes1,620,000
- New file size1.54 MB
- It was468.8 kB
- Difference1.09 MB
- Saved-237.5 %
- Smaller or biggerBigger
Limitations
- The calculation runs entirely in your browser. The values you type are never sent to a server.
Frequently asked questions
Will this restore the quality the JPEG lost?
No, and nothing can. A JPEG has already thrown detail away; converting it to PNG preserves what is left exactly, but there is nothing to bring back. The usual result is a much larger file holding the same picture, which is why the size comparison below almost always says bigger. It is still worth doing when the next program in the chain needs a lossless file or a transparency channel.