

Media Optimizer overview with Media Library statistics, potential savings and scan status.
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.
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:
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.
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.
Reduce the size of your existing images and, optionally, optimize new uploads as they arrive. AVAR Media Optimizer can:
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.
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.
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.