JPG vs PNG vs WebP vs HEIC — Which Image Format to Use
A plain-English comparison of the four common image formats, with a simple rule for photos, screenshots, logos and websites.
Updated
The short answer
- Photos to share: JPG.
- Screenshots, logos, text: PNG.
- Images on your own website: WebP.
- Photos on your iPhone: HEIC is fine — convert to JPG when sharing.
Comparison
| JPG | PNG | WebP | HEIC | |
|---|---|---|---|---|
| Compression | Lossy | Lossless | Lossy or lossless | Lossy |
| Transparency | No | Yes | Yes | Yes |
| Typical photo size | Medium | Large | Small | Small |
| Opens everywhere | Yes | Yes | Most modern apps | Apple devices; others need extras |
| Best for | Photos | Graphics, screenshots | Websites | iPhone storage |
JPG
The universal photo format. Every device, app and upload form accepts it. Each re-save loses a little quality, so edit from the original and save once at the end.
PNG
Lossless: every pixel is kept, and transparency is supported. Perfect for screenshots, diagrams and logos; wasteful for photos, which become very large. Convert photo PNGs with PNG to JPG.
WebP
Google's web format: smaller than both JPG and PNG and supports transparency. Ideal for websites (JPG to WebP), less ideal for sending files to people with older apps.
HEIC
Apple's camera format since iOS 11, about half the size of JPG. Great on the phone, awkward elsewhere — convert with HEIC to JPG before emailing or uploading.
Converting between formats
Converting to a lossless format (JPG → PNG) does not bring back lost detail, and each lossy conversion loses a little more. Convert once, from the best source you have.