
How to Batch Convert to WebP Image Format?
In this section, you will find a practical way to batch convert images to the WebP format, which was developed by Google and is widely used on modern websites. You can convert your classic JPEG, PNG, BMP, or GIF files to WebP without quality loss—helping to boost both your website speed and SEO performance.
Tip
The WebP format provides much smaller file sizes compared to traditional images, significantly reducing page load times.
Required Software and Files
To batch convert to WebP, you first need to download Google’s official tools. Download the necessary files for Windows from the Google WebP Tools page.

We download the WebP tools from Google.
Folder and File Preparation
Extract the downloaded file to your desktop and rename the folder as WebConverter. All operations will be managed inside this folder.

Rename the folder to WebConverter.

Enter the contents of the folder.
Then create a new Text Document inside the folder and rename it as webp-convert.bat.

Rename the text file to webp-convert.bat.
Creating the Batch Conversion Script
Right-click the webp-convert.bat file, select "Edit," and paste the code below. Then save and close the file.
Script Content
@echo off
setlocal EnableDelayedExpansion
pushd %1
for /f "delims=" %%n in ('dir /b /s /a-d-h-s') do IF NOT ".webp" == "%%~xn" (
set url=%%n
set urlkirp=!url:~0,-4!
set yeniurl=!urlkirp!.webp
echo !yeniurl!
"%~dp0cwebp.exe" -q 80 "%%n" -o "!yeniurl!"
)
pause

Paste the code into webp-convert.bat and save it.
Create Shortcut and Add to Send To Menu
To simplify the conversion, create a shortcut for webp-convert.bat and add it to Windows' Send To menu. Open any folder, type shell:sendto in the address bar, and press Enter.

Type shell:sendto to open the Send To menu.
Drag the shortcut of webp-convert.bat into the opened window.

Drop the shortcut into the Send To menu.
How to Batch Convert?
Now, to batch convert JPG, PNG, BMP, or GIF files in any folder to WebP, simply right-click the folder, choose Send To → webp-convert. The script will automatically convert all images—including those in subfolders—to WebP format.

Right-click the folder and select Send To → webp-convert.

After the process starts, all images are recreated in .webp format.
Important Note
All images in subfolders will also be converted automatically. You will benefit from a major file size reduction and performance improvement.