What WebP Express does on your site
WebP Express converts your site’s JPEG and PNG images to WebP, then serves the WebP version to browsers that support it and the original to everyone else. Conversion runs on your own hosting, using one of the local methods available (cwebp, Vips, Imagick, Gmagick or GD). If none of them works, it can fall back on EWWW’s online service (paid key) or on another site running WebP Express.
The default mode, "Varied image responses", writes rules into .htaccess files: when a compatible browser requests photo.jpg, the server returns the WebP at the same address, converting it on the fly if it doesn’t exist yet. The "CDN friendly" mode leaves image addresses alone and changes the page HTML instead, either swapping <img> tags for <picture> tags or rewriting the image URLs. Converted files are stored by default in /wp-content/webp-express/webp-images/, and the originals are never touched. Bulk conversion is available in the settings and through WP-CLI.
The plugin is built by Bjørn Rosell, an independent developer who also publishes the libraries it relies on (WebP Convert in particular). It is completely free, with no paid version; the author accepts donations. The settings live under Settings > WebP Express and are in English only: the interface isn’t translated.
Which sites WebP Express is a good fit for
WebP Express lightens your images with no subscription and no outside service.
- Sites on Apache or LiteSpeed: the plugin writes the .htaccess rules itself, and "Live test" buttons check that they work.
- Sites working on their Core Web Vitals: lighter photos speed up the rendering of the largest element on the page.
- Sites that don’t want a quota: every conversion is free, and with the local methods your images never leave your server.
- Admins comfortable with WP-CLI: convert and delete WebP files from the command line, by folder or by image type.
It isn’t the right choice if you want AVIF or need to compress your originals: the plugin only produces WebP. Converter for Media offers AVIF in its PRO version. On Nginx without access to the server configuration, or behind Cloudflare’s free plan, only the "CDN friendly" mode works without server changes, and it skips images referenced from external CSS files.
WebP Express strengths and limitations
Strengths
- Completely free. No paid version, no account to create, no image limit.
- Originals left intact. WebP files are stored separately by default, and one setting skips any that would be heavier than the original.
- Several delivery methods. Varied responses through .htaccess,
<picture>tags or URL rewriting, depending on your server and cache. - Quality matched to each JPEG. With Imagick or Gmagick, the "Same as the jpeg" option reuses the original’s quality, capped at a maximum.
Limitations
- WebP only. No AVIF, no compression of the originals, and only JPEG and PNG files are converted.
- Technical setup outside Apache. On Nginx, redirection requires rules added by hand to the server configuration.
- CDN needs configuring. The default mode requires a CDN that honors the
Vary: Acceptheader; Cloudflare’s free plan doesn’t. - A single maintainer. No release shipped between April 2024 and December 2025, and the author apologized for it in the changelog.
- English-only interface. The settings are many, technical and untranslated.
The WebP Express settings we recommend
All of these settings are under Settings > WebP Express. Pick the mode first, click "Save settings", then adjust the rest.
| Setting | Recommended value | Why |
|---|---|---|
| "Operation mode" Settings > WebP Express | "Varied image responses" on Apache or LiteSpeed without a CDN; "CDN friendly" behind a CDN or on Nginx without access to the configuration | The first serves WebP at the same address; the second keeps a cache from handing WebP to a browser that can’t read it. |
| "Scope" Same screen | "Uploads and themes" (default) | Covers the media library and theme images, without touching plugins or the admin area. |
| "Quality (jpeg -> webp)" Same screen, conversion section | "Same as the jpeg" with a maximum of 80, if the option appears; otherwise the default fixed quality | Re-encoding a mediocre JPEG at high quality doesn’t improve it, it just makes the file heavier. |
| "Metadata" Same section | "No metadata in webp" (default) | Exif data adds weight and can reveal the camera or the location where the photo was taken. |
| "Prevent using webps larger than original" Same screen, general section | On (default) | Some images, often already optimized PNGs, produce a heavier WebP: the original is served instead. |
| "Convert on upload" Same screen, conversion section | On in "CDN friendly" mode | Without redirection to the converter, new images would only be converted at the next bulk run. Uploads can slow down if your theme creates many sizes. |
| "Alter HTML" Same screen | On, replacing images with <picture> tags, in "CDN friendly" mode | The HTML stays identical for everyone, so it works with a page cache. Check your theme’s styles: a div > img selector no longer matches. |
| "Enable web service" Same screen | Off (default) | Only turn it on if another of your sites converts its images through this one; version 0.25.16 closed a way to use this service without a key. |
- Check that at least one conversion method shows a green checkmark in the list of converters.
- In "Varied image responses" mode, click each "Live test" button after saving.
- In Chrome’s developer tools, Network tab, a
.jpgimage should show up with the webp type. - Run "Bulk Convert" (or
wp webp-express convert) for the images already on the site. - After switching modes behind a CDN, purge its cache.
WebP Express security: two unauthenticated flaws in one year
WPScan and Patchstack list few vulnerabilities, but the two most recent ones require no account:
- CVE-2025-11379, versions up to 0.25.9: on Nginx, anyone could read the plugin’s configuration file directly. The fix, released in December 2025, gives that file a random name.
- CVE-2026-97328, fixed in 0.25.16: unauthenticated stored XSS through the HTML parser behind the "Alter HTML" feature, when a delivery mode other than the default one is enabled.
Version 0.25.15 also fixed a medium-severity security issue in the converter, and the 2019 flaws (CSRF, stored XSS) have been fixed since the 0.14 series. Stay on version 0.25.16 or later and turn on automatic updates for the plugin (see our guide to automatic plugin updates). WP Feint Pro replaces the addresses of the plugin folder and of /wp-content/webp-express/, which makes WebP Express harder to spot for bots that target its flaws, without replacing the update.
What WP Feint hides for WebP Express
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to WebP Express: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
- folder name
- tag IDs
- generated-file folders
Still visible
No known trace
WebP Express FAQ
Why do my image URLs still end in .jpg?
In "Varied image responses" mode, that’s expected: the WebP is served at the same address as the original. Browsers rely on the Content-Type header, not on the file extension, so check the type in the Network tab.
Does WebP Express work with Cloudflare?
On the free plan, the default mode isn’t suitable, because Cloudflare doesn’t keep a separate cache based on the Accept header. The author then recommends "CDN friendly" mode with "Alter HTML", or not caching JPEG files.
How do I remove WebP Express without breaking images?
Always deactivate it before deleting it: deactivation removes its rules from the .htaccess files. Uninstalling then deletes the /wp-content/webp-express/ folder, along with the WebP files inside it.
Can I keep an image as JPEG or PNG?
Yes: add ?dontreplace to the image URL, or place an empty file next to it with the same name followed by .dontreplace. On an installation that predates version 0.23.0, regenerate the .htaccess rules first.
Does WebP Express work with a page cache?
Yes with <picture> tags, since every page is identical. Rewriting URLs only for compatible browsers requires a cache that keeps two versions of each page, such as Cache Enabler or LiteSpeed Cache.