Skip to main content

WebP vs JPG: Differences and Which to Use

2 min read

Sometimes the image you save from a website turns out to be .webp, or a speed-test tool tells you to switch to WebP. Both formats store photos in small files, but they are used differently.

The key differences

JPGWebP
Introduced19922010
CompressionLossyLossy and lossless
Transparent backgroundNoYes
AnimationNoYes
Where it opensNearly every program and serviceMostly modern browsers; some programs don't support it

JPG has no transparent background and loses a little quality each time you save, but its overwhelming strength is that it opens everywhere. WebP can be smaller at the same quality and supports transparency, but older programs and upload forms sometimes reject it.

How different is the file size?

Google says WebP is roughly 25-35% smaller than JPG at the same quality. What does it look like in practice? We saved one 1280×854 photo with this site's converter at the same quality numbers and compared.

QualityJPGWebPDifference
90417KB370KBabout 11% smaller
80298KB264KBabout 11% smaller
60202KB194KBabout 4% smaller

This is one photo, so it varies by image. Two points stand out. First, the encoders for the two formats behave differently, so the same quality number doesn't mean the same visual quality. Second, the gap shrank as quality dropped. Savings of tens of percent come when the image content and settings suit it well.

When a transparent background matters

Images such as logos and icons that need a transparent background can't be saved as JPG. That leaves PNG and WebP. WebP keeps transparency and is usually smaller than PNG, which suits web graphics. If you must convert a transparent WebP to JPG, the transparent areas are filled with a background color, so pick one that fits where it will be used.

Recommendations by situation

  • Photos for a website: WebP. Smaller files make pages load faster. If you must support very old browsers, keep a JPG as a fallback.
  • Email attachments, messenger transfers, certificates and documents: JPG. It has the lowest risk of the recipient being unable to open it.
  • Uploading to a blog or shop admin screen: Check the allowed formats first. If WebP is refused, convert to JPG.
  • Originals you'll edit: Re-saving as JPG or WebP many times piles up degradation, so it's safer to keep the original in a lossless format such as PNG.

Try it now

Both directions are processed in your browser and your file is never uploaded.

Convert WebP to JPG Convert JPG to WebP

You can read more about each format's history and features on the WebP and JPG pages.

More guides