Your WordPress media, clean and lean.

Media Cleaner finds unused files and broken entries in your Media Library and filesystem, then safely removes them. Works with 90+ plugins and page builders out of the box. Your site deserves a spring cleaning! 🧹

Media Cleaner integrates beautifully with AI Engine. Over MCP, your AI assistant can run a scan, explain why each file was flagged, ignore the false positives and clean up with your approval. Like magic. ✨

Media Cleaner — Dashboard
90,000+ active installs
4.6 average rating
762 reviews

Dual-Scan Technology

Media Library scan finds unused entries. Filesystem scan finds orphaned files. Both together clean your site 100%.

90+ Plugin Integrations

Elementor, Divi, WooCommerce, ACF, Beaver Builder, and dozens more — accurate cleaning across your entire stack.

Safe by Design

Internal trash, reference tracking, and recovery. Review everything before permanent deletion.

Smart Reference Detection

Knows exactly where every file is used — posts, metadata, widgets, page builders, and theme settings.

WP-CLI and Automation

Run scans from the command line for scheduled cleanups and large-scale maintenance.

Trash with Restore

Nothing is gone until you say so. One click puts a file right back.

How Media Cleaner works

Media libraries grow sideways. Images get uploaded for a draft that never shipped, a plugin generates thumbnails nobody asked for, a page builder duplicates the same photo four times. After a few years there is no way to tell by eye which of the 8,000 files in /uploads are still doing something.

Media Cleaner answers that question with two independent scans. The Media Library scan walks every entry in WordPress and asks whether anything still references it: posts, pages, metadata, widgets, theme settings, page-builder layouts. The Filesystem scan works the other way round, reading the actual files on disk and flagging the ones WordPress has no record of at all. Run both and you cover the whole surface, because those two lists rarely overlap.

Nothing is deleted behind your back. Flagged items go to an internal trash first, so you review the list, restore anything that looks wrong, and only then confirm. If a file turns out to be needed after all, it goes back where it was, with its ID intact.

The hard part of this problem is not deleting files, it is knowing what counts as “used”. A photo referenced only inside an Elementor layout, or an ACF field, or a Divi module, is invisible to a naive scan and would be deleted by a careless one. Media Cleaner ships with support for over 90 plugins and page builders, and the Pro version adds the heavier ones: ACF, Metabox, Divi, Avada, WPBakery, Elementor, Beaver Builder, Brizy, Oxygen and Slider Revolution among them.

For large sites there is WP-CLI, so a scan can run over SSH or on a schedule instead of tying up a browser tab. And because Media Cleaner exposes its tools over MCP, an AI assistant can run the scan, explain why a given file was reported, and mark the false positives — while permanent deletion still requires you to say yes.

Back up first. Every honest cleanup tool tells you this, and we mean it: the trash makes mistakes recoverable, but a backup makes them irrelevant.

Free & Pro Versions

Free Version

  • Media Library Scan

    Detect and remove unused media entries like images, PDFs, and other files safely.

  • Powerful Analysis

    Scans your posts, meta, widgets, and more to ensure accurate detection.

Pro Version

  • Everything from the Free Version

  • Filesystem Scan

    Match files in your uploads directory with your Media Library to find unreferenced items.

  • Advanced Plugin Support

    Handles content from page builders, complex plugins, and custom fields with ease.

  • Live Site Scan

    Analyze your live website for even more precise cleaning.

  • WP-CLI Support

    Speed up operations or automate tasks via direct server access.

  • Visit the Pro Version

Screenshots

Reviews from WordPress

Written by @irestorestuff on WordPress Forums

Amazing Premium Version!

Thanks for this plugin. I reduced the size of my website media by an enormous amount and feel like I’ve just de-cluttered my entire house!

Written by @aranbira on WordPress Forums

Very good plugin, well researched

I was very hesitant about using a media cleaner. This one however has been well researched. Even better was the support and quick responses I got to my email queries.

Written by @bdwatt0 on WordPress Forums

Incredible Support

I’ve been using this for years, when all of a sudden, the plugin’s settings screen went blank. I reached out to Jordy, who was quickly able to diagnose the problem, tweak the plugin’s code, and have me back up and running in no time.