MegaOptim Image Optimizer – Convert to WebP & AVIF, Compress Images Locally
Convert images to WebP and AVIF and compress them on your own server. No account, no API key, no image credits, and your images never leave your site.
Safe pick
Yes — MegaOptim Image Optimizer is a safe, well-maintained plugin to use in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 2 months ago, and scores 81/100 on our health check.
- Loved by users — 5/5 from 34 reviews
- Tested with the latest WordPress (7.1)
- Small user base (100+ active installs)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where MegaOptim Image Optimizer stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| AVIF | #31 |
| compress images | #27 |
| image optimizer | #33 |
| optimize images | #65 |
| webp | #53 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 34 reviews
About MegaOptim Image Optimizer
From the official readme · v3.0.0Description
MegaOptim optimizes the images of your WordPress site on your own server. It creates WebP and AVIF copies of your JPEG, PNG and GIF images, serves them to browsers that support them, and can compress the originals in place. Nothing is uploaded anywhere, and there are no monthly limits.
What it does
- WebP and AVIF copies of every image and thumbnail size, kept next to the original. A copy that would be larger than the original is skipped.
- Delivery through
<picture>markup or Apache/LiteSpeed rewrite rules, with the original as the fallback for older browsers. A CDN URL can be set for the copies. - Compression in place for JPEG and PNG, with three presets: Lossless, Balanced and Smaller files. Advanced settings hold separate WebP and AVIF quality, resizing of large uploads, metadata and the thumbnail sizes to process.
- Backups and restore. Originals are backed up before they are changed, and any image can be restored, one at a time or all at once.
- Bulk optimization of the whole Media Library with one button. It runs in the background, survives closing the page, and shows its progress on the Overview and in Activity.
- New uploads are optimized automatically.
- Folders outside the Media Library, such as theme or plugin image folders.
- Compare an original with its optimized version side by side.
- WP-CLI:
wp megaoptim optimize,restore,statusandstats. - Diagnostics that show which image engines your server offers and what each one can do.
How images are processed
MegaOptim uses what your server already has: the GD or Imagick PHP extensions, and command-line encoders such as cwebp, avifenc, jpegtran, pngquant, oxipng or gifsicle when your host has them installed. The plugin itself contains no executables. AVIF needs GD or Imagick built with AVIF support, or avifenc. Tools → Server diagnostics shows what is available on your server.
MegaOptim Pro
MegaOptim Pro is an optional add-on. It brings its own native engine for Linux (MozJPEG, libwebp, libavif, oxipng, pngquant, gifsicle), which compresses noticeably better than GD or Imagick and turns animated GIFs into animated WebP. Its smart quality picks the lowest quality for each image that still looks the same, measured with SSIMULACRA 2. Pro also optimizes media offloaded to S3-compatible storage with S3 Uploads or WP Offload Media, and adds parallel WP-CLI and network-wide tools for multisite. Images are still processed on your server.
Source code
The admin screens are a Vue application. Its source is included in the plugin’s admin folder and is built with bun install && bun run build.
Installation
- Install and activate MegaOptim Image Optimizer.
- Open Media → MegaOptim.
- On Settings, pick a preset and the formats to create (WebP, AVIF or both). Tools → Server diagnostics shows what your server can do.
- Optimize a few images on the Images screen and compare them with the originals.
- Click Optimize library on the Overview to process everything else. New uploads are optimized automatically.
Changelog
MegaOptim now runs entirely on your server, and the cloud API has been retired. Settings, history and backups are kept. If you used an API key, images waiting for the cloud are paused for you to review and resume locally.
3.0.0
- All optimization now runs on your server. The cloud API, API keys and image credits are gone.
- A redesigned admin: Overview, Images, Settings, Activity and Tools, with one Optimize action for compression and WebP/AVIF.
- Settings presets (Lossless, Balanced, Smaller files) with separate WebP and AVIF quality.
- Better JPEG output with Imagick and GD: progressive encoding, optimized Huffman tables, and never a higher quality than the source.
- Originals are backed up before every change, for media and folder images, and restore no longer re-optimizes the restored file.
- Native encoders keep a photo’s embedded color profile, so photos from cameras and editors no longer fall back to Imagick.
- A new background queue: atomic claims, two images at a time, and progress that continues when the page is closed.
- WebP and AVIF copies that would be larger than the original are recorded as such instead of being retried.
- Offloaded media is detected and skipped with an explanation instead of failing.
- WP-CLI:
wp megaoptim optimize,restoreandstatus. - The plugin no longer contains executables; it uses GD, Imagick and tools installed on the server.
- Upgrades from cloud versions keep settings, history and backups, remove the stored API key and pause pending cloud work for review.
2.0.2
- File System view: Convert and Compress now work on folders and single files, with live progress.
- Fix: Convert no longer drops thumbnail siblings. Every thumbnail size now produces its own WebP and AVIF file.
- Fix: forced re-convert kept the freshly converted files instead of wiping them at the end of the run.
- Polished folder modal (mode-aware hero, force re-process toggle, cancel-during-run, per-file failure list).
2.0.0
- Complete refactor of the plugin (Vue 3 admin, modern PHP architecture, new conversion engine for WebP/AVIF, File System view, queue monitor, WP-CLI commands).
- Backwards compatible: legacy v1.x mode remains available and existing settings and attachment data are migrated in the background.
Older versions are listed in changelog.txt.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best MegaOptim Image Optimizer alternatives
All AVIF plugins →FAQ
MegaOptim Image Optimizer: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is MegaOptim Image Optimizer free?
Yes. MegaOptim Image Optimizer is free to download and use from the official WordPress.org plugin directory.
Is MegaOptim Image Optimizer safe to use in 2026?
Yes — MegaOptim Image Optimizer is a safe, well-maintained plugin to use in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 2 months ago, and scores 81/100 on our health check.
How many websites use MegaOptim Image Optimizer?
MegaOptim Image Optimizer is active on 100+ WordPress websites and has been downloaded 14,587 times since it launched in October 2018. It was downloaded 348 times in the last 30 days.
Does MegaOptim Image Optimizer work with WordPress 7.1?
Yes. The developer has tested MegaOptim Image Optimizer up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does MegaOptim Image Optimizer need?
MegaOptim Image Optimizer requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was MegaOptim Image Optimizer last updated?
The latest version, 3.0.0, was released on October 15, 2026 (2 months ago).
Who makes MegaOptim Image Optimizer?
MegaOptim Image Optimizer is developed and maintained by MegaOptim.
What are the best alternatives to MegaOptim Image Optimizer?
The most popular alternatives to MegaOptim Image Optimizer are Optimole (200K+ installs), Modern Image Formats (100K+ installs) and Robin Image Optimizer (90K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
