Image Cleanup will index unreferenced images. These can be leftovers from cropping and scaling images. Stop them cluttering your content folder!
As of April 2026, Image Cleanup is a WordPress clean plugin with 1.0K+ active installations and a 3.5/5 rating from 63 reviews. It has been downloaded 129K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2013. Last updated 8 years ago — may have compatibility concerns. Downloads are up 31% this week. Top alternative: WP-Sweep.
Did you ever scale or crop uploaded images in wordpress? Did you ever try various image generating plugins? Did you ever change or add various media image sizes? If yes, chances are that your content folder is full of unused and unreferenced images. These image leftovers will remain cluttering your content folder until the end of days.
Image Cleanup will index these (and many more) unreferenced images. Unreferenced images are not indexed in the wordpress database and also not used by posts, scripts or backup restore meta data. Please note that images which have valid database metadata but are not used in posts are not indexed at this time. This is beyond the scope of this plugin.
Image Cleanup will also find images without meta data and images with incorrect meta data.
Great Job I love it
Awesome plugin, thank you!
Worked perfectly on an up-to-date WordPress installation.
My site uses a plain old theme, not a page builder, and it does not have any fancy image related plugins (except this).
Indexing, analyzing results, moving, testing, then deleting is a safe way to proceed: Once the files (suggested by the plugin and selected by the user) are “moved” to another folder, one has to verify the integrity of the site by actually browsing it. If everything seems fine, the files can be deleted immediately or at some later point in time. If something gets broken, some or all files can be moved back = full/partial undo. I love how this plugin puts the user in charge.
I also appreciate that this thing detects/reports invalid metadata, too.
Didn’t work
Wow. I’ve been piddling around with my site for months, and really there’s not a great deal to it, just 6 pages. But over those months, I’ve tried an inordinate number of layouts, templates (Elementor) and swapped in and out different images, etc.
I threw this puppy in on a recommendation and found I had 1650+ unused images in the database. Are you NUTS? So I went in and deleted them all. I had to step through 16 pages of lists to delete them all (although each page has a select ALL button for each page), so the process took a few minutes.
I still wasn’t convinced I could possibly have accumulated THAT many images, so to see if there was any difference in the size of my site, I exported the database using All In One Migration (another superb plugin), and LO AND BEHOLD, my database has shrunk from 6000+ files to 4000+ files! But, moreover, the database had shrunk from 378 MB to 275 MB.
The difference in page loading? Not much that I could detect; however, migrating the database was another story: much faster.
Recommend this plugin! Did a great job. Try it. You might find that your ‘innocuously’ small website that you’ve been fussing with over the months has got some serious backend baggage!
| WordPress | 3.0.1+ requiredTested up to 4.8.28 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.