Guide10 min read

What Is a WebP File? How to Open It and Save It as JPG or PNG

A WebP file is Google’s smaller image format. How to open one on any device, save it as JPG or PNG, and what our tests show you lose when you convert it.

ML

Munib Ali Laghari

Founder & Lead Developer

•

Quick answer

What is a WebP file?

A WebP file (.webp) is an image format Google released in 2010 to make web pages load faster. It stores photos and graphics in smaller files than JPG or PNG, and supports transparency and animation. Every modern browser opens it, and you can save it as a JPG or PNG when an app or site won’t accept it.

A WebP file is an image in WebP, a format Google released in 2010 to make web pages load faster. It stores photos and graphics in smaller files than JPG or PNG, and it can be transparent or animated. Every modern browser opens it, and you can save it as a JPG or PNG when an app or a website won't take it.

You probably found one the usual way: you saved a picture from a website, and instead of a JPG you got a file ending in .webp. Your photo app won't open it, an upload form rejects it, and all you wanted was the picture.

This guide covers what the file is, why websites hand it to you, how to open it on any device, and how to turn it into a JPG or PNG. We also ran the conversions ourselves on five photos, because "just convert it" has a cost that most guides skip.

What Is a WebP File?

A WebP file is a raster image (made of pixels, like a JPG) saved in Google's WebP format. The file extension is .webp. Google announced the format in September 2010 as a way to send smaller images over the web, and its own documentation never spells out the name.

What makes it different is that one format covers the jobs of three older ones:

  • ●Photos, like a JPG. Lossy WebP throws away detail you're unlikely to notice. Google says lossy WebP images are "25-34% smaller than comparable JPEG images at equivalent SSIM quality index" (Google's WebP page).
  • ●Graphics, like a PNG. Lossless WebP keeps every pixel, and Google puts it at 26% smaller than PNG.
  • ●Transparency, like a PNG. A WebP can have a see-through background. In lossless mode, Google says this costs "just 22% additional bytes".
  • ●Animation, like a GIF. One WebP file can hold many frames. Google's WebP FAQ reports that GIFs converted to lossy WebP come out 64% smaller (19% smaller in lossless mode).

The same FAQ sets the size limit: a WebP image can be at most 16,383 × 16,383 pixels.

WebPJPGPNG
CompressionLossy or losslessLossyLossless
TransparencyYesNoYes
AnimationYesNoNo (animated PNG is a separate variant)
Opens inAll modern browsers, current photo appsEverythingEverything
Typical useImages on websitesPhotosLogos, screenshots, cut-outs

Why Are My Images Saving as WebP Instead of JPG?

Because the website sent you a WebP. Many sites make a WebP copy of every image and serve it to any browser that can display it, and that's nearly all of them: Can I use counts full WebP support in 97.24% of browsers in use (checked November 2026). When you choose "Save image as", your browser saves exactly the file it downloaded, so you get a .webp even if the photographer uploaded a JPG.

Some sites go a step further and decide per visitor. The same image address returns WebP to a browser that accepts it and JPG to one that doesn't. That's why the "fix" of renaming photo.webp to photo.jpg doesn't work. Renaming changes the label, not the data inside. Apps that check the contents still see a WebP, and apps that trust the extension may refuse to open it.

The real fix is to convert the file, which takes a few seconds (see below).

How Can I Open a WebP File?

The quickest way on any computer is to drag the file into a browser tab. Chrome, Edge, Firefox, and Safari all display WebP. Here's what works elsewhere:

WhereHow to open it
Any browserDrag the file into a tab, or use File > Open
WindowsDouble-click to open it in Photos; if Windows can't open it, install Microsoft's free WebP Image Extension
MacDouble-click to open it in Preview
iPhone or AndroidOpen it in the phone's browser (Safari or Chrome)
PhotoshopVersion 23.2 or later: File > Open (older versions need a plug-in)
GIMP (free)Version 2.10 or later: File > Open, including animated WebP

Sources for the table: Safari added WebP in version 14 (Apple's release notes), Photoshop opens it natively from 23.2 (Adobe's help page), and GIMP reads and writes it, animation included, from 2.10 (GIMP 2.10 release notes). The Windows extension is in the Microsoft Store; once it's installed, Photos and Paint can read WebP.

If you use the extension, keep it updated through the Store. The 2023 WebP security flaw (covered below) affected versions before 1.0.62681.0, according to the NVD entry.

Can I Turn a WebP Into a JPEG?

