AVAR Media Optimizer helps you take control of a growing WordPress Media Library without turning cleanup into a risky guessing game.
Find media that appears unused, discover orphan files outside the Media Library, detect duplicates, optimize images, generate modern WebP or AVIF versions, and safely move unwanted media to a restorable trash before deleting it permanently.
Everything is designed around one principle:
Free up storage and improve your media library without taking unnecessary risks with your files.
Over time, WordPress websites collect images and files that may no longer be needed. The difficult part is knowing which ones are actually safe to remove.
AVAR Media Optimizer scans common WordPress references and classifies media into clear groups:
The scanner checks many common locations, including:
No WordPress plugin can understand every custom theme, page builder or plugin ever created. When AVAR Media Optimizer is not confident, it prefers to ask for manual verification rather than make an aggressive cleanup decision.
Cleaning a Media Library should not mean permanently deleting something with one click.
Media can be moved to a protected plugin trash first, together with the data needed for recovery.
You can:
The plugin includes additional safeguards around destructive operations to reduce the chance of overwriting or deleting unrelated files.
Not every file inside wp-content/uploads belongs to a valid Media Library attachment.
The disk scanner can help identify:
Detected files can be reviewed before any action is taken.
Duplicate uploads can quietly consume a large amount of storage.
AVAR Media Optimizer detects duplicates by comparing file content rather than relying only on filenames.
This makes it possible to discover identical files even when they were uploaded under different names.
Reduce image size directly on your WordPress server.
AVAR Media Optimizer does not upload your images to an external optimization service.
Depending on the image libraries available on your hosting environment, the plugin can:
Available formats and optimization results depend on your server’s PHP image-processing libraries, memory and available resources.
Modern image formats can significantly reduce image size while maintaining visual quality.
AVAR Media Optimizer can generate WebP and AVIF versions when your server supports them.
The Diagnostics screen shows which image formats are available on your hosting environment.
Need to update an image that is already used across your website?
The Media Replace tool lets you replace the physical files of an attachment while keeping the same WordPress attachment ID.
Standard WordPress references can therefore continue pointing to the same attachment.
For larger websites, media maintenance does not need to be entirely manual.
AVAR Media Optimizer supports recurring maintenance workflows such as:
WP-CLI commands are also available for administrators who prefer command-line workflows.
Media cleanup is a destructive task, so AVAR Media Optimizer deliberately uses a cautious approach.
Depending on the operation, the plugin uses safeguards such as:
Before performing a large cleanup on any production website, we still recommend keeping an independent website and uploads backup.
Your images are processed locally on your WordPress server.
AVAR Media Optimizer does not send media files or website content to an external image optimization service.
The plugin can perform a small request to your own website to verify that its recovery storage is not publicly accessible.
If your uploads are hosted on another domain, such as a CDN or object storage service, the plugin does not contact that external domain automatically. An external storage test is performed only when an administrator explicitly requests it from Diagnostics.