Home » Tutorial » How to Convert WebP to JPEG or PNG

How to Convert WebP to JPEG or PNG

If you are an avid Android user there is a strong chance that you have already come across Google’s WebP image format. In this article, you will learn how to convert WebP to much more supported JPEG or PNG. 

WebP is an image format first released in 2010 by Google as a new open standard for lossless and lossy compression for images on the web. Google reports that WebP results in 45% smaller file size compared to typical PNG found on the web and 69% smaller file size when converting animated GIFs to lossy WebP.

The support for WebP is relatively widespread and growing. Most modern image viewers and editors have no problem with this format and Google supports it across their range of applications and services. If you want to, for example, download screenshot from Google Play, you will find out that it is WebP file format.

That is all fine but what if you have to use a more common format like JPEG or PNG? Well, in that situation you have a several options depending on your needs. We will start from the easiest one.

Online image converters


Probably the most convenient option is to use one of many existing online file converters. In almost all cases, all you have to do is to save the WebP image you want to convert to your disk (sometimes you can just copy the URL), upload it in the online converter and finally downloaded the converted image.

Two popular choices are Zamzar and online-convert.com. Both of them are able to convert an image from URL, but both of them also have their own special features. Zamzar lets you enter your email address to receive converted files and online-convert.com is able to convert files from Dropbox and also do some post-processing like size change, sharpening, monochromatic filters, etc.



If you don’t want to use a web service or you need to work offline, XnConvert is a great, cross-platform batch image processor compatible with 500 formats. It uses the same image processing module as the powerful media browser, viewer, and converter – XnViewMP.

XnConvert lets you choose and combine more than 80 different operations including metadata editing, resizing, cropping, filters, effects, and more.

Once you have the program installed the conversion is simple and actually quite self-explanatory. All you have to do is run the program and drag and drop the images you wish to convert in the Input tab. Then you should head to the Output tab, select the format you want and click the Convert button.

Console tools


Google has a set of tools for webmasters, developers, and experienced users. Using these tools you can encode, decode, and view WebP on Linux, Windows, and Mac OS X. Two most important tools for us are cwebp and dwebp. cwebp encodes images in either JPEG, PNG or TIFF format into WebP, while dwebp decodes them back into PNG. You can browser and download all tools here.

Installation instructions differ depending on the operating system you use. If you are running windows then all you need to do is to download precompiled executables  from download repository. On Linux, you should follow the instruction for your distribution. In most cases, you will be able to find libwebp in your repositories. And finally, to install the encoder and decoder on Mac OS X you have to download MacPorts and after you install and update it you can type in “sudo port install webp” in your terminal.

To convert a WebP image to PNG we use dwebp tool. The basic syntax is simple:

dwebp picture.webp -o output.png

This will convert a WebP image called picture to PNG image called output.

I hope that this article gave you enough information and tools so that the next time you have to deal with WebP you will know exactly what to do.



Droid Writer

Leave a Reply

Your email address will not be published. Required fields are marked *