This article provides a guide for how to bulk clone and convert PNG files to WebP in cPanel. This article is intended for cPanel Hosting and Reseller Hosting users.
How to Bulk Clone and Convert PNG Files to WebP in cPanel
To bulk clone and convert PNG files to WebP in cPanel, follow the steps below:
- Login to your account via SSH.
- Navigate to a directory directly containing the PNG files (i.e.
/wp-content/uploads/2025/07/)cd /home/user/public_html/wp-content/uploads/2025/07 - Run the following command to create a
.webpof each.pngwhile also retaining the original.pngfiles:mogrify -format webp *.png - Once the terminal resets, the process is completed. This action may take a while to complete, dependent upon the amount of files converted.
- Repeat Steps 2-4 to perform this process on other locations.
Conclusion
You now know how to bulk clone and convert PNG files to WebP in cPanel.

👀 Choose SSD-powered VPS servers for increased speed, power, and security! Now 50% off- starting from only $3.19/mo.