Force WebP

Forces every uploaded JPG/PNG image to WebP format and removes the original file.

Author:Qrzysio (profile at wordpress.org)
WordPress version required:6.5
WordPress version tested:7.1
Plugin version:1.6
Added to WordPress repository:20-07-2025
Last updated:23-08-2026
Rating, %:80
Rated by:1
Plugin URI:https://wordpress.org/plugins/force-webp/
Total downloads:2 582
Active installs:200+
plugin download
Click to start download

This plugin converts every uploaded JPG or PNG image into modern WebP format to improve performance and reduce file size.

Key features:
– automatic conversion of JPG and PNG images to WebP on upload
– thumbnails are written directly as WebP by WordPress itself – one lossy pass instead of two
– configurable WebP quality level
– optional maximum image width (original images are resized before thumbnails are generated)
– optional removal of the original JPG/PNG files to save disk space
– ICC colour profiles are preserved, so photos keep their colours
– self-healing metadata: broken thumbnail references are corrected automatically
– built-in repair tool for media libraries damaged by older versions
– automatic alt text generation based on the filename
– filename sanitization and collision-safe renaming

All settings apply only to newly uploaded images. Existing media files are not modified.

Configuration

You can configure the plugin in Tools Force WebP.

Available options:
– WebP quality (0-100): controls compression quality for newly uploaded images
– Max width (px, optional): limits the maximum width of original images before WordPress generates thumbnails (0 = disabled)
– Keep original JPG/PNG: keeps the source file after a successful conversion (off by default)

The same page offers a repair tool that fixes attachments whose thumbnails were broken by versions 1.2-1.5 (see FAQ).

All settings affect only images uploaded after saving the configuration.


FAQ
ChangeLog