Home Plugins webp uploads
Modern Image Formats logo

Modern Image Formats

by WordPress Performance Team on WordPress.org

Converts images to more modern formats such as WebP or AVIF during upload.

(16)

This plugin adds WebP and AVIF support for media uploads within the WordPress application. By default, AVIF images will be generated if supported on the hosting server, otherwise WebP will be used as the output format. When both formats are available, the output format can be selected under Settings > Media. Modern images will be generated only for new uploads, pre-existing images will only converted to a modern format if images are regenerated. Images can be regenerated with a plugin like Regenerate Thumbnails or via WP-CLI with the wp media regenerate command.

By default, only modern image format sub-sizes will be generated for JPEG or PNG uploads – only the original uploaded file will still exist as a JPEG/PNG image, generated image sizes will be WebP or AVIF files. To change this behavior, there is a checkbox in Settings > Media “Output fallback images” that – when checked – will result in the plugin generating both the original format as well as WebP or AVIF images for every sub-size (noting again that this will only affect newly uploaded images, i.e. after making said change).

This plugin was formerly known as WebP Uploads.

Active installations100K+
Weekly downloads
4,495-7.87%
Version2.5.1
Last updated4/9/2025
WordPress version6.6
Tested up to6.8.1
PHP version7.2
Tags
AVIFimagesmodern image formatsperformancewebp