Media Sweep – WordPress Media Cleaner
View on WordPress.orgScores higher than 29% of indexed plugins
About
Clean up your WordPress Media Library by finding and removing unused files. Safely scan, preview, and sweep away orphaned media to keep your site fast …
What It Does
Media Sweep scans your WordPress Media Library to find files that are no longer referenced by any post, page, or product on your site. It presents these orphaned files for preview so you can confirm they are safe to delete before permanently removing them from the server. Essentially, it automates the tedious task of hunting down unused images, PDFs, and other uploads that bloat your storage.
Who It's For
This plugin is best suited for sites that have been around long enough to accumulate significant media cruft, particularly ecommerce stores with frequently replaced product images, news sites with archived content, and agencies maintaining multiple WordPress installs where storage costs add up. It is also useful for photographers and small businesses who have migrated or deleted content over time but never cleaned up the underlying files.
Who Should Skip It
If your site is relatively new, has under a few hundred media items, or you already use a managed host that handles media optimization automatically, you probably do not need this plugin. Developers comfortable running SQL queries or WP-CLI commands to identify orphaned attachments will also find it redundant.
The Bottom Line
Media Sweep delivers a focused, well-maintained solution for finding and removing unused media files, but its tiny install base and lack of any support history mean you are trusting a small, unproven project with a destructive operation. Back up your uploads directory and database before every sweep regardless. At an overall score of 72 out of 100, it is a reasonable option for media cleanup, though not a standout.
Related Plugins
Pick Safe SVG instead if your concern is allowing SVG uploads safely rather than cleaning existing media.
Choose Autoptimize if your priority is front-end performance optimization through script and style aggregation, not media library cleanup.
FileBird is a better pick if you need to organize your media library into folders before cleanup becomes necessary.
WebP Express makes more sense if your storage problem is file size and you want to serve next-gen image formats instead.
Responsive Lightbox is the right alternative if you need improved media display and gallery features rather than deletion tools.