PropertyJPEGPNG
Extension.jpg.png
MIME typeimage/jpegimage/png
TransparencyNoYes
AnimationNoNo
Lossless modeNoYes
Lossy modeYesNo
Practical recommendation
Use JPEG for photos without alpha and PNG for transparent graphics, screenshots or repeated editing.
Frequently asked questions
Which is better for photographs, JPEG or PNG?
JPEG is usually the better choice for photographs because lossy compression keeps files much smaller. PNG is lossless, so photo files are generally larger.
Which format supports transparency?
PNG does. JPEG cannot store transparent pixels, so transparent areas are filled with a colour when you export to JPEG.
Can I convert between them without uploading my images?
Yes. FreeImageKit's JPG to PNG and PNG to JPG converters run in your browser. Converting JPG to PNG stops further lossy compression but does not restore detail the JPG already lost.
Read the format guides
Last updated