flash sale Product image of WebP Image Optimizer
Magento Edition *
Version *
FREE installation Tooltip
Ends in:
03 : 00 : 00 : 00
Get 10% OFF
icon logo magento 2.4.4 - 2.4.8
Tooltip
Hyva logo Theme
Tooltip

Magento 2 WebP Image Optimizer Extension

v4.1.9
5.0
(7 reviews)
Read all >
The Magento 2 WebP Image Optimizer extension helps eCommerce stores reduce image file sizes (PNG, JPG, GIF, TIF, BMP) without losing quality by compressing and converting them into the next-generation WebP format. This improves page loading speed, boosts conversions, and enhances the shopping experience. With automatic scanning and built-in lazy loading support, optimization becomes effortless and efficient.
tick icon
Compatible with Hyva theme
tick icon
Compatible with Magento 2.4.8
tick icon
Need API/GraphQL for Magento 2 WebP Image Optimizer? Chat now
FREE On-demand Hyva Checkout Compatibility
Free Installation
60 days money back guarantee

Boost performance with faster & lighter images

Increase speed with faster and lighter images
Load pages faster
by optimizing image size and reducing file weight.
Boost user experience with seamleass browsing on all devices
Enhance user experience
through more seamless browsing on any device.
Improve site efficiency with lazy loading
Improve site efficiency
by displaying images only when needed.

Key Features of Magento 2 Webp Image Optimizer

Convert multiple image formats to WebP

Magento 2 WebP Image Optimizer extension helps reduce image file sizes by converting them into the lightweight WebP format while maintaining quality. The result is faster page loading, improved SEO, and a smoother shopping experience.
The module supports popular image formats:
tick icon
PNG
tick icon
JPG
tick icon
GIF
tick icon
TIF
tick icon
BMP

Freely select compression level

Choose between two compression modes to balance quality and performance your way:
tick icon
Lossless compression keeps every pixel detail intact while slightly reducing file size.
tick icon
Custom (Lossy) removes some image data to achieve much smaller files, making your pages load noticeably faster.
This flexibility allows you to control how your images appear and how quickly they load.

Show optimized images across all browsers

With our WebP Image Optimizer extension for Magento 2, your store’s images display perfectly across all major browsers, ensuring consistent quality and performance everywhere. Whether customers browse on desktop or mobile, product visuals remain sharp, fast, and reliable.
Supported browsers include:
tick icon
Chrome
tick icon
Safari
tick icon
Edge
tick icon
Firefox

Compress images in mass

Save time by compressing hundreds of images at once. The module supports bulk optimization directly from the Magento admin panel, allowing you to select multiple images and optimize them with a single click, ensuring faster and more efficient media management.

Schedule to scan with cron job

Image compression and optimization can run automatically using cron to save time. The WebP Image Optimizer extension uses Magento’s built-in cron to scan and compress images on a daily, weekly, or custom schedule, keeping your store fast, updated, and performing at its best.

Go beyond compression with built-in Lazy Loading

tick icon
Load images only when visible to reduce initial page weight and improve page speed.
tick icon
Apply Lazy Loading to key pages (Category page, product page, search page, etc.)
tick icon
Adjust the loading trigger point to achieve smoother scrolling and an enhanced user experience.

More features for Magento 2 Webp Image Optimizer extension

View optimization in grid

The Manage Images grid provides a clear overview of all scanned images, showing file paths, original and optimized sizes, compression levels, and statuses. A progress bar displays the percentage of optimized and pending files, helping you track optimization results at a glance.

Scan directory

Easily control which folders are included or excluded from the optimization process. This allows you to focus on directories that contain images needing optimization while skipping unnecessary ones, saving both time and server resources.

Image backup

Keep your original files safe before applying optimization. The module automatically backs up source images, so you can restore them anytime, ensuring flexibility and security during the optimization process.

Exclusion of transparent images

Our module allows users to exclude images with transparent backgrounds from the optimization process. This is useful when you want to preserve the quality of these images, as compression can affect their transparency or detail, especially for PNG or GIF images with transparent backgrounds.

Force file permission

