Hot: BSS now has 90+ Hyvä Theme Compatible M2 Extensions - And there're more to come!

From B2B to CheckoutBuy 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 is an extension that optimizes website performance by converting jpg, jpeg, and png images to the next-gen WebP format. This not only reduces image sizes, improving site speed, but also saves valuable storage space. Elevate your e-commerce experience with seamless image conversion, delivering a faster and more efficient browsing experience for your customers.

Specifically, the main functions of Magento 2 Convert Images to WebP are:

  • Automatically convert jpg, png, and jpeg images to Webp for faster website loading.
  • Choose conversion locations like Product Page, Category Page, and more.
  • Save time with automated media conversion for attractive images.
  • Convert child items' images of configurable products automatically.
  • Support images uploaded through Page Builder for seamless conversion.
  • Ensure compatibility with all browsers, including 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
  • Compatible with Hyva Theme
Get the Ultimate Site Optimization package
Magento 2 Convert Images to WebP

Magento 2 SEO Extension
Special Price $149.00 Regular Price $199.00

Magento 2 ChatGPT

Save -$50.55



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 extention 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 upload webp images 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 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
    • Hyva compatible v1.0.1 (Dec 1, 2023): Dicompile error when installing composer Hyva Theme
    • v1.0.6 (Nov 03, 2023): Fix bug compatibility with M2.3.x.
    • v1.0.5 (Sep 08, 2023): Update compatible with CDN.
    • Hyva compatible v1.0.0 (Jun 12, 2023): Update compatible with Hyva theme.
    • v1.0.4 (Jun 07, 2023):
      • Update: Not converting images to <picture> tag when the image is ignored and not a product image
      • Fix bugs when running cmd on Magento 2.4.6
    • 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 Magento 2 Lazy Load, Magento 2 Ajax Add to Cart, M2.3.x and Safari 14.1 and below.
    • v1.0.0 (May 6, 2022): First Release