Opens in a new tab
WP PowerSuite home
Turquoise abstract wavy W logo on a black background
Black
Friday
SALE
UP TO70%OFF

Summarize with AI:

On This Page
Last updated: 04/09/2026

WebP Conversion

Automatically convert uploaded JPEG and PNG images to WebP format for significantly smaller file sizes and faster page loads. Cannot be enabled together with AVIF Conversion.

Overview

WebP Conversion converts eligible new JPEG and PNG uploads into WebP and makes the WebP file the actual WordPress attachment.

Unlike a sidecar delivery system, the module updates the attachment path, GUID, and MIME type so WordPress itself points to the .webp file after conversion. You can control JPEG and PNG conversion independently, choose WebP quality, keep the original JPEG/PNG in an originals folder or delete it, and restore converted attachments later when a retained source is available.

WebP Conversion is a Pro module in WP PowerSuite and should not be enabled at the same time as AVIF Conversion.

Solid black square
Solid black square
Who is this for?
  • Performance-focused WordPress sites that want WebP as the canonical uploaded image
  • Agencies standardizing modern image formats across client websites
  • Publishers and ecommerce stores uploading large JPEG and PNG images
  • Developers who prefer attachment replacement over picture-tag sidecars
  • Sites that want a reversible WebP workflow when originals are retained

Features

Automatic WebP Conversion
Convert eligible new JPEG and PNG attachment originals during WordPress image metadata generation.
Canonical WebP Attachments
Update the Media Library attachment itself to .webp rather than only creating a secondary delivery file.
JPEG & PNG Controls
Enable or disable conversion independently for JPEG and PNG uploads.
Adjustable Quality
Set WebP quality from 60 to 100, with 80 as the default.
PNG Transparency Support
Preserve alpha transparency when eligible PNG images are converted through GD.
Keep or Delete Originals
Move original JPEG/PNG files into an originals folder for restoration or delete them after successful conversion.
Restore Converted Media
Return restorable WebP attachments to their saved JPEG/PNG source files in controlled batches.
Server Capability Detection
Use GD imagewebp() when available or compatible Imagick WebP support as a fallback.
Safety Limits
Skip files outside uploads, excluded suffixes, oversized pixel counts, or environments that cannot encode WebP.

Make WebP the WordPress Attachment Itself

This means wp_get_attachment_url() naturally returns the WebP URL after conversion. There is no separate <picture> wrapper and no need for the frontend to choose between a WebP sidecar and the original file. The Media Library itself now points at WebP as the canonical source.

Convert JPEG and PNG With a Predictable Quality Setting

Keep Originals When You Want a Recovery Path

Know What Happens to WordPress Thumbnail Sizes

If your workflow depends heavily on controlling which thumbnail sizes exist, Custom Image Sizes, Disable Thumbnail Generation, and Regenerate Thumbnails provide separate controls for registration, generation policy, and rebuilding existing media.

Skip Images That Should Not Be Converted

Choose WebP Conversion or AVIF Conversion

WebP Conversion and AVIF Conversion are intentionally marked as conflicting modules because they represent different upload strategies and should not both try to transform the same attachment.
WebP Conversion replaces the main attachment with WebP and does not provide a picture-tag sidecar system. AVIF Conversion defaults to keeping the JPEG/PNG attachment, generating AVIF sidecars for the full image and generated sizes, and serving those sidecars through markup. AVIF Conversion can also use an optional replacement mode when required.
Choose based on the format you prefer, your server encoding support, browser compatibility requirements, and whether you want the optimized format to be the Media Library attachment or an alternate frontend source.

Use Cases

  • Modernize New Uploads
    Make new JPEG and PNG attachment originals use WebP automatically.
  • WooCommerce Product Images
    Reduce the size of newly uploaded product image originals while keeping WordPress attachment workflows intact.
  • Agency Performance Builds
    Apply a consistent WebP upload policy without adding an external optimization service.
  • Reversible Conversion
    Keep original JPEG/PNG files so converted attachments can be restored later.
  • Canonical Modern Media
    Use WebP as the actual attachment URL rather than only as a browser-selected sidecar.

Frequently Asked Questions

Related Modules

Add custom image sizes beyond WordPress defaults. Create exact dimensions for hero banners, product thumbnails, or any layout requirement — no code...
Disabled
Adds smaller AVIF copies for JPEG and PNG uploads so pages can load faster. Optional setting to show those images to modern...
Disabled
Package your media library into downloadable ZIP files—the entire library, specific months, or folders (when Media Categories is enabled). ZIPs auto-expire after...
Disabled
Disk usage at a glance on the dashboard home.
Disabled
Allow SVG and SVGZ uploads in the Media Library. Restricted to administrators only.
Disabled
Allow AVIF image uploads in the Media Library. Requires GD or Imagick with AVIF support on the server.
Disabled
Replace any media file while keeping the same URL and attachment ID. Update product photos used across multiple pages without touching any...
Disabled
Generate accessible, SEO-friendly alt text with AI. Includes a dashboard, review queue, background processing, multi-provider support, REST/WP-CLI automation, and Pro extras like...
Disabled
Find media files not used anywhere on your site and delete them to reclaim storage space. Clean up orphaned images from deleted...
Disabled
Automatically clean uploaded image filenames by converting to lowercase, removing special characters, and adding a unique identifier. No configuration needed.
Disabled