DD DevDome Track. Protect. Grow.
DevDome Media Cleaner WordPress plugin

Clean up unused images with room to undo

DevDome Media Cleaner finds unused images, orphan images and missing media so you can review what needs attention. Move selected files to the Recycle Bin, check your site, then restore them or confirm permanent deletion.

Free and GPL licensed, reviewed by the WordPress.org plugin team.

No account needed for scanning, cleanup and restore
Unlimited free scans and media review
6.0 minimum WordPress version
7.4 minimum PHP version

Review what is unused before removing it

Scan your Media Library and uploads folder, inspect cleanup reasons and review storage use. Selected files move to the Recycle Bin first, giving you time to check your website before permanent deletion.

Find images without detected references

Check common WordPress content, settings, page builders and WooCommerce data for image references. No scanner can detect every custom or hard-coded reference, so review findings before choosing what to clean.

Find orphan images in uploads

Scan the uploads folder for images without a matching Media Library record, including thumbnails left behind by deleted images. The disk scan covers images only; other file types are left alone.

Review reasons and storage use

Inspect unused images, orphan files and missing media in a grid or list. Search filenames, filter by status and sort by size, dimensions or age, then export scan results to CSV.

Recheck files before cleanup

Every selected file is checked again immediately before it moves. Recent uploads and uncertain files are not automatically selected, and review statuses show whether files are Safe to remove, Needs manual review or Protected.

Restore from the Recycle Bin

Move selected files to a local Recycle Bin and restore them to their original locations with one click. Apache and IIS protection rules are bundled; on nginx, add a deny rule yourself.

Back up media before cleaning

Create and download ZIP media backups before cleanup. Upload and restore backups when needed, with backup and restore jobs running on your server and continuing after you close the tab.

Scan in resumable background batches

Scans run in small background batches to reduce memory use and timeout risk. Pause and resume without starting over, or configure scheduled scans. Scheduled scans do not automatically delete media.

Track growth with optional Monitoring

Connect a free DevDome account and enable Monitoring to track media growth across connected sites and receive threshold alerts. It sends aggregate scan statistics, with no media files, filenames, image URLs or visitor data.

From your first scan to reviewed cleanup

Scanning and cleanup work without a DevDome account. Review the results, keep uncertain files for manual review and check your site while cleaned files can still be restored.

  1. 1

    Install and start a scan

    Install and activate DevDome Media Cleaner from WordPress.org. Open DevDome > Safe Media Cleaner and select Scan Media Library.

  2. 2

    Review and move selected files

    Inspect statuses, cleanup reasons and file sizes. Choose individual images or a bulk selection, then move selected files to the Recycle Bin.

  3. 3

    Check your site before deleting

    Check your website while files remain restorable. Restore anything you need to its original location, or confirm permanent deletion to reclaim disk space.

Frequently asked questions

Can it tell whether every image is unused?

No scanner can detect every custom or hard-coded reference. Unattached media can still be used on your site. The plugin checks common reference locations and rechecks selected files before moving them. Uncertain files need manual review and are not selected automatically. Check your site before permanent deletion.

Does it delete images automatically?

Not by default. Scheduled scans never delete media, and Auto-delete from Recycle Bin is a separate setting that is off by default; when you set it, files in the Recycle Bin are permanently removed after the number of days you choose. Nothing is removed until you review results and choose what to clean. Selected files move to the Recycle Bin first. Moving them there keeps them on disk; confirm permanent deletion after checking your site to reclaim that space.

Can I undo cleanup, and what happens if I uninstall?

You can restore files to their original locations with one click while they remain in the Recycle Bin. Restore or permanently delete every batch before uninstalling. Uninstalling removes the plugin tables, leaving the folder in place and making hidden attachments visible again. Files can no longer be restored from the plugin screen.

Does it clean orphan files and find duplicates?

The disk scan finds images in uploads without a matching Media Library record, including leftover thumbnails. Other file types are left alone. Identical copies among the unused images are grouped under Duplicates on the Review screen, with the oldest copy suggested as the original. A used image is never marked as a duplicate, and duplicates are never selected automatically.

Does it work with my page builder or WooCommerce?

It checks data used by Elementor, Divi, Beaver Builder, WPBakery, Bricks, Oxygen, Kadence, GenerateBlocks, Spectra, SeedProd and Thrive. It also checks WooCommerce product, gallery, variation and category images, plus ACF, Meta Box, Yoast SEO, Rank Math and AIOSEO data. Custom or hard-coded references can still be missed.

Will a scan keep running if I close the tab?

Yes. Scans, cleanups, backups and restores run on your server and continue after you close the tab. Reopen the plugin page to see progress. Scans use small, resumable background batches to reduce memory use and timeout risk. You can pause and resume without starting over.

Is it free, and do I need an account?

Scanning, review, reports, the Recycle Bin, restore, ZIP backups, scheduled scans, CSV export and WP-CLI commands are free and unlimited. No account is required for local media management. A free DevDome account is required only for optional Monitoring, which tracks media growth and sends alerts at your chosen threshold.

Does my media leave my server?

Scanning, cleanup, backups and restore run locally. Optional account connection sends connection details; Monitoring sends aggregate statistics, never media files, filenames, image URLs or visitor data. The plugin catalog fetch sends only the bundled core version. Pressing Report this error sends error and version details, screen, site address and admin email.

Documentation

Installation, settings, data use and troubleshooting, before you install.

Installing

Install DevDome Media Cleaner from WordPress.org through Plugins, Add New, search for DevDome Media Cleaner, or upload the ZIP, then activate it.

No DevDome account is needed to scan, review, report on, back up, remove, restore or permanently delete unused media. A free DevDome account is required only for optional DevDome Monitoring.

Setting it up

Open DevDome > Safe Media Cleaner in the admin menu and select Scan Media Library. Review the results and move selected files to the Recycle Bin. Check your site, then restore anything you need or confirm permanent deletion.

In Settings, configure scheduled scans, retention and protection rules. Scheduled scans do not automatically delete media. Recent uploads and uncertain files are not automatically selected for cleanup.

To track media-library growth across connected sites, connect a free DevDome account and enable optional Monitoring. Choose the unused-media alert threshold and email frequency.

On multisite, each site keeps its own scans, Recycle Bin, backups and settings. On WordPress 6.9 or newer, WordPress Abilities let AI agents and MCP clients (through the WordPress MCP Adapter) review results, run scans, clean up, restore files and manage settings under the same permissions; irreversible actions need an explicit confirmation.

Install from WordPress.org and review unused images

Install DevDome Media Cleaner from WordPress.org, open DevDome > Safe Media Cleaner and select Scan Media Library. No account is required.

More from the DevDome suite

All plugins
DevDome Analytics: Bot Traffic vs Human Traffic Website Statistics
Visitor tracking statistics: site stats, visitor stats, pageviews, sources, bot detection and outbound click reports. Free DevDome account required.
DevDome Bot Protection: Bot Blocker and AI Crawler Control
Detect scanners and unwanted bots, control AI crawler access and review caught requests in Record Bots before turning on blocking, without CAPTCHAs.
DevDome Malware Scanner - WordPress Malware Removal & Security Scanner
Scan for backdoor and webshell patterns. Review findings, quarantine files and repair eligible WordPress core and official plugin packages.