You've got 50 WebP files and need them all as PNG or JPG — right now. Converting them one by one would take forever. Here are the fastest ways to batch convert WebP images, from browser tools to command-line scripts.
This method is private (files never leave your device), requires no software installation, and works on Windows, Mac, Linux, and mobile devices.
XnConvert is a powerful batch image processor that handles WebP natively. Add your files, set output format to PNG or JPG, configure quality and resizing options, and run. It can process thousands of files unattended.
Open IrfanView, press B for batch conversion, add your WebP files, choose output format and destination folder, and click Start. Simple, fast, and well-tested — IrfanView has been around since 1996.
For power users, ImageMagick converts all WebP files in a folder with one command:
magick mogrify -format png *.webp
This converts every .webp file in the current directory to .png. Replace "png" with "jpg" for JPEG output.
from PIL import Image
import os
for f in os.listdir('.'):
if f.endswith('.webp'):
img = Image.open(f)
img.save(f.replace('.webp','.png'),'PNG')
Requires Pillow: pip install Pillow