What Is a WebP File?

WebP is an image format made for websites: smaller files than PNG or JPG at the same quality. Here is why your saved images end in .webp, and what to do with them.

WebP in one paragraph

WebP is an image format created by Google and released in 2010. It was designed to make web pages load faster by making images smaller. A WebP file can do everything PNG, JPG and GIF do between them: it can be lossy like a JPG or lossless like a PNG, it can have a transparent background, and it can even be animated. The files end in .webp.

Why so many images are WebP now

Smaller images mean faster pages, and Google reports that lossless WebP images are 26% smaller than the same PNGs, and lossy WebP images are 25 to 34% smaller than comparable JPGs. Every major browser displays WebP, so websites, online shops and image services convert their pictures to it automatically.

That is why "Save image as" so often gives you a .webp file even when the picture looked like a PNG or JPG: your browser saves the image in the format the website sent.

WebP vs PNG vs JPG

WebPPNGJPG
CompressionLossy or losslessLosslessLossy
File sizeSmallestLargestSmall
TransparencyYesYesNo
AnimationYesNoNo
Opens inBrowsers and most newer appsAlmost everythingEverything
Best forImages on websitesGraphics, screenshots, logosPhotos

How to open a WebP file

How to convert a WebP file

All of them run in your browser, so your images are never uploaded.

Questions

Is WebP better than PNG or JPG?

For websites, usually yes: the same picture in a smaller file. For sharing, editing and printing, PNG and JPG are safer because every app opens them.

Is a WebP file safe to open?

Yes. A WebP is an ordinary image, like a PNG or JPG. Open it in your browser or any app that supports it.

Why does Save Image As give me a WebP?

The website sent the image as WebP, and your browser saves files in the format it received them. The picture only looked like a PNG or JPG on the page.

Does converting WebP to PNG lose quality?

No. PNG is lossless, so it keeps the picture exactly as it is. Convert WebP to PNG.

Is WebP a vector format?

No. Like PNG and JPG, WebP stores pixels, so it blurs when enlarged. For a scalable vector, trace it into an SVG at our sister site: WebP to SVG.