You can specify access rights for optimized image paths. When enabled, you can assign permissions such as read file and write file, ensuring strict control over access and security for the optimized images on the system.

Optimize images via command line

Optimize images directly via the command line, providing flexibility and high processing speed. This is especially useful for those who want to optimize large batches of images or automate the optimization process through scripts, saving time and increasing work efficiency. (detailed guide)

What customers say about us

Product reviews: 7
Overall rating: 5.0
5
4
3
2
1
How much do you like this product?
Leave your email to get reward points for reviews
Submit a relevant review of 30+ words to earn 5 reward points (one-time per extension)
Andreas Gräber
13 January 2024
Verified purchase
We use the extension for automatic size reduction on customer magento installation. It really improves our workflow and helps to get the green badge on google pagespeed check. 5 stars, thank you.
Normando
29 April 2022
Verified purchase
Didn't realize I need this extension before checking SEO data. The page loading speed is improved a lot. Highly recommended for any vendors with the same problem.
Ludmila
19 April 2022
Verified purchase
This extension helps a lot for my SEO. Awesome!
faraz bashir
16 April 2021
Verified purchase
I have installed it for image compression and after using this extension my website speed performance is very quickly and fast. and optimize image via Cron Job is very amazing. Thanks, Mageplaza team
Omar
04 February 2021
Verified purchase
Mageplaza is my go-to when I need a new extension. This one is perfect to improve page loading speed and I also think the automatic backup is a great feature. I highly recommended this
Lorenzo
27 January 2021
Verified purchase
A very good module for images optimization! A must have!
Debra
12 September 2019
Verified purchase
This is undoubtedly a must-have module for optimizing images. It has this cool Cron feature that helps me to scan and compress images automatically so no longer need to do the whole process manually.

Release notes

  • v4.1.9 (Magento v2.4.x)

    17 October 2025

    • Improvement: Improved performance of StatusBar when processing a large number of records.
    • Bug Fix: Fixed “Massaction Select All” issue not selecting all items.
  • v4.1.8 (Magento v2.4.x)

    18 June 2025

    • Bug Fix: Fixed missing User-Agent when optimizing image issue
  • v4.1.7 (Magento v2.4.x)

    30 May 2025

    Bug Fix: Fixed for EE - Syntax error in class Scan

  • v4.1.6 (Magento v2.4.x)

    15 April 2025

    • Compatibility: Now compatible with Magento 2.4.8
  • v4.1.5 (Magento v2.4.x)

    24 May 2024

    Compatibility: The extension is now compatible with Magento 2.4.7

  • v4.1.4 (Magento v2.4.x)

    27 April 2023

    • Compatibility: The extension is now compatible with Magento 2.4.6
  • v4.1.3 (Magento v2.4.x)

    13 February 2023

    • New Update: We added migrate install/upgrade scripts to declarative schema
    • Bug Fix: We solved the error convert gif to webp image
  • v4.1.2 (Magento v2.4.x)

    24 June 2022

    • Bug Fix: We solved the bug that replaced Webp Image Format
    • Bug Fix: We solved the error when not using mime function to get the image format
  • v1.1.2 (Magento v2.3.x)

    24 June 2022

    • Fixed minor bugs
  • v4.1.1 (Magento v2.4.x)

    28 December 2021

    • Fixed minor bugs
  • v1.1.1 (Magento v2.3.x)

    28 December 2021

    • Fixed minor bugs
  • v1.1.0 (Magento v2.3.x)

    26 October 2021

    • Added image optimizer with Webp extension
    • Fixed minor bugs
  • v4.1.0 (Magento v2.4.x)

    26 October 2021

    • Added image optimizer with Webp extension
    • Compatible with Magento v2.4.3
    • Fixed minor bugs
  • v4.0.0 (Magento v2.4.x)

    30 October 2020

    • Supported Magento v2.4.0
  • v1.0.2 (Magento v2.3.x)

    25 June 2020

    • Fixed error while checking file exist
  • v1.0.1 (Magento v2.3.x)

    24 February 2020

    • Fixed scan image error
    • Fixed cannot delete image after optimizing
  • v1.0.0 (Magento v2.3.x)

    30 August 2019

    Initial release

