Skip to main content

WebP vs JPG: What's the Difference and Which to Use

Updated 2026-11-214 min read

Sometimes the image you save from a website turns out to be a .webp file, or a speed-test tool tells you to switch to WebP. Both formats store photos compactly, but they suit different jobs.

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 transparency, and it loses a little quality every time you re-save it. Its great 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 much smaller is WebP?

Google says WebP is roughly 25-35% smaller than JPG at the same quality. To see whether that holds up, two photos taken for this guide (a foil-wrapped chicken dish and a dog's face) were saved with this site's converter at the same quality numbers. Both started from a PNG scaled down to 1280px on the long side (full conditions in how the measurements were made).

The two photos used for the test: a foil-wrapped chicken dish on the left and a dog's face on the right, scaled down to 960×1280 and 952×1280

PhotoQualityJPGWebPHow much smaller WebP is
Chicken90343KB300KBabout 13%
Chicken80226KB171KBabout 24%
Chicken60146KB107KBabout 27%
Dog90272KB218KBabout 20%
Dog80175KB111KBabout 37%
Dog60109KB66.2KBabout 39%

The same quality number doesn't mean the same visual quality, though, because the two encoders behave differently. Closeness to the source can be measured with PSNR (in dB; higher means closer). On the dog photo, JPG 80 scores 38.8dB and WebP 80 scores 37.7dB. Part of the reason WebP came out smaller is that it discarded more.

So the comparison was repeated at equal closeness to the source. Estimated by drawing straight lines between the measured points, WebP was about 30% smaller than JPG on the chicken photo and about 23% smaller on the dog photo at the same PSNR. That sits close to Google's 25-35%. It's a result from two photos, and PSNR is only one of several ways to measure quality, so read the figures as estimates.

The same area enlarged 3×: the PNG source, JPG 80 (175KB), WebP 80 (111KB) and HEIC 50 (119KB). They are almost indistinguishable by eye; WebP 80 smooths the fine hairs very slightly more

Zoomed in on the area around the dog's eye, the difference is small. WebP 80 smooths the fine hairs a touch more. (HEIC 50 is covered in the HEIC guide.)

When you need a transparent background

Logos and icons with a transparent background can't be saved as JPG, which leaves PNG and WebP. WebP keeps the transparency and is usually smaller than PNG, so it suits web graphics. Converting a transparent WebP to JPG fills the transparent areas with a background color, so choose one that matches where the image will be used.

Which to use

  • Photos for a website: WebP. Smaller files load faster. If you have to support very old browsers, keep a JPG as a fallback.
  • Email attachments, messaging apps, certificates and documents: JPG. The recipient is least likely to have trouble opening it.
  • Uploading to a blog or shop admin page: Check the allowed formats first. If WebP is refused, convert to JPG.
  • Originals you'll edit later: Saving over and over as JPG or WebP piles up degradation, so keep the original in a lossless format such as PNG.

Try it now

Both directions run in your browser, and your file is never uploaded.

Convert WebP to JPG

To turn a JPG into WebP, drop it into the converter on the home page and choose WebP as the output.

Both formats are also summarized under WebP and JPG on the Image formats compared page.

More guides