Blog ·

What are WebP files, and how do you open or convert one?

What are WebP files? Learn what a .webp image is, why you get one, which apps open it, and how to turn it into a JPG in your browser without uploading.

You saved a picture and it ended up as a .webp file, or someone sent you one and your app will not take it. So, what are WebP files? A WebP file is an image in the WebP format, a format made for fast websites. Most browsers show it with no extra steps, but some editors, forms and older apps do not. The free WebP to JPG converter fixes that in your browser.

This post explains what the format is, why you keep getting it, and what to do when a program refuses it.

The short answer

  • A .webp file is a picture in the WebP format. It can be a photo, a graphic with transparency, or an animation.
  • Current browsers open WebP files directly. Drag the file into a browser window to look at it.
  • If an app rejects the file, convert it to JPG for photos or to PNG for graphics.
  • Open the WebP to JPG converter, add your files, click Convert and download the result.

What the WebP file format is

The IETF describes WebP as an image file format that supports lossless and lossy compression, as well as transparency and animation. It says the format covers use cases similar to JPEG, PNG and GIF. Its media type is image/webp and its file extension is webp.

Google calls WebP a modern image format for the web. It says web developers can use it to create smaller, richer images that make the web faster.

In plain terms, WebP is one format that can do the jobs of three older ones. It can store photos like JPG, graphics with transparent areas like PNG, and short animations like GIF.

How much smaller is a WebP file?

Google reports that lossy WebP images are 25 to 34 percent smaller than comparable JPEG images at equivalent quality. It also reports that lossless WebP images are 26 percent smaller than PNGs.

That is the reason websites use it. Smaller image files mean pages that load faster, and the picture looks about the same to a visitor.

Kind of imageGoogle's reported saving
Lossy WebP compared with JPEG25 to 34 percent smaller
Lossless WebP compared with PNG26 percent smaller

These numbers describe typical results. Your own file may be different, and a WebP saved at very high quality can be large.

Why you keep getting WebP files

When a site serves its pictures as WebP, saving one from the page can give you a .webp file instead of a JPG or PNG. You did nothing wrong. The site chose the format.

MDN lists WebP as an excellent choice for both images and animated images, and notes that it supports transparency.

Which browsers open WebP

MDN lists Chrome, Edge, Firefox, Opera and Safari as supporting WebP. Google adds that WebP is natively supported in these browsers and in many other tools and software libraries.

Safari support starts with Safari 14, which means iOS 14 and macOS Big Sur or later, according to Google's WebP FAQ. On an older device, check that your Safari version is on that list.

For a quick look at a file you already have, drag it into a browser tab. You do not need to install anything.

When a WebP file will not open

Browser support is strong, but a picture does not always stay in the browser. You may need to attach it to a form, send it to a printer, or open it in an older editor. Those programs often expect JPG or PNG.

Google's own FAQ makes a related point. It says you can view WebP files by converting them to a common format that uses lossless compression, such as PNG, and then opening the PNG in any browser or image viewer.

Signs that you need a conversion:

  • A form says the file type is not allowed.
  • An editor reports that the file is damaged or unsupported.
  • The person you are sending it to cannot open it.
  • A print shop or document template only takes JPG or PNG.

Convert a WebP file to JPG with ImgToJPG

The WebP to JPG converter runs in your browser. Your images never leave your device, and no upload is needed. Follow these steps:

  1. Open the WebP to JPG converter.
  2. Drop one or more WebP files onto the page, or click to browse for them.
  3. Set the JPG quality. If the WebP has transparency, also pick a background color for the transparent pixels.
  4. Click Convert.
  5. Download each JPG, or download the whole batch as a ZIP.

If you need transparency, choose the PNG route instead. A JPG cannot keep it.

JPG or PNG: which copy do you need?

Your fileConvert toWhy
A photoJPGOpens almost everywhere and keeps files small
A logo or cut-out with transparencyPNGJPG has no transparency
A screenshot with sharp textPNGLossless output keeps edges clean
An animationSee the note belowThe converter exports one still frame

What changes when you convert

JPG has no alpha channel. Transparent areas in your WebP are filled with the background color you choose, which is white by default.

The JPG can also be larger than the original. The converter page says that highly optimized WebP files can be smaller than JPG, so lower the quality slider a little if size matters.

Keep your original WebP. You can always make another copy later, for example if you decide you want a PNG instead.

FAQ

Is a WebP file safe to open?

A WebP file is an image, and browsers open them every day. As with any file, open only files from sources you trust. The ImgToJPG tool processes files in your browser, so the picture is not sent to a server.

Does WebP mean the picture is low quality?

No. The format supports both lossy and lossless compression, so quality depends on how the file was saved. Google describes the lossy setting as adjustable, so you choose the trade-off between file size and image quality.

Can I just rename .webp to .jpg?

No. The extension is only a label. According to the IETF registration, a WebP file starts with the bytes for RIFF, followed later by WEBPVP8, so it is still a WebP file inside. Renaming does not change the data, and many apps will still reject it. Convert it instead.

Should I convert my own website images to WebP?

If you run a site, WebP can cut image weight. MDN explains that the picture element lets a page offer a fallback to the most compatible version of an image, so you can pair WebP with a JPEG or PNG copy.

Sources