The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
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_postmeta or wp_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

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.

  • Passes every health check below.
3/3

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
Active installs
Fewer than 10 WordPress.org rounds this down
This week
14 downloads −33% vs the week before
Last 30 days
66 downloads 2 a day, typically
All time
335 downloads On WordPress.org since 2026
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
14
Typical week
12
Peak
47 Week of Aug 17
View as table
WeekDownloads
Week of Nov 2314
Week of Nov 1621
Week of Nov 910
Week of Nov 215
Week of Oct 2612
Week of Oct 1910
Week of Oct 1215
Week of Oct 512
Week of Sep 2815
Week of Sep 2112
Week of Sep 1413
Week of Sep 710
Week of Aug 3119
Week of Aug 242
Week of Aug 1747
Week of Aug 1011
Week of Aug 38
Week of Jul 2712
Week of Jul 205
Week of Jul 1314
Where it stands Rank among the plugins WPFolks tracks every day.

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.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Proudly supported by