JPG vs PNG vs WebP vs HEIC: choosing the right image format
7 min read
Most people never think about image formats until something goes wrong: a website rejects an iPhone photo, a logo gets an ugly white box around it, or a screenshot turns blurry after being emailed. Each of these problems comes from using a format for a job it was not designed for. This guide explains the four formats you are most likely to meet and gives a short decision list at the end.
The one idea that explains everything: lossy vs lossless
A lossless format stores every pixel exactly. Opening and saving it again changes nothing. A lossy format throws away detail the eye is unlikely to notice in order to make the file much smaller. The saving is large on photos, but the discarded detail is gone for good — converting back to a lossless format later does not bring it back.
JPG (JPEG)
JPG is lossy and was built for photographs. On a typical phone photo it produces files several times smaller than PNG with no visible difference. It is accepted almost everywhere: forms, email, social networks, printers.
- Good for: photos, scanned pictures, anything with soft gradients.
- Bad for: text, screenshots, line drawings and logos — sharp edges get faint “halos”.
- No transparency: transparent areas must be filled with a colour, usually white.
- Re-saving hurts: each edit-and-save cycle loses a little more quality.
PNG
PNG is lossless and supports transparency. It keeps text and edges perfectly crisp, which is why screenshots and logos are usually PNG. The downside is size: a 12-megapixel photo saved as PNG can easily weigh 15–25 MB, against 2–4 MB as a good-quality JPG.
- Good for: screenshots, diagrams, logos, images with transparent backgrounds, files you will edit again.
- Bad for: sharing large photos — upload limits are quickly reached.
WebP
WebP is a newer format that can work in both lossy and lossless modes and supports transparency. At similar visual quality its files are generally smaller than JPG and PNG, which is why many websites now serve WebP. All current major browsers display it, but some older desktop software, printing services and upload forms still refuse it.
If a site gave you a WebP you cannot open elsewhere, converting it to PNG (to keep everything) or JPG (for a smaller photo) usually solves the problem.
HEIC (HEIF)
HEIC is the default photo format on recent iPhones and iPads. It uses a modern compression method that keeps photo quality similar to JPG at roughly half the size. The problem is compatibility: many Windows programs, Android apps and websites cannot read it. Safari on Apple devices handles it natively; other browsers do not.
When you share from an iPhone, it often converts to JPG automatically. When you copy files with a cable, through cloud storage or as “original” attachments, you get the HEIC file. Our HEIC converter turns these into PNG or JPG on your device.
Side-by-side summary
| Format | Compression | Transparency | Typical use | Compatibility |
|---|---|---|---|---|
| JPG | Lossy | No | Photos | Universal |
| PNG | Lossless | Yes | Screenshots, logos | Universal |
| WebP | Both | Yes | Websites | Modern browsers; some apps refuse it |
| HEIC | Lossy | Possible | iPhone photos | Limited outside Apple devices |
Common mistakes
- Converting JPG to PNG to “improve quality”. It only makes the file bigger. Use JPG to PNG when you need a lossless copy for further editing or a format that a program requires — not to repair compression damage.
- Saving a logo as JPG. The transparent background becomes a solid colour and edges get fuzzy. Keep logos in PNG.
- Emailing screenshots as huge PNGs when size matters. If the screenshot is mostly a photo, JPG is fine; if it is mostly text, keep PNG.
- Expecting an upload form to accept HEIC. Many do not. Convert to JPG first.
Quick decision list
- Is it a photo you want to share or upload? → JPG (use PNG to JPG if it is a heavy PNG).
- Does it contain text, sharp lines or need a transparent background? → PNG.
- Is it an iPhone photo that will not open? → convert HEIC to JPG, or to PNG if you plan to edit it.
- Is it a WebP that some app refuses? → convert to PNG or JPG depending on the content.