- Last updated
- 3 months ago
- Version
- 1.0.1
- Tested up to
- WP 7.1.5
About this plugin
HK Media Optimizer scans your WordPress Media Library and tells you exactly which files are no longer used anywhere on your site, so you can safely delete them and reclaim disk space.
Unlike heavier media-cleaning tools, HK Media Optimizer is built around a simple rule: never do more work in one request than necessary. Every scan runs in small, configurable batches over AJAX, so it works comfortably even on modest shared hosting.
Where it checks for usage:
- Post and page content
- Featured images
- Direct attachment relationships (files uploaded into a post)
- Custom fields / post meta
- Advanced Custom Fields (ACF) values, if ACF is active
- Widgets, including block-based widgets
- Theme Customizer settings (logo, background, header image)
- Site icon
Built for control:
- Turn any scan source on or off
- Protect recently uploaded files with a configurable safety window
- Whitelist specific files or whole folders
- Exclude file types you never want flagged (PDFs, ZIPs, etc.)
- Adjust batch size to match your server’s resources
- Optional “type DELETE to confirm” safeguard before permanent removal
Find duplicate files:
- Compares every file in your library by its actual contents (not just filename), so true duplicates are found even if they were re-uploaded under a different name
- Groups duplicates together and shows how much space each group is wasting
- Always keeps at least one copy from every group — server-side, even if you select every file in a group for deletion
Export & reporting:
- Export your unused, in-use, or full scan results to a CSV file at any time
- Optional scheduled scans (daily/weekly/monthly) with an email summary report — nothing is ever deleted automatically by a scheduled scan
Lightweight by design:
- No data is sent to any external server — everything runs locally on your site
- Scan results are stored in their own dedicated database tables, not in
wp_postmetaorwp_options, so your site’s core tables stay fast - Assets (CSS/JS) only load on the plugin’s own admin screens, never elsewhere in wp-admin
- No background cron jobs running on a schedule unless you explicitly turn on Scheduled Scans in Settings
Screenshots
Scanner page with real-time progress tracking, summary cards, and scan status for unused media files.
Unused Media page listing all unused attachments with bulk actions, file details, and safe deletion options.
In-Use Media page showing media currently referenced across your website, along with the exact usage location.
Duplicate Finder displaying grouped duplicate files, reclaimable storage space, and tools to safely remove redundant copies.
Settings page with configurable scan sources, post status filters, safety rules, performance tuning, scheduled scans, and deletion safeguards.
Analytics
Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.
- Passes every health check below.
Health checks
Everything a careful site owner looks at before installing.
- Actively maintained Last release 3 months ago
- Tested with current WordPress Tested up to 7.1.5
- Support questions answered Nothing open in the last two months
- Well rated No ratings yet
- Latest week
- 14
- Typical week
- 12
- Peak
- 47 Week of Aug 17
View as table
| Week | Downloads |
|---|---|
| Week of Nov 23 | 14 |
| Week of Nov 16 | 21 |
| Week of Nov 9 | 10 |
| Week of Nov 2 | 15 |
| Week of Oct 26 | 12 |
| Week of Oct 19 | 10 |
| Week of Oct 12 | 15 |
| Week of Oct 5 | 12 |
| Week of Sep 28 | 15 |
| Week of Sep 21 | 12 |
| Week of Sep 14 | 13 |
| Week of Sep 7 | 10 |
| Week of Aug 31 | 19 |
| Week of Aug 24 | 2 |
| Week of Aug 17 | 47 |
| Week of Aug 10 | 11 |
| Week of Aug 3 | 8 |
| Week of Jul 27 | 12 |
| Week of Jul 20 | 5 |
| Week of Jul 13 | 14 |
Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
