Clean up an unused WordPress media library
Media Hygiene Pro helps WordPress site owners find media files that are no longer in use. Its scanner examines the website using multiple techniques, including visualizing images and media in page source code. This approach helps identify files used by builders, plugins, themes, and specialized custom posts.
The result is a more organized media library with a dashboard list of unused files. Each item can be reviewed by occupied space and file type before you decide whether to download it, keep it, or remove it.
Scanning and compatibility
PRO supports a scanning process for media that is not linked to a page, post, or other theme settings. It also provides a one-click scanning process for multiple page builders. Supported environments listed in the source include Gutenberg, Elementor, Bricks, Divi, WP Bakery Page Builder, Beaver Builder, Visual Composer, Avada, Enfold, and Flatsome.
The plugin recognizes major media types stored in the WordPress media library, including PDF, JPG, PNG, GIF, MP4, MP3, CSV, ZIP, RAR, and TXT files. Alternative extension spellings such as JPEG are also covered.
Review, filter, and protect files
Media Hygiene Pro includes advanced filtering to help narrow the cleanup list. You can filter media by year or by type, such as JPG, PNG, GIF, WMV, or MP4. Filtering by file name and date is also available.
Use the whitelist to keep files safe from deletion, including files linked from off-site sources. This is useful when a file does not appear in ordinary on-site content but still needs to remain available.
- Review unused media from the dashboard.
- Filter files by name, date, year, or type.
- Whitelist files that should not be deleted.
- Download unused media individually or by page.
- Use One Shot Download to download all files.
- Use One Shot Removal to remove all files.
Pro tools and practical uses
PRO provides customer support directly from the plugin and faster scanning through WP-CLI, the WordPress command line interface. It also includes support for WooCommerce custom post types, SEO plugins such as All in One SEO and Yoast SEO, and custom field plugins including ACF, Pods, and Custom Field Suite.
The plugin can help before a hosting migration, after a redesign or rebrand, when discontinued products leave media behind, or when a hosting provider reports that storage limits are being reached. It can also help agencies, bloggers, photographers, businesses, and site owners manage media left by old themes, contributors, or guest posts.
Installation and cleanup workflow
Install Media Hygiene Pro on the WordPress website you want to review. Start a scan, open the dashboard results, and use the filters to examine files by name, date, type, year, occupied space, or page. Whitelist files that must remain available, download files you want to retain, and remove selected items or use the one-shot tools when appropriate.