WebP Converter – Online File Conversion

webp converter

Google’s WebP image format, particularly lossless WebP, can a be a great solution when it comes to dramatically decreasing the size of your images, while still retaining the quality. We saw an 85% decrease in image size when converting from JPG to WebP, and a 42% decrease when converting from PNG to WebP. Below are a few options you have when it comes to choosing a WebP converter, including plugins, tools, libraries, and software.

WebP Converter Options

WebP support is a lot more than it used to be. Right now it is supported by Chrome, Opera, and their mobile browsers. There are also rumors that we could possibly be seeing WebP support in Safari in iOS 10. Depending upon your traffic and the browsers your visitors are using, this could mean that large majority of your visitors that could be benefiting from WebP. A lot of platforms now have solutions for easily converting images to WebP, see some options you have below.

WebP Converter for WordPress

Our Optimus Image Optimizer is by far one of the easiest WebP converter plugins for WordPress. This plugin, along with our free WordPress Cache Enabler plugin allow you to automatically convert your images to WebP format and serve them to supported browsers. You can start serving WebP in just 4 simple steps.

optimus webp converter

  1. Purchase the Optimus Image Optimizer plugin and install it.
  2. In the Optimus settings, make sure WebP files is enabled. After this is enabled, any image uploaded to the WordPress media library is automatically converted WebP. Your original JPEG and or PNG will still remain, this simply creates a 2nd WebP version.
    webp image optimizer
  3. Install our free WordPress Cache Enabler plugin.
  4. In the Cache Enable settings make sure “Create an additional cached version for WebP image support” is enabled.
    cached webp version The option above allows WebP to be served to supported web browsers and your JPEG and or PNG to still be served to non-supported browsers.This is done by creating a 2nd WebP version html file that is cached to disk. Doing it this way ensures that it loads super fast from cache and that WebP can be used with your CDN provider, such as KeyCDN.webp cached version

WebP Converter for Joomla

The free WebP Joomla extension by Yireo is a popular WebP converter extension for Joomla users. Just like with our Optimus plugin, this extension will serve up WebP images to supported browsers and JPEGs and or PNGs other browsers. You can start using WebP in Joomla in just a few easy steps.

joomla webp converter

  1. Get WebP running in your hosting environment. You can do this by installing the cwebp binary. Or if you are running PHP 5.5.0 or later, it already includes GD support for WebP. You simply need to enable GD.
  2. Install the plugin in the Extension Manager
  3. Enable the plugin in the Plugin Manager

WebP Converter for Magento

magento webp converter

The free WebP Magento extension by Yireo is a popular WebP converter extension for Magento users. Just like with their Joomla extension, this extension will serve up WebP images to supported browsers and JPEGs and or PNGs other browsers. You can start using WebP in Joomla in just a few easy steps.

  1. Get WebP running in your hosting environment. You can do this by installing the cwebp binary. Or if you are running PHP 5.5.0 or later, it already includes GD support for WebP. You simply need to enable GD.
  2. Install the Magento module

WebP Converter for Drupal

To convert images to WebP in Drupal you could utilize the ImageMagick module, but there is not a good module currently for switching images based on browser support.

WebP Converter APIs and Libraries

Optimus API

If you aren’t using one of the popular CMS platforms above you also have the option of using a WebP converter API or library that allows you to integrate into almost any project and or platform. Here are a couple popular ones below:

  • Optimus Image Optimizer has a lossless image compression API which you can take advantage of to convert to WebP.

Example of Usage

<?php

require '/path/to/src/optimus.php';

// create object and pass API license key
$optimus = new Optimus('<your_license_key>');

// optimize image
$result = $optimus->optimize('/path/to/image.jpg');

// save optimized image
file_put_contents('/path/to/image.jpg', $result);

...

?>

Convert to WebP Image Format

// optimize image and convert to webp
$result = $optimus->optimize('/path/to/image.jpg', 'webp');

// save optimized image with webp extension
file_put_contents('/path/to/image.webp', $result);

If you are a developer, feel free to contribute to the other Optimus APIs as well.

Google libwebp Library

You can also use the libwebp libary from Google to add WebP encoding or decoding to your programs and or web server. cwebp is part of libwebp, and was written by the WebP team. The latest source tree is available at https://chromium.googlesource.com/webm/libwebp/cwebp compresses an image using the WebP format. Input format can be either PNG, JPEG, TIFF, WebP or raw Y’CbCr samples.

WebP Projects and Packages

Here are also a couple popular GitHub projects that can you with integration WebP into your projects or websites.

Online WebP Converter Tools and Software

There are also a lot of free online WebP converter tools and software you can use. These can be useful if you are wanting to start testing WebP and comparing file size differences. online webp converter

Summary

As you can see there are quite a few options out there to choose from if you are looking for a WebP converter. Remember though, after you convert your images to WebP format, you also need a proper method to deliver them to only supported browsers.

Related Articles