Your WordPress media, clean and lean.

Media Cleaner finds unused files and broken entries in your Media Library, then safely removes them. It understands 7 popular plugins out of the box, and Pro reads 69 more, page builders included. 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. ✨

90,000+ active installs
4.6 average rating
777 reviews

Pro adds the filesystem scan, support for close to 70 page builders and plugins, the duplicate finder and WP-CLI.

Dual-Scan Technology

The Media Library scan finds unused entries. The filesystem scan (Pro) finds orphaned files in your uploads folder.

Close to 70 Integrations

Elementor, Divi, ACF, WPBakery, Bricks, Beaver Builder and dozens more are read by Pro, so their images are never flagged.

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.

Did you know?

Media Cleaner Pro knows where 76 plugins, themes and page builders hide their images, so it won’t flag what they still use.

Nothing is deleted straight away. Files go to its own trash first, so undoing a mistake takes one click.

It has been cleaning WordPress media libraries for more than ten years.

How Media Cleaner works

Video How to safely clean your WordPress Media Library Watch on YouTube

After a few years, nobody can tell which of the 8,000 files in /uploads still do something. Media Cleaner can, with two scans that cover the whole surface.

  • Media Library scanChecks whether anything still uses each entry: posts, widgets, theme settings, builder layouts.
  • Filesystem scanFinds the files on disk that WordPress has no record of.
  • Internal trashReview first, restore anything with its ID intact, then confirm.
  • Knows your builders7 plugins in the free version (WooCommerce, Yoast…) and 69 more in Pro: ACF, Elementor, Divi, Avada, WPBakery and more.

Big site? Run the scans with WP-CLI. Over MCP, an AI assistant can run a scan and explain each result, while permanent deletion still needs your yes. Back up first: the trash makes mistakes recoverable, a backup makes them irrelevant.

Needs WordPress 6.0 and PHP 8.1 or newer, and AI Engine (free) for the MCP tools. Using a page builder? The free scan tells you when it can’t read it.

Free & Pro Versions

Free Version

  • Media Library Scan

    Find unused images, PDFs and other media in your library.

  • Smart Analysis

    Checks posts, custom fields, widgets and the Customizer before calling anything unused.

  • Safe Trash

    Everything goes to an internal trash first, so any file is one click from coming back.

  • AI Assistant Ready

    Let Claude or ChatGPT run the scan and clean up, through AI Engine’s MCP.

Pro Version

  • Everything from the Free Version

  • Page Builder Support

    Reads Elementor, Divi, ACF, WPBakery, Bricks and close to 70 builders and plugins, so their images are never flagged.

  • Filesystem Scan

    Finds files sitting in /uploads that the Media Library doesn’t know about.

  • Duplicate Finder

    Spots identical files uploaded more than once.

  • Optimize Thumbnails

    Creates missing thumbnails and lists the ones made for sizes your site no longer uses.

  • WP-CLI

    Run scans and cleanups from the command line, at full speed or on a schedule.

  • Get Pro, from $39/year

Screenshots

Media Cleaner — DashboardMedia Cleaner — Scan SettingsMedia Cleaner — Advanced Settings

Reviews from WordPress

Written by @irestorestuff on WordPress Forums

Thanks Media Cleaner!

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.