All tools

JPG, PNG or WebP: which should you use?

The right format depends on what is in the picture and where it is going. There are really only three questions: does it need transparency, is it a photograph or a graphic, and is a particular form or platform telling you what to use? Here is the short version, then the reasons.

You haveFor a websiteFor a form or email
A photoWebP (or JPG)JPG
A screenshot or diagramPNG or lossless WebPPNG
A logo with transparencySVG, else PNG or WebPPNG
A scanned documentJPGPDF or JPG, as the form asks

JPG (JPEG)

The universal photo format. The JPEG standard dates from 1992 and its own committee still calls it the most dominant still image format around. It is lossy: it discards detail the eye barely notices, so photos become much smaller. Every device, app and upload form understands it. It has no transparency, and it smears sharp edges such as text, so it is a poor choice for screenshots. Each re-save loses a little more, so always edit from the original. If you want to know why, our guide on how image compression works explains the 8 × 8 block processing behind that blocky look.

PNG

Lossless: the W3C specification’s own design goal is that filtering and compression should preserve all information. That makes PNG ideal for screenshots, interface graphics, diagrams and anything with text, and it supports transparency. The cost is size: a photograph saved as PNG is typically several times larger than the same photograph as JPG, because noise and texture leave nothing for the lossless compressor to exploit. Reducing the palette (the number of colours) makes PNGs dramatically smaller with little visible change; that is what the PNG size pages do.

WebP

A newer format from Google that can work like JPG (lossy) or like PNG (lossless), with transparency in both modes. Google reports that lossy WebP images are 25–34% smaller than comparable JPEGs at equivalent quality and lossless WebP images are 26% smaller than PNGs, which is why it is the best default for websites. It even supports a mix that PNG cannot offer: lossy colour with a lossless transparency channel, which suits photographic cut-outs. All current major browsers display it. The catch is outside the browser: some upload forms, older desktop software and print services still refuse WebP. If a form rejects your WebP, convert it to JPG.

Side by side

JPGPNGWebP
CompressionLossyLosslessLossy or lossless
TransparencyNoYesYes, in both modes
AnimationNoAPNG variantYes
PhotosSmallLargeSmallest
Screenshots and textFuzzy edgesCrispCrisp (lossless mode)
Accepted by formsAlmost alwaysUsuallyOften not

What about HEIC, AVIF and SVG?

HEIC is the iPhone’s default. Apple says it keeps the same visual quality as JPEG in less space, but it opens in Safari and not in Chrome, Edge or Firefox, so many websites and Windows apps cannot use it. Our HEIC vs JPG guide covers how to convert. AVIF is a newer format that compresses even better than WebP and is accepted by Google Search, but encoding is slower and support outside browsers is patchy. SVG is not a pixel format at all: it describes shapes, so a logo stays sharp at any size and is often tiny. If you have your logo as SVG, use it.

Which format for which situation

Four mistakes to avoid

  1. Converting a JPG to PNG to “improve quality”. It cannot restore detail that is already gone. You get a bigger file that looks identical.
  2. Saving a logo as JPG. Edges turn fuzzy and the white box shows on coloured backgrounds. Use PNG or SVG.
  3. Just changing the file extension. The file contents do not change, and some programs will refuse it. Convert properly.
  4. Re-saving the same JPG several times. Each save is another round of lossy compression. Edit from the original and export once.

The one-minute decision

  1. Does it need transparency? PNG or WebP.
  2. Is it a photo? WebP for the web, JPG for everything else.
  3. Is it text, UI or a diagram? PNG.
  4. Is it a logo? SVG if you have it.
  5. Is a form asking? Use exactly what the form names.

Sources

Checked 6 December 2026. Limits and policies change, so the provider’s own page always wins.

Frequently asked questions

Is WebP better than JPG?

For websites, usually yes: Google reports lossy WebP files are 25 to 34% smaller than comparable JPEGs. But JPG is accepted almost everywhere, including forms and print services, which WebP is not.

Should I use PNG or JPG for a photo?

JPG, or WebP on the web. PNG is lossless, so a photograph saved as PNG is typically several times larger with no visible benefit.

Which format keeps transparency?

PNG and WebP. JPG cannot store transparency, and transparent areas become a solid colour.

Why does a form reject my WebP image?

Many upload forms and older programs only accept JPG or PNG. Convert the image to JPG with the format converter.