Home › Guides

JPG, PNG, WebP or HEIC: Which Image Format to Use

What each common image format is good at, where it fails, and how to choose when you save or convert a picture.

Most pictures you meet are in one of four formats. They differ in two ways that matter: whether saving throws detail away to make the file smaller, and whether the picture can have transparent areas.

JPG: photos everywhere

JPG makes photos small by discarding detail the eye barely notices. Almost every device, program and website accepts it, which is its main strength. It cannot store transparency, and each time a JPG is edited and saved again a little more detail is lost.

PNG: exact pixels and transparency

PNG keeps every pixel exactly and supports transparent backgrounds. That makes it the right choice for screenshots, logos, diagrams and anything with text or flat color. For photos it produces files several times larger than JPG.

WebP: smaller files for the web

WebP, developed by Google, can work either way: with loss like JPG or without loss like PNG, and it supports transparency. Files are usually smaller at similar quality, which is why many websites use it. Current browsers all open it, but some older programs and upload forms do not.

HEIC: the iPhone default

HEIC is the format iPhones have used for photos by default since 2017. It stores a photo in noticeably less space than JPG at similar quality. Many websites, printers and older Windows programs cannot open it, so photos often need converting before they are shared.

How to choose

For a photo you want to send or upload, use JPG. For a screenshot, a logo or an image with a transparent background, use PNG. For pictures on your own website, WebP gives the smallest files. If a site refuses your iPhone photo, convert the HEIC to JPG.

Two things to remember

Converting never restores detail that an earlier save removed: a JPG turned into a PNG is no sharper than before. And when a picture is converted in a browser, details stored inside it, such as the place a photo was taken, are not carried into the new file.

Figures checked: 2026-11-19

Tools for this guide