Unlock Magento B2B Website product to deliver a website in 12 hours | Free 3-month hosting!Explore Now

Magento 2 Convert Images to WebP

Community: 2.3.x - 2.4.x
Enterprise: 2.3.x - 2.4.x

Magento 2 convert images to webp extension makes the process of webp online converter easier and faster than ever. No more manual image format changes, all on your Magento 2 site will be converted to webp with only one simple setting:

  • Automatically convert images under format jpg., png., jpeg. to Webp to optimize the loading and display speed of the website.
  • Choose specific places you want to convert: All, Product Page, Category Page, Home Page, CMS Page.
  • Reduce time spent on conversion, automate every media converting, and deliver good-looking images.
  • Automatically convert child items' images of configurable products
  • Convert images that are uploaded by Page Builder
  • Be compatible with all browsers and Safari 14.1 and above.


  • Automatically convert child items' images of configurable products
  • Convert images that are uploaded by Page Builder
  • Compatible with M2.4.6



Automatically convert images to WebP format in a blink

Simply enable automatic converting images to WebP in the backend. No need to manually visit each place to upload webp format anymore.

When uploading an image to your site with jpg, png, jpeg, etc., Magento 2 Convert Images to WebP will automatically create a WebP image and save it to the server. At the same time, in the front end, the image URL is also converted to WebP format and replaces the original one.

On the other hand, when disabling the module, the displayed image will return to its original format.


Freely choose a specific page to convert images to Webp format

Wondering whether to put every image on-site to webp? Don't worry. Magento 2 Convert Images to WebP helps you pick the pages you want. There are 4 main page types you can configure:

  • Product Page
  • Category Page
  • Home Page
  • CMS Page

Not only that, but admin users can ignore specific images on each page type.

For example, you want to convert jpg to WebP on product pages, except for the images on T-shirt A's product page. All you need to do is fill in the product ID in the module backend. This feature enhances the flexibility of image optimization on your Magento 2 site.


Define image quality when converting

You can optimize the display of your webp images by defining the webp quality.

Image size reduction used to result in image quality distortion inevitably. But everything is different now. This module makes it hard to distinguish between images taken before and after the conversion.

You can select from various quality settings when converting photos to WebP with the Magento 2 Convert Images to WebP extension. The default setting is 75.

It could be your decision, in turn, to optimize your WebP SEO and website load time.


Compatible with all browsers

It is straightforward to optimize images on your website into the WebP image format because most browsers support it.

However, specific browsers still don’t, leading to customers seeing broken graphics. Thus, if customers visit your website using outdated browsers, Magento 2 Convert Images to WebP extension will automatically convert back to the original.jpg or.png images.

Also, this extension is compatible with all browsers, including Safari 14.1 and above.

Magento 2 Convert Images to WebP user reviews

Why Choose BSS

Competitive Price
Every merchant needs to survive – we do understand. That’s why we keep the price as low as possible.
Dedicated Support
We are all ears to your problems, either with our extensions or customizations. FREE 1-year support is included.
Open Source
The source code is completely open to inspect, modify and enhance according to your business purposes.
Qualified Code
We have developed a validation tool to ensure that every piece of code follows Magento coding standards.
High Compability
Our modules work well with each other. Even you want ours to be compatible with those of others. We are here to help
Simple installation
We simplify and clarify the installation process, so you can get the extension played for your website in clicks.
Quick Update
Your business and customers’ demands are ever-changing. Our extensions are also up-to-date with new features.
Business expert
Our certified experts get involved from the extension development to support to bring you efficient and budget solutions.
Easy to Use
No need to install bunches of redundant features. We select the most relevant functions to ensure the user-friendliness.


  • Can I install this Magento 2 extension via Composer? If yes, how can I do that?

    Yes. You can install Magento 2 extensions via Composer following the instruction here.

  • How to send customization request for this extension?


    Just drop us an email to sales@bsscommerce.com or contact us.

    We'd like to offer customization service for all BSS Commerce extensions and any third-party extensions.

  • Does the extension change my image resolution?
    No, your image resolution does not change in any situation. The Magento 2 Convert Images to WebP extension only supports converting your images to WebP format.
  • Does it increase the loading time of the website?

    No, instead it helps in improving your website performance.

  • Will it increase website hosting data?

    The module will increase website hosting data because it must create corresponding WebP format images and store them in the website hosting.

  • What happens with the PNG or JPG images after being indexed? Do I lose our indexation of these images and will there be 404 errors?

    Our module logic is to create a copy of the JPG/PNG images and save it to a folder. Then proceed to override the path URL of the JPG/PNG images to WebP images.
    For indexed JPG/PNG images, they are completely unaffected because at this time, the image URLs can still be accessed normally, so there will be no 404 error (unless they are deleted from the folder on the server).
    After using the module, the images will exist in 2 forms: the original JPG/PNG and the WebP. After converting and indexed, then google will receive the WebP form instead of the original JPG/PNG.

  • Does it support converting all image formats? Can it convert GIF images to WebP format?

    Currently, our module only supports JPG., PNG., JPEG. It hasn't support GIF format.

Release Note
    • v1.0.3 (Feb 21, 2023): Update converting child products' images of configurable products. Update converting images inserted via Page Builder. Fix bug showing duplicated images on related products/upsell products in product page.
    • v1.0.2 (Nov 11, 2022): Update configuration names for more clear meaning. Update generating webp images with image cache
    • v1.0.1 (Sep 6, 2022): Add config Auto Generate Webp Images to generate webp on first page loading; add a button to clear all existing webp images. Fix bug not converting first image with HTML to webp. Compatible with BSS Magento 2 Lazy Load, BSS Magento 2 Ajax Add to Cart, M2.3.x and Safari 14.1 and below.
    • v1.0.0 (May 6, 2022): First Release
Sign in to Your Account