Load More

Frequently Asked Questions

There are 3 simple ways to change image size for Magento 2, including changing product images in the HelloWorld block and in the template file, and using a third-party image optimizer extension.
Since the first 2 methods require technical knowledge, we recommend you apply the 3rd option. You can refer to the WebP Image Optimizer extension by Mageplaza - an easy-to-use and effective image compress solution.

Mageplaza's Magento 2 WebP Image Optimizer is a must-have extension for speeding up your online store by optimizing images. It helps to lighten your website images dramatically (up to 75%) without sacrificing quality. The extension supports multiple image formats (JPG, PNG, GIF, etc.) and offers both automatic and manual optimization options.

Here are the key benefits of the WebP Image Optimizer extension by Mageplaza:
- Speed up your website's loading time, providing a better experience for customers
- Improve SEO performance to attract more new customers
- Allow to schedule image optimization in batches, saving you time and effort
- Support resizing images of various formats

WebP Image Optimizer module supports the most popular image types including PNG, JPG, GIF, TIF, BMQ, TIFF and JPEG.

You can compress images without losing quality. We offer you 2 options: Lossless and Lossy.
- Lossless: Retain image quality while reducing the file size
- Lossy: Reduce filesizes significantly but reduce image resolution

The module only optimizes your site's images. It doesn't change your images' format or resolution. This brings us to the best practices regarding images and the web. To solve this problem, prepare your images properly for Google PageSpeed Insights. Choose the right format: GIF for a few colors, JPG for many colors, and PNG for accurate transparency. Also, ensure optimal resolution; resize images to actual display size, then use our extension to optimize. Then, you'll pass Google PageSpeed Insights.

Separating directories makes scanning quicker and more targeted. Some directories require original images with full quality will not be considered in the optimization process. Also, this separation allows store admins to specify included directories for scanning images and excluded directories to skip during the scan.

This happens when a batch of images contains many very large photos, causing script execution optimization to fail due to memory and time constraints. To resolve this, reduce the "Limit Number of Images" option to 10. In certain situations, especially with very large photos and specific server settings, set the "Limit Number of Images" to 1. Once you've optimized these large photos, you can set the default limits back to normal.

Yes, this extension is well-compatible with other extension of Mageplaza including: SEO Extension, Magento 2 Product Grid— the upgraded version of Mass Product Actions., Product Attachments, Blog Extension

Don't worry! After the image optimizing process, our extension doesn't replace your image path. It will be kept unchanged.

Yes, WebP Image Optimizer is compatible with Hyva theme. However, the checkout only supports hyva-themes/magento2-theme-fallback. To learn how to enable checkout on Hyva, please follow this guide.

Mageplaza provides FREE Hyva Checkout Compatibility for all of our extensions upon requests. You can request by contacting us via email, live chat, or support ticket. Our team will respond within 24 hours and ask for details such as Order ID, extension name, Magento & Hyva versions, and any special requirements. To qualify, your module subscription must be active. If your subscription has expired, renewal is required as some older modules do not support Hyva. Additional customization requests may incur extra costs, and our team will inform you before proceeding. For assistance, feel free to reach out - we're here to help!

Magento Edition *
Version *
FREE installation Tooltip
Ends in:
03 : 00 : 00 : 00
Get 10% OFF
icon logo magento 2.4.4 - 2.4.8
Tooltip
Hyva logo Theme
Tooltip

Pricing

Choose your suitable edition.

Community

$ 99 first year
Includes support & updates for 1 year Tooltip
60 days money back guarantee
Read our policies
check
Supports for Magento 2 Community Edition
check
Free On-demand Hyva Checkout Compatibility

Enterprise/ Magento Cloud

$ 299 first year
Includes support & updates for 1 year Tooltip
60 days money back guarantee
Read our policies
check
Supports for Magento 2 Enterprise Edition
check
Highest priority support
check
Free On-demand Hyva Checkout Compatibility
Can't see the feature you're looking for?
Describe it and we will customize this extension to suit your needs!
Request customization
feature looking icon