Media Cleaner for WP Lets You Get Rid of Unused Files
Those of you who have been updating your WordPress website for a few years have probably uploaded a ton of images and videos already. Our sites go through changes over the years, which could lead to unnecessary bloat and less than optimized media library. Plugins such as Media Cleaner can help address that.
This plugin can help find the media files that are not used in your posts and gallery. It moves those files into trash temporarily to make sure nothing is broken permanently. Of course, you should always have a clean backup of your content just in case something goes wrong.
You do have the option to analyze posts, widgets, galleries, and post meta to look for links. The pro version of this plugin allows you to scan the entire uploads folder and find files that are not registered in your library.