Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
JPG for photographs, PNG for anything with text, sharp edges or transparency.
Choose PNG when
Screenshots, logos, diagrams, line art and anything that has to keep a transparent background. PNG stores every pixel exactly, so text stays crisp and a cut-out stays cut out.
Choose JPG when
Photographs, and anything that looks like one — soft gradients, no hard edges. JPG throws away detail the eye is poor at noticing, which on a photograph is close to free and typically saves ninety per cent.
JPG has no transparency at all. A PNG with a transparent background becomes a JPG with a solid one, usually white or black, and no setting brings it back.






| PNG | JPG | |
|---|---|---|
| Full name | Portable Network Graphics | JPEG Image |
| Extension | .png | .jpg, .jpeg, .jpe |
| Media type | image/png | image/jpeg |
| Compression | Lossless — nothing is discarded | Lossy — file size is bought with quality |
| This site can write it | Yes | Yes |
The claims this page makes about PNG and JPG are checkable, and these are the documents that settle them.