MegaOptim Image Optimizer – Optimize WebP & AVIF, Compress Images, Convert to WebP & AVIF
MegaOptim 2.0 is a WordPress image optimizer built around three goals:
- Further compress existing WebP and AVIF images. Next-gen formats are already small — MegaOptim 2.0 squeezes more out of them while keeping originals intact.
- Convert old JPG, PNG, and GIF images to WebP or AVIF. Modernize your Media Library and serve next-gen formats to supported browsers, with the original file preserved as a fallback.
- Optimize old formats in place. Make JPEG and PNG smaller without changing the format — useful when you want savings but don’t want a next-gen conversion. GIF, WebP, and AVIF compression are available through MegaOptim Cloud.
The plugin is free when you use the local method (GD or Imagick on your server). For smarter compression — including further optimization of existing WebP and AVIF files — add an API key and use MegaOptim Cloud, available for around $54 per year on unlimited sites.
Why Use MegaOptim?
- Further compress existing WebP and AVIF images for extra savings
- Convert JPEG, PNG, and GIF images to WebP or AVIF
- Optimize JPEG and PNG in place with no format change (GIF/WebP/AVIF compression via Cloud)
- Bulk process the WordPress Media Library
- Browse and process folders outside the Media Library
- Free local processing or smarter MegaOptim Cloud compression
- Automatically convert or compress newly uploaded images
- Serve WebP and AVIF with Apache
.htaccessor PHP passthru - Track background jobs with a built-in queue monitor
- Restore compressed originals from backup or remove generated next-gen files
- Optionally process retina images generated by WP Retina 2x / Perfect Images
- Use WP-CLI for bulk conversion, stats, reset, logs, and queue tools
Free Local Processing or MegaOptim Cloud
MegaOptim works without an API key. If your server has GD or Imagick, you can convert JPEG/PNG/GIF to WebP, generate AVIF where your server supports it, and compress JPEG and PNG entirely on your own server — free, forever. GIF, WebP, and AVIF compression are available via MegaOptim Cloud.
For noticeably better results — including further compression of existing WebP and AVIF images, smarter JPEG/PNG optimization, and broader AVIF support — add a MegaOptim API key. MegaOptim Cloud offloads processing from your server and costs just $54 per year for unlimited sites. Get an API key from the MegaOptim dashboard and see plans at MegaOptim pricing.
What MegaOptim 2.0 Can Do
- Next-gen optimization: Further compress existing WebP and AVIF images through MegaOptim Cloud
- Convert mode: Generate WebP or AVIF versions from JPEG, PNG, and GIF images
- Compress mode: Optimize original images in place (no format change) with local or smart cloud compression
- Media Library view: Process individual images, selected images, or run bulk jobs across the library
- File System view: Browse folders on your server and bulk-process images outside the Media Library
- Upload automation: Automatically convert or compress new uploads in the background
- Delivery settings: Choose Apache
.htaccessrules or PHP passthru rewriting to serve WebP and AVIF - Queue monitor: Watch active jobs, progress, failures, and background processing state
- Tools page: Run restore actions for compressed originals or remove generated WebP/AVIF derivatives
- Restore support: Restore compressed images from backup and regenerate thumbnails
- Logging and diagnostics: Use the built-in log viewer and queue statistics through WP-CLI
- Retina support: Optionally process
@2ximages created by WP Retina 2x or Perfect Images
Originals Preserved
MegaOptim 2.0 keeps your original uploads in place and generates next-gen derivatives alongside them. On the front end, MegaOptim serves the best format the visitor’s browser supports while keeping the original file available as a fallback.
Migration From Older MegaOptim Versions
MegaOptim 2.0 includes background migration for legacy settings and older attachment data. Existing users can upgrade and let MegaOptim migrate data in batches, with progress shown inside the admin UI while migration is running.
