Forum Discussion
Aki_Davis
Jun 06, 2024Copper Contributor
How can I batch Convert WEBP to JPG on my Windows 11?
I'm looking for a way to batch convert WEBP images to JPG format on my Windows 11 PC. I have a large number of WEBP files that I need to convert into JPGs for easier compatibility with various applic...
Nguyenais
Jan 21, 2025Bronze Contributor
libvips is a fast and memory-efficient image processing library that excels in handling large images and batch processing tasks. It provides a command-line tool named vips which can perform various image conversions, including WebP to JPG. To convert a WebP image to JPEG on Windows 11 or Windows 10 using libvips, use the following command:
vips copy image.webp image.jpg
For converting multiple WebP files in a directory to JPG, you can use a for loop in Command Prompt:
for %f in (*.webp) do vips copy "%f" "%~nf.jpg"
- for %f in (*.webp): Iterates over all .webp files in the current directory.
- vips copy "%f" "%~nf.jpg": Converts each WebP file to a JPG with the same base name.
Note: If you're placing this command inside a batch file (.bat), replace %f with %%f: