Convert your entire image library
Migrating a WordPress site from JPG to WebP is not a file-by-file task. It is a library-wide operation.
With the WordPress plugin (Pro and up), choose WebP or AVIF as the output format and run it on your media library. It runs in the background, in small batches: nothing changes until each image succeeds. The original is swapped and thumbnails regenerated, and every URL in posts, meta and widgets is updated, with redirects for the old ones.
How long it takes depends on the number and size of your images and the format; AVIF is the slowest to encode.
Format migration strategy
The recommended migration path:
1. Sample 5–10 representative images (1 credit each) to verify quality at your chosen preset. 2. Process a small batch of 20–50 images. Check your site. Verify thumbnails render correctly. 3. Process the rest of the library. 4. After migration, verify your CDN is serving the new format with correct Content-Type headers.
The plugin backs up every original. If a conversion isn't what you wanted, revert restores the original file, its URLs and metadata, and removes the redirect.
Questions
Common questions about this tool.

