AVAR Media Optimizer
Find unused images and duplicate files, clean your Media Library, compress images and create WebP/AVIF — with a restorable trash.
Use with caution
AVAR Media Optimizer works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 2 months ago, and scores 51/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (10+ active installs)
- Very few reviews so far
- Needs PHP 8.1 or newer
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 AVAR Media Optimizer stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| duplicate images | >100 |
| image optimization | >100 |
| media cleaner | >100 |
| unused media | >100 |
| webp | >100 |
Version adoption
Share of active sites per release.
About AVAR Media Optimizer
From the official readme · v1.23.0Description
Clean up your WordPress Media Library, optimize images and reclaim server space — without taking unnecessary risks.
AVAR Media Optimizer combines a WordPress media cleaner, an image optimizer and a WebP/AVIF converter in one plugin. Find unused images, duplicate uploads and orphan files, reduce image file sizes, and review everything you remove before it is deleted permanently.
Why AVAR Media Optimizer?
- Reclaim storage: Find unused media, duplicate images, stale thumbnails and orphan files in your uploads folder.
- Optimize images: Compress JPEG, PNG and WebP files, scale down oversized uploads and generate WebP or AVIF versions (when your server supports them).
- Clean up with more confidence: Review the scan results and move unwanted media to a restorable trash instead of deleting it immediately.
- Keep control: Restore trashed media and, when an optimization backup is available, undo an image optimization.
- Save maintenance time: Optimize new uploads automatically, schedule scans and let larger jobs run in the background.
- Keep images on your server: Image optimization runs locally; your media is never uploaded to a third-party optimization service.
Find unused images before deleting them
Not sure which images are still in use? The media usage scanner checks for references in posts, pages, featured images, Gutenberg content, WooCommerce galleries, Elementor layouts, ACF fields, metadata, widgets and more.
Instead of calling every unreferenced file safe to delete, it sorts the results into three groups:
- Used — a reference to the file was found.
- Unused — no reference was found.
- Verify manually — the result is uncertain, so the file is never treated as safe to remove automatically. Review these items before a cleanup.
No scanner can detect every reference created by custom code, external systems or unsupported plugins. Always review important files and keep an independent backup before a large cleanup.
Remove clutter beyond the Media Library
Files can remain in wp-content/uploads even when WordPress no longer lists them in the Media Library. The disk scanner helps you find orphan files, leftover thumbnails and other unregistered media, and review them before you act.
The duplicate image finder compares file content, so it detects identical uploads even when their filenames differ. You review the results and decide which copy to keep.
Compress images and convert to WebP or AVIF
Reduce the size of your existing images and, optionally, optimize new uploads as they arrive. AVAR Media Optimizer can:
- Compress JPEG, PNG and WebP images.
- Scale down new uploads that exceed your chosen maximum size.
- Convert eligible images to WebP or AVIF, depending on what your server supports.
- Serve the generated WebP/AVIF images to browsers that support them, with the original format as a fallback, wherever the plugin can update the image markup.
- Keep a backup of the original image so an optimization can be undone (when backup storage is enabled and available).
Smaller image files can reduce bandwidth use and improve loading performance. Results depend on your original images, your server’s image libraries and your website’s configuration.
Clean up safely with a restorable media trash
Removing media can break a page, product or gallery if a reference was missed. That is why AVAR Media Optimizer moves media to a restorable trash before anything is permanently deleted.
Restore files, thumbnails and their WordPress attachment data, choose how long the trash keeps items, and delete permanently only when you are sure.
Extra safety check: While a file is in the trash, the plugin records requests for it that still reach WordPress, and shows the referring page when one is available — a sign that the file is probably still needed. Requests handled entirely by the web server, a cache or a CDN are not seen, so the absence of recorded requests does not prove that a file is unused.
More tools for busy websites
- Media Replace: Replace an image while keeping its WordPress attachment ID, so standard references keep working.
- Scheduled maintenance: Optional weekly scans, scheduled cleanup, trash retention and summary e-mails.
- Bulk and background jobs: Work through large media libraries in manageable batches.
- WP-CLI: Run scans and cleanups from the command line.
- Diagnostics: Check your server’s image capabilities and whether the recovery storage is protected.
Get started in three steps
- Scan your Media Library.
- Review the results.
- Clean up what you no longer need — safely, through the restorable trash.
Privacy
Images are optimized on your own server; no media files or website content are sent to an external service. To confirm that its recovery storage is not publicly accessible, and whether requests for missing files reach WordPress, the plugin sends small requests to your own website. If your uploads are hosted on another domain, such as a CDN or object storage, that domain is contacted only when an administrator runs the external storage test in Diagnostics. While a file is in the trash, requests for it that reach WordPress are counted, and the address of the referring page is stored without its query string; no IP address, browser details or cookies are recorded.
Installation
- Install and activate AVAR Media Optimizer.
- Open Media Optimizer in the WordPress admin menu.
- Run your first media usage scan.
- Review the scan results, especially Verify manually items.
- Configure cleanup, trash retention, optimization and automation according to your website.
Changelog
Adds og:image detection and fixes two critical errors, a case where deleting an image could delete another one, and several cases where media in use could be offered for cleanup. Run a scan after updating.
1.23.0
- Added: images used only as a social share image (og:image) are now detected, including those set in All in One SEO.
- Added: Disk files shows what links to each file, and the page it was found on.
- Added: the trash records when something still asks for a file it is holding, and which page asked.
- Added: the
avar_mo/external_tablesfilter for plugins that keep media references in their own tables. - Fixed: deleting an image, “Delete all next-gen”, Media Replace and full uninstall could delete another image whose file is named like a WebP/AVIF copy (photo.jpg.webp next to photo.jpg).
- Fixed: a critical error with AVAR Analytics 1.2.2 active, and on hosts that disable
disk_free_space. - Fixed: media in use could be offered for cleanup when it was shown only by a gallery, playlist, video or audio shortcode without an ids list or file, or by a gallery shortcode in a widget.
- Fixed: media in use could be offered for cleanup when its use was added after the last scan or during a scan, written as an encoded URL, stored deep in a JSON gallery or saved as a text theme setting, or when a scan was canceled at its last step.
- Fixed: Disk files listed WebP/AVIF copies as orphans, and could trash a copy an image still serves when its list came from a scan made before updating.
- Fixed: on MySQL 8 and newer, one very long value in the database could make every scan fail.
- Fixed: restoring from the trash stripped backslashes from titles, metadata and block content.
- Fixed: moving to the trash and restoring required 500 MB of free disk space, even for a small file.
- Fixed: a move to the trash that another plugin blocked could still remove the attachment’s files.
- Fixed: optimizing an animated PNG or WebP turned it into a still image.
- Fixed: next-gen conversion ignored its quality setting and, on some servers, could write a stray .jpg file.
- Fixed: optimizing on upload discarded image data added by other plugins.
- Fixed: on multisite, uninstall ignored each site’s own “delete plugin data” choice.
- Fixed: Media Replace failed for photos over 2560 px or with EXIF rotation, and did not say why a replace failed.
- Fixed: bulk actions could stop partway or run past PHP time limits without reporting what was left, and the bulk action dropdown below a table was ignored.
- Fixed: the Optimize tab said optimization was paused when “Optimize anyway, without keeping a recovery copy” was selected.
- Fixed:
wp avar-mo trash purgedeleted permanently without asking for confirmation (use--yesto skip the prompt). - Fixed: the explanation of “Verify manually” results could appear in the wrong language, and named reasons that are not plugins as if they were.
- Fixed: PHP warnings when the uploads folder is not writable.
- Note: run a scan after updating.
1.22.4
- Initial WordPress.org release.
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 AVAR Media Optimizer alternatives
All duplicate images plugins →FAQ
AVAR Media Optimizer: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is AVAR Media Optimizer free?
Yes. AVAR Media Optimizer is free to download and use from the official WordPress.org plugin directory.
Is AVAR Media Optimizer safe to use in 2026?
AVAR Media Optimizer works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 2 months ago, and scores 51/100 on our health check.
How many websites use AVAR Media Optimizer?
AVAR Media Optimizer is active on 10+ WordPress websites and has been downloaded 420 times since it launched in August 2026. It was downloaded 99 times in the last 30 days.
Does AVAR Media Optimizer work with WordPress 7.1?
Yes. The developer has tested AVAR Media Optimizer up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.
What PHP version does AVAR Media Optimizer need?
AVAR Media Optimizer requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was AVAR Media Optimizer last updated?
The latest version, 1.23.0, was released on October 17, 2026 (2 months ago).
Who makes AVAR Media Optimizer?
AVAR Media Optimizer is developed and maintained by AVAR Solutions.
What are the best alternatives to AVAR Media Optimizer?
The most popular alternatives to AVAR Media Optimizer are Media Purge (100+ installs), Mediapapa (50+ installs) and Duplicate Media Guard (40+ 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