Yes. Open the WebP in anything that reads it, then save a copy as JPG (or PNG). Four ways, from fastest to most flexible:

  1. 1.Windows: open the file in Paint, choose File > Save as, and pick JPEG picture or PNG picture.
  2. 2.Mac: open it in Preview, choose File > Export, and pick JPEG or PNG from the Format menu (Apple's Preview guide).
  3. 3.Photoshop: open it, then File > Save a Copy and choose JPEG or PNG.
  4. 4.In a browser: upload it to our free Image Converter, pick JPG or PNG, and download. It costs no credits, adds no watermark, and keeps the full resolution.

For a whole folder on a Mac, the built-in sips command in Terminal converts every WebP at once:

bash
# one file
sips -s format jpeg photo.webp --out photo.jpg

# every WebP in the current folder
for f in *.webp; do sips -s format jpeg "$f" --out "${f%.webp}.jpg"; done

Whichever you use, three things can change on the way. We checked each one on our own converter, so these are tested results, not guesses.

Transparency gets filled. JPG has no transparency, so the see-through parts have to become a color. We converted one of our transparent product cut-outs to JPG on enhancecraft.com: all 1,323,876 transparent pixels came out pure white. Other tools may fill with black. Etsy, for example, shows the transparent parts of an uploaded image as black (Etsy's photo requirements). If you need to keep the background see-through, convert to PNG instead.

Animation is cut to one frame. JPG and PNG are still images. We ran a three-frame animated WebP through our converter, and only the first frame survived. That held even when the output was WebP, because the converter works on still images. To keep an animation, open it in GIMP, which reads animated WebP, and export a GIF.

The file usually gets bigger, and a little quality is lost. Turning a WebP into a JPG means compressing an already-compressed image a second time. The next section has the numbers.

Does Converting WebP to JPG Lose Quality?

Yes, a little, and the JPG is usually bigger than the WebP it came from. Converting to PNG loses nothing more, but the file grows several times over.

We tested this on five of our own sample photos: a room interior, a product on a plain background, a portrait, a landscape, and a street scene. To start from clean originals, we halved each one from 1,200 to 600 pixels wide, which smooths out earlier compression, and saved the result losslessly as the "original". Then we saved each original as a WebP and converted that WebP to JPG and to PNG, using the exact settings our converter uses (quality 85 for both JPG and WebP). To score quality we used SSIM, a standard measure of how closely an image matches its original, where 1.0 means identical. Five photos is a small test, not a benchmark.

PhotoWebPConverted to JPGSize changeQuality (SSIM): WebP → JPG
Interior94.9 KB91.6 KB−3%0.989 → 0.973
Product, plain background8.0 KB13.6 KB+70%0.992 → 0.986
Portrait53.6 KB75.0 KB+40%0.967 → 0.951
Landscape21.1 KB29.8 KB+41%0.968 → 0.952
Street scene41.2 KB49.1 KB+19%0.969 → 0.952

What the numbers say:

  • ●Four of five files got bigger, by 19% to 70%. You trade a smaller file for one that opens everywhere.
  • ●All five lost some quality. The drops are small, and you're unlikely to see one round of it, but it stacks every time you re-save.
  • ●The converted JPG is worse than a JPG made from the original. We also saved each original straight to JPG at the same setting. Those files were about the same size as the converted ones, yet scored higher on all five photos, because the converted JPG carries two rounds of compression.
  • ●PNG kept every pixel of the WebP (identical scores), but the files were 5.5 to 9.8 times larger.

The practical rule: if you still have the original JPG or PNG, use that instead of converting the WebP. If the WebP is all you have, convert it once and keep the result, rather than converting back and forth.

Is WebP Better Quality Than JPG?

Not better quality, but the same quality in a smaller file. In our test, WebP matched the JPG's quality in files 21% to 56% smaller, with a median of 32%. That's close to Google's 25–34% figure.

For a fair comparison we did what Google does: for each photo, we found the WebP quality setting whose SSIM score matched the JPG's, then compared file sizes.

PhotoJPG (quality 85)WebP at the same SSIMWebP smaller by
Interior92.6 KB70.4 KB24%
Product, plain background14.2 KB6.3 KB56%
Portrait78.7 KB53.6 KB32%
Landscape30.4 KB19.0 KB37%
Street scene50.3 KB39.6 KB21%

Two things stood out. Plain backgrounds compress far better than busy scenes, which is good news for product photos. And the same quality number doesn't mean the same quality across formats. At quality 85, our interior WebP came out 2.5% larger than the JPG, but it also scored higher (0.989 against 0.979). Google's FAQ gives the fix: if your WebP files keep coming out larger, lower the WebP quality setting.

For a side-by-side of WebP, AVIF, JPG, and PNG for your own site, see our image format guide.

Should You Convert WebP to JPG or PNG?

Pick by what the image is and where it's going:

Your WebP is...Convert toWhy
A photoJPGMuch smaller than PNG and opens everywhere; costs a small quality drop
A logo, screenshot, or anything with textPNGNo further loss, so edges and letters stay crisp
A cut-out with a transparent backgroundPNGJPG fills the transparency with a solid color
AnimatedGIF (in GIMP)JPG and PNG keep only the first frame
Going on an Etsy listingJPGEtsy doesn't accept WebP and shows transparency as black

Are .WebP Files Safe?

Yes. A WebP file is as safe as a JPG or PNG: it's image data, not a program, and opening it doesn't run anything. The risk with any image format sits in the software that reads it, which is why updates matter.

WebP had one serious example. In September 2023, a flaw in libwebp, Google's WebP code library, let a specially crafted image write outside its memory in unpatched apps. It's listed as CVE-2023-4863, rated critical by Chrome, and CISA lists it as actively exploited. It was fixed in libwebp 1.3.2 and Chrome 116.0.5845.187, and Firefox, Edge, and Microsoft's WebP Image Extension shipped their own fixes.

So the protection is to keep your browser and image apps updated, not to avoid WebP. One more check: a real image never asks you to run it. A "photo" named something like photo.webp.exe is a program, not a WebP.

Where WebP Still Gets Rejected

WebP works almost everywhere on the web, but not everywhere you upload photos:

  • ●Etsy accepts .jpg, .gif, .png, .svg, and .heic, and WebP isn't on the list (Etsy's requirements). Our Etsy listing photo size guide covers the rest of its specs.
  • ●Some MLS boards take JPEG only. Bright MLS and Metro MLS are two examples in our MLS photo requirements guide.
  • ●Older desktop software and some upload forms check the extension and refuse anything they don't recognize.

Shopify, on the other hand, accepts WebP. If you sell on more than one platform, keep one master photo and export a copy per platform. Our Shopify and Etsy photo playbook shows which file each one wants, and our e-commerce workflows cover the rest of a listing shoot.

How Do You Convert JPG to WebP?

The same tools work in reverse:

  • ●Our Image Converter outputs WebP by default: upload a JPG or PNG and download the WebP.
  • ●Photoshop 23.2 or later: File > Save a Copy, choose WebP, then pick Lossless or Lossy (with a quality slider), per Adobe's help page.
  • ●GIMP: File > Export As, and name the file with a .webp ending.
  • ●Developers: Google's cwebp command-line tool converts in bulk.

Convert from the best original you have. As our test showed, every lossy round costs a little, so don't turn a JPG into a WebP and later back again. If the goal is a faster website, our guide to image optimization for web performance covers the rest: sizing, lazy loading, and serving the right file to each browser.

Convert Your WebP in a Few Seconds

A WebP file is just a smaller image. Open it in any browser, and when something won't accept it, convert it once from the best copy you have: JPG for photos, PNG for graphics and cut-outs.

If you need the JPG or PNG now, try the Image Converter free. It's one of the free utilities in EnhanceCraft, an AI image toolkit for product, property, and portrait photos. Conversion costs no credits, adds no watermark, and keeps full resolution, for files up to 25 MB (50 MB on paid plans). Without an account you can convert 1 image a day; sign in with a free account to convert more. If a photo is simply too big for an upload limit, the Image Compressor re-saves it as a smaller JPG.

Tags:WebPImage FormatFile Format GuideFormat ConversionImage Optimization

Found this helpful?

Share it with your network

Ready to try it yourself?

25 free credits to start, then 10 every month. No credit card. Process your first image in under 15 seconds.

Try the Image Converter free
ML

Munib Ali Laghari

Founder & Lead Developer · EnhanceCraft

Munib Ali Laghari is the founder and lead developer of EnhanceCraft, an AI image toolkit. He writes about AI upscaling, photo restoration, and background removal. Connect on LinkedIn

Recent Posts

Stay Updated

Get the latest guides and tutorials delivered to your inbox.

We respect your privacy. Unsubscribe at any time.