FileBaba

JPG, PNG or WebP: Which Image Format Should You Use?

Three formats cover almost everything. Choosing between them comes down to two questions: is it a photograph, and does it need a transparent background?

5 min read

Two questions settle it almost every time. Is this a photograph? Does it need a see-through background?

FormatBest forTransparencyThe catch
JPGPhotographs, anything a camera tookNoLoses a little quality every time it is re-saved
PNGLogos, screenshots, line art, cut-outsYesVery large for photographs
WebPPhotographs and graphics on the webYesSome older software still can't open it

JPG

Built for photographs, and still the right answer for them. It throws away detail your eye is least likely to miss, which is how a 12-megapixel photo fits into a few hundred kilobytes.

The cost is that the loss is permanent and cumulative. Open a JPG, edit it, save it, repeat — quality drops a little each time. Keep an original and edit from that, rather than from the copy you saved yesterday.

It is also what almost every application form asks for, which settles the question whenever you are uploading to a portal.

PNG

Lossless, so a PNG is pixel-for-pixel what went in, however many times you re-save it. It also supports transparency, which is why cut-outs and logos are PNGs.

It is a poor choice for photographs: a photo saved as PNG is routinely five to ten times larger than the same photo as JPG, with no visible improvement.

Screenshots are the case where PNG clearly wins. Sharp text and flat colour are exactly what it compresses well and what JPG makes fuzzy.

Make a transparent cut-outTransparent cut-outs in one click

WebP

Newer, and better than both at what they each do: smaller than JPG at the same visible quality, and it supports transparency like PNG. Every current browser displays it.

The problem is everything that isn't a browser. Older photo software, some printers, and a good number of government upload forms simply don't recognise it — which is why people who have never chosen WebP end up converting away from it after saving an image from the web.

Convert WebP to JPGMake WebP images work everywhere

What to use, in practice

  • Uploading to any form or portal: JPG. It is what they ask for and what they reliably accept.
  • A photograph on your own website: WebP, with a JPG fallback if you support old software.
  • A logo, icon or anything needing a transparent background: PNG, or WebP on the web.
  • A screenshot: PNG, unless the file size matters more than the text staying sharp.
  • Printing, or sending to a print shop: JPG or PDF. Not WebP.
Convert between formatsChange image formats

Common questions

Does converting PNG to JPG lose quality?

A little, once, at the moment of conversion, and for a photograph it is almost never visible. For a screenshot or line art it can be — text edges go fuzzy. Keep those as PNG.

Why did I download a WebP when I wanted a JPG?

The website was serving WebP to save bandwidth, and your browser saved what it was given. Converting it to JPG takes a moment and loses nothing you'd notice.

Which format gives the smallest file?

WebP, usually by 25–35% against JPG at the same visible quality. Only use it where you know the destination accepts it.

Tools used in this guide

More guides