Quilio Media Cleaner – Remove Unused Media Safely
Find media files your site does not use and free up space safely: a scan on your own server and a quarantine you can restore from.
Install in
Free up disk space without breaking your site.
Most sites keep hundreds of images nobody sees: photos removed from posts, old theme images, test uploads. Quilio Media Cleaner finds them, and cleans them up in a way you can undo.
Built around one rule: never lose a file that is used
- Looks everywhere. Post content, blocks and shortcodes, featured images, galleries (also classic
[gallery]shortcodes without ids), custom fields (ACF fields from the database, PHP or acf-json, and others), page builders that store layouts as JSON (Elementor, Bricks, Beaver Builder…), WooCommerce products and categories, widgets, site icon and logo, Customizer settings, term descriptions, comments, user profiles, tables of other plugins (sliders, forms) and the files of your theme. - Understands URLs. Image sizes (
-300x200, also sizes that are no longer in the metadata),-scaledoriginals, WebP and AVIF copies made by WordPress or image optimizers, relative URLs, CDN hosts and URLs escaped in JSON all count as uses of the right file. - Says when it is not sure. A number in a field named like an id (
related_id) may point to a file or not: such files are listed as possibly used, apart from the clearly unused ones. - Quarantine, not delete. Files are moved to a protected folder and hidden from the Media Library. Browse your site, and restore anything in one click. Delete permanently only from the quarantine, when you are sure.
- Checks again right before moving. Content written after the scan is searched once more; files mentioned anywhere stay where they are.
- Never touches shared files. Files used by another Media Library item (translations of WPML or Polylang, duplicated posts) are not moved or deleted.
- Recent uploads are safe. Files uploaded in the last 7 days (you choose) are never suggested: they may be waiting for a draft.
- Cloud storage aware. When media are offloaded to S3 or other cloud storage by a known plugin, nothing is moved.
- Runs on your server. No account, no cloud scan, no tracking. The scan runs in the background in small steps, so even large sites stay fast.
- Quiet. No dashboard ads, no nagging banners.
Free features
- Full scan of the site with progress, in the background.
- Lists: unused, possibly used, used, kept, recent uploads, missing files (in the Media Library but not on the server).
- “Used in” for every file: the posts, fields and settings that use it, with links.
- Filter by type (images, videos, audio, documents), search, sort by size or date, select all.
- Move to the quarantine, restore, delete permanently, empty the quarantine — one file or thousands.
- Keep files you want to keep forever; exclude paths (“logo”, “2019/”).
- Site Health test for missing files.
- WP-CLI:
wp quilio-mc scan,status,list,quarantine,restore. - Editors can be allowed to use it; settings stay with administrators.
Pro features
Quilio Media Cleaner Pro adds:
- Files on disk that are not in the Media Library: thumbnails of deleted images, failed uploads, files copied by FTP. WebP/AVIF and retina copies of library images are recognized and kept.
- Duplicates: the same file uploaded several times. Keep one; posts, featured images and galleries switch to it, and the copies become unused.
- Leftover image sizes of themes and plugins you no longer use.
- Replace a file from the Media Library: upload a new version and keep the file name and address (every link keeps working, sizes are made again), or use the new file name and let the plugin update the links in posts, fields and settings. The media item keeps its id, title and alt text; the previous file is kept and comes back with one click.
- Scheduled scans (daily, weekly, monthly), an e-mail when new unused files appear, and automatic emptying of the quarantine after a number of days.
- CSV export of any list.
External services
The free version makes no requests to other sites.
Freemius (https://freemius.com) handles purchases and licenses of Quilio Media Cleaner Pro. The free version does not contact Freemius on its own: there is no opt-in screen and no usage tracking. Freemius is contacted only when you open the Pro pricing page, buy Pro or activate a license key. Then the data needed for the license is sent: site address, WordPress and plugin versions, the license key and the email address you enter. Terms: https://freemius.com/terms/ · Privacy policy: https://freemius.com/privacy/
Source code
The admin interface is built from the React sources included in the plugin (assets/src) with @wordpress/scripts. To rebuild the scripts in build, run npm ci and npm run build in the plugin folder (package.json and babel.config.js are included).
Third-party libraries
- Action Scheduler by Automattic (GPLv3), https://actionscheduler.org/ — background processing.
- Freemius WordPress SDK (GPLv3), https://github.com/Freemius/wordpress-sdk — licensing of the Pro version.
Written by Joobi from the project's own listing. See the source page
0.2.0
- Improved: fewer files wrongly listed as unused. Tested on a demo site with Elementor, WooCommerce, ACF, the Customizer, widgets, menus and block theme templates. Now also recognized: image sizes that are not in the metadata (another theme, regenerated thumbnails, resize services), WebP/AVIF copies of image optimizers (
photo.webp,photo.jpg.webp), classic[gallery]and[playlist]shortcodes without ids (they show the files attached to the post),[gallery include="…"], links to attachment pages, ACF fields registered in PHP or acf-json, Elementor carousels that store only the id. - Pro: Replace file. Upload a new version of a media file: keep the file name and address, or use the new name and update the links found by the scan. The previous file is kept in the quarantine folder and can be restored with one click.
0.1.4
- New: the first scan starts by itself after activation, in the background. Nothing is moved or deleted until you choose. A note on the Plugins screen links to the results.
- New: links to the other free Quilio plugins under the plugin page (only those you do not have yet).
0.1.3
- Fixed: the “See plans” button could open a “page not found” screen. It now opens the Pro checkout in a new tab.
0.1.2
- Requires WordPress 6.9 (Action Scheduler 4.2).
- Plugin language can be chosen for each user. Pro includes translations into 10 languages.
0.1.1
- The message after moving or restoring files says why a file stayed where it was.
- A failed move leaves no empty folder in the quarantine.
0.1.0
- First release.
Follow this listing's changes (Atom feed)