🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
MegaOptim Image Optimizer – Convert to WebP & AVIF, Compress Images Locally icon
Actively maintained Tested with WP 7.1 #22 in AVIF

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.

Active installs100+100+ tier
Downloads · 30d348▼ -14.1% vs prev. 30d
Rating5/534 reviews
Health score81/100Excellent
All-time downloads14.6KSince Oct 2018
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d103▲ +24.1% week over week
Our verdict

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 & support

Daily downloads

183654Sep 4Oct 18Dec 2
Yesterday20
Daily average (1y)6
Peak day152Apr 19, 2026
Last 12 months2.1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where MegaOptim Image Optimizer stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
AVIF #31 715 Best AVIF plugins →
compress images #27 453 Best compress images plugins →
image optimizer #33 940 Best image optimizer plugins →
optimize images #65 1,940 Best optimize images plugins →
webp #53 1,815 Best webp plugins →

Version adoption

Share of active sites per release.

  • 3.057.5%
  • 1.426.7%
  • 2.015.8%

Rating breakdown

★★★★★★★★★★ 5 from 34 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About MegaOptim Image Optimizer

From the official readme · v3.0.0

Description

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, status and stats.
  • 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

  1. Install and activate MegaOptim Image Optimizer.
  2. Open Media → MegaOptim.
  3. On Settings, pick a preset and the formats to create (WebP, AVIF or both). Tools → Server diagnostics shows what your server can do.
  4. Optimize a few images on the Images screen and compare them with the originals.
  5. 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, restore and status.
  • 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.

Full changelog on WordPress.org →

Screenshots

Overview: library coverage, space saved and one button to optimize the whole library.
Overview: library coverage, space saved and one button to optimize the whole library.
Images: every image with its savings and formats, filterable by status and source.
Images: every image with its savings and formats, filterable by status and source.
Compare an original with its optimized version.
Compare an original with its optimized version.
Settings: a quality preset, the formats to create and optimization of new uploads.
Settings: a quality preset, the formats to create and optimization of new uploads.
Advanced settings: WebP and AVIF quality, resizing and metadata.
Advanced settings: WebP and AVIF quality, resizing and metadata.
Activity: background work as it happens.
Activity: background work as it happens.
Tools and diagnostics: restore everything, and see what your server can do.
Tools and diagnostics: restore everything, and see what your server can do.

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.

Active installs badge Rating badge Health score badge

Best MegaOptim Image Optimizer alternatives

All AVIF plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization Optimole Automatically optimize images with bulk compression, lazy loading, WebP/AVIF conversion &… by Optimole 200K+ ★★★★★★★★★★ 4.7 (642) 1 week ago 95
2 Modern Image Formats Modern Image Formats Converts images to more modern formats such as WebP or AVIF during upload. by WordPress Performance Team 100K+ ★★★★★★★★★★ 3.6 (27) 3 months ago 64
3 Robin Image Optimizer – Unlimited Image Optimization, WebP & AVIF Robin Image Optimizer Unlimited automatic image optimization for WordPress. Compress images, convert to WebP, and… by Themeisle 90K+ ★★★★★★★★★★ 4.4 (134) 2 weeks ago 93
4 Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF Perfect Images: Regenerate Thumbnails, Image Sizes, WebP &… Optimize image sizes, regenerate thumbnails, enable retina, convert to WebP/AVIF, or use… by Jordy Meow 60K+ ★★★★★★★★★★ 4.8 (280) 3 weeks ago 94
5 CompressX — AVIF & WebP Converter, Media Replacement CompressX — AVIF & WebP Converter, Media Replacement AVIF & WebP converter with built-in media replacement for local image optimization. by CompressX 40K+ ★★★★★★★★★★ 5 (202) 2 months ago 91
6 LWS Optimize – All-in-One Speed Booster & Cache Tools LWS Optimize – All-in-One Speed Booster & Cache Tools All-in-one speed optimization: caching, WebP/AVIF, Critical CSS, lazy loading, CDN, and… by Aurélien LWS 20K+ ★★★★★★★★★★ 4.6 (9) 1 week ago 72
7 Kraken.io Image Optimizer – Compress, Convert to WebP & AVIF, Resize & Bulk Optimize Kraken.io Image Optimizer Optimize images automatically — compress, resize and convert to WebP, AVIF & more with… by Kraken.io 10K+ ★★★★★★★★★★ 4.5 (119) 2 weeks ago 83
8 ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization ShortPixel Adaptive Images Start serving properly sized, smart cropped & optimized images, plus CSS, JS and fonts from… by ShortPixel 10K+ ★★★★★★★★★★ 4.8 (146) 3 weeks ago 89
9 QuickWebP – WebP & AVIF Image Optimizer, Compression & SEO for WordPress QuickWebP QuickWebP converts JPG and PNG to WebP, compresses images locally, improves image SEO, and… by Ludwig You 8K+ ★★★★★★★★★★ 4.8 (20) 3 weeks ago 92
10 Plus WebP or AVIF Plus WebP or AVIF Generate WebP or AVIF. by Katsushi Kawamori 5K+ ★★★★★★★★★★ 4.6 (26) 1 week ago 87

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

↑↓ to move↵ to open