All tools
EnglishEN

JPG, PNG or WebP: which image format should you use?

A plain explanation of the three most common image formats, when each one is the right choice, and how to convert between them without wasting quality.

The short answer

Use JPG for photographs, PNG for screenshots, logos and anything with transparent parts, and WebP for pictures on a website. The rest of this guide explains why, so you can make the call yourself when a case is not clear.

JPG: best for photos

JPG (also written JPEG) squeezes photographs very well by throwing away detail the eye is unlikely to notice. A holiday photo can drop from 10 MB to under 1 MB with almost no visible change. Every phone camera and every website understands JPG.

Its weaknesses: it cannot have a transparent background, and it handles sharp edges badly. Text and thin lines get fuzzy halos when saved as JPG, which is why a screenshot saved as JPG looks dirty.

PNG: best for sharp graphics and transparency

PNG keeps every pixel exactly as it was. That makes it ideal for screenshots, logos, icons, charts and drawings, and it is the format to use when you need a transparent background.

The price is size. A photograph saved as PNG can be five to ten times bigger than the same photograph as a JPG, with no visible benefit.

WebP: the modern all-rounder

WebP can do what both of the others do, usually in a smaller file: it handles photos and also supports transparency. It is supported by all current browsers, which is why many websites now serve WebP pictures.

The catch is compatibility with older software. Some upload forms, email programs and print shops still reject WebP files. When that happens, convert to JPG or PNG.

What about HEIC, GIF and AVIF?

iPhones save photos as HEIC by default. They are small and good-looking, but many websites will not accept them. Convert them to JPG before uploading. GIF is mostly used for short animations and holds very few colours. AVIF is a newer format that is even smaller than WebP, but is not yet accepted everywhere.

A quick chooser

  • Photo to send by email or upload to a form: JPG.
  • Screenshot, logo, chart or anything with text: PNG.
  • Picture on your own website: WebP, with a JPG copy if you need one.
  • iPhone photo that a website rejects: convert HEIC to JPG.
  • Needs a see-through background: PNG or WebP, never JPG.

Converting without wasting quality

Use Convert image to change formats. It works on a batch of pictures at once and opens JPG, PNG, WebP, GIF, BMP, AVIF and iPhone HEIC files.

Two things to remember. First, converting does not add detail: turning a JPG into a PNG makes the file bigger but not sharper. Second, every time you re-save a JPG, a little more detail is lost. Keep the original, and convert from the original each time instead of from a copy of a copy.

If a PNG with a transparent background is converted to JPG, the see-through areas have to become a solid colour, so check the result. If the file is simply too big, Compress image or Resize image is usually a better fix than changing the format.

Common questions

Can't find your answer? Send us a message and we will get back to you.

Contact

Which format is best for a website?

WebP is usually the smallest while still looking good. Use JPG as a safe fallback for photos and PNG for graphics that need sharp edges.

Does converting PNG to JPG make the picture smaller?

For photographs, yes, often a lot. For screenshots or drawings, the file can get smaller but the text and lines will look worse.

Can I convert my iPhone photos without installing anything?

Yes. Open Convert image, add the HEIC photos, choose JPG and download. The pictures are processed on your phone and are not uploaded.

Tools for this guide

All free, and all run in your browser: your files are not uploaded.

More guides

See all guides