HXMC — Smart Media Cleaner
Code-first media library cleanup: find unreferenced images, rename non-ASCII filenames safely, convert to WebP. No external services.
Use with caution
HXMC — Smart Media Cleaner works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 54/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where HXMC — Smart Media Cleaner stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cleanup | >100 |
| compression | >100 |
| media | >100 |
| rename | >100 |
| webp | >100 |
About HXMC — Smart Media Cleaner
From the official readme · v0.3.11Description
HXMC keeps your media library tidy with three focused tools — and an honest scope for each.
1. Usage scan (read-only)
Detects references to each image in featured images, post content (all intermediate sizes covered), custom fields, and widgets/options. Images with no detected reference are flagged as “No reference found” — deliberately not “unused”, because the scanner cannot see theme/CSS hardcoded URLs, serialized page-builder data, or external sites. This version never deletes anything. The list is there to inform your own decision.
2. Safe rename for non-ASCII filenames
Japanese (or any non-ASCII) filenames cause percent-encoded URL mess and occasional server-side trouble. HXMC renames the original file and every intermediate size on disk, rewrites URLs in post content and custom fields, and registers a 302 fallback redirect for the old URL — so nothing breaks even where a reference could not be rewritten. Redirects fire only on 404, costing nothing on normal requests. GUIDs are left untouched, per WordPress convention.
3. WebP conversion with built-in compression
Generates .webp twins for the original and all sizes using GD or Imagick — entirely on your server, no external API. Compression is simply the WebP quality setting (default 82): one knob, not two features. Originals are kept on disk as insurance, references are rewritten to .webp, and old URLs get the same 302 fallback. Already-WebP files, SVGs, and animated GIFs are honestly refused rather than silently mangled.
For the ~2% of browsers without WebP support, HXMC writes Accept-header fallback rules to uploads/.htaccess (Apache/LiteSpeed): requests for .webp from non-supporting browsers are transparently served the kept original, with Vary: Accept so caches stay correct. On Nginx, where plugins cannot write server config, the admin page shows an equivalent copy-paste snippet instead.
4. In-place compression (overwrite mode)
Re-encodes JPEG (quality knob, shared with WebP — one quality concept) and losslessly recompresses PNG, overwriting the same filename so URLs never change and no database rewrite is needed. Files are overwritten only when the result is smaller; otherwise the original bytes are kept. This is lossy for JPEG and irreversible — the confirm dialog says so plainly, and no backups are made (doubling disk usage would contradict the point of a cleanup plugin). JPEG metadata (EXIF) is stripped as part of the diet when Imagick is available.
5. Media replace (same filename, fresh cache)
Upload a new file over an existing attachment: the filename — and therefore every URL — stays identical, thumbnails are regenerated (old size files are cleaned up, stale size references in content are healed), and references get a ?v={timestamp} cache-busting parameter so browsers and CDNs fetch the new bytes immediately. WebP twins and compression state are reset, with content references rewritten back and 302 entries covering stragglers. Same MIME type only — keeping a .jpg name on PNG bytes would be a lie.
Design principles (HX Series)
* Admin-only. Zero JavaScript, zero markup, zero cookies added to your visitors’ pages. The only front-end footprint is a 404-time redirect lookup.
* No external services. Image processing is local GD/Imagick.
* 302 only — never 301 — so redirects are never cached into permanence.
* Fires hxmc_after_rename and hxmc_after_convert actions for integration (e.g. HXMD — Markdown Log Manager).
Changelog
0.3.11
- Security hardening: every file operation (compress, rename, convert, replace) now validates that paths derived from attachment metadata resolve inside the uploads directory (validate_file + realpath containment), refusing tampered _wp_attached_file or size entries.
0.3.10
- Removed bundled translation files and load_plugin_textdomain() per WordPress.org review; translations will be provided via translate.wordpress.org.
0.3.9
- Fix: WebP twins are now served for metadata-driven output too (featured images, theme templates, render-time srcset). Previously only URLs stored in content were rewritten, so themes calling wp_get_attachment_image() kept serving originals.
0.3.8
- Packaging: distribution ZIP now excludes repository-only files (CLAUDE.md); ai-reference.md and llms.txt carry synced version headers.
0.3.7
- Bundled ai-reference.md and llms.txt (AI-facing documentation, series convention).
0.3.6
- Plugin Check: annotated the read-only use of core’s big_image_size_threshold filter.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best HXMC — Smart Media Cleaner alternatives
All cleanup plugins →FAQ
HXMC — Smart Media Cleaner: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is HXMC — Smart Media Cleaner free?
Yes. HXMC — Smart Media Cleaner is free to download and use from the official WordPress.org plugin directory.
Is HXMC — Smart Media Cleaner safe to use in 2026?
HXMC — Smart Media Cleaner works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 54/100 on our health check.
How many websites use HXMC — Smart Media Cleaner?
HXMC — Smart Media Cleaner is active on <10 WordPress websites and has been downloaded 346 times since it launched in July 2026. It was downloaded 87 times in the last 30 days.
Does HXMC — Smart Media Cleaner work with WordPress 7.1?
Yes. The developer has tested HXMC — Smart Media Cleaner up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.
What PHP version does HXMC — Smart Media Cleaner need?
HXMC — Smart Media Cleaner requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was HXMC — Smart Media Cleaner last updated?
The latest version, 0.3.11, was released on August 20, 2026 (4 months ago).
Who makes HXMC — Smart Media Cleaner?
HXMC — Smart Media Cleaner is developed and maintained by youheiokubo.
What are the best alternatives to HXMC — Smart Media Cleaner?
The most popular alternatives to HXMC — Smart Media Cleaner are WP-Sweep (100K+ installs), Simple Revisions Delete (10K+ installs) and Delete Duplicate Posts (10K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
