Oli Media Cleaner
Find unused media, move them to a safe trash, restore anytime. Local only: no ads, no tracking, nothing sent out.
Solide Wahl
Oli Media Cleaner is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 1 week ago, and scores 72/100 on our health check.
- Aktiv entwickelt — letztes Update vor 1 Woche
- Getestet mit dem neuesten WordPress (7.1)
- Kleine Benutzerbasis (100+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Oli Media Cleaner stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Aufräumen | >100 |
| images | >100 |
| media library | >100 |
| trash | >100 |
| unused media | #52 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Oli Media Cleaner
From the official readme · v2.0.1Beschreibung
Oli Media Cleaner finds the files of your media library that your site no longer uses, and lets you clean them up in five calm steps:
- Scan. Nothing is changed during a scan. It runs in small steps, shows a progress bar, and can be paused and resumed.
- Review. Look at the list (search, filters, sort, CSV export). Keep any file you want to protect.
- Trash. Move the files you do not need to the plugin’s trash. Your site is checked again, file by file, just before each move. The files really leave your site: they are moved into a protected folder, so an image your site still needs shows up as missing and you can see it.
- Restore. Changed your mind, or an image is missing on your site? Restore it from the trash in one click. The files go back to the same paths, byte for byte. You can restore at any time: nothing in the trash is ever deleted by WordPress or by this plugin on its own.
- Empty the trash. Only files in the trash can be deleted permanently, and the plugin asks for confirmation first. Emptying the trash is the only step that erases files.
How the trash works
- Moved, not flagged. Trashing a media moves its original file, the “-scaled” version, the original image, every generated size, the backup sizes and the
.webpand.avifcopies that exist on disk towp-content/uploads/olimc-trash/. The media disappears from the Media Library while it is in the trash. - Exact restore. A manifest keeps the original path, size and MD5 of each moved file. Restoring checks the files, puts them back at the same paths and shows the media again. If a file with the same name was created in the meantime, nothing is overwritten and you get a clear message.
- All or nothing for each media. If one file cannot be moved, the files already moved for that media are put back. If the uploads folder is not writable, the media is left as it is and you are told. If a request stops in the middle (time limit, memory, crash), the files are put back, or the next try finishes the job; no file is lost.
- Shared files stay. A file that another media entry also uses is left in place, and the plugin never deletes it while the other one needs it.
- Protected folder. The trash folder has an empty
index.php, an.htaccessthat denies access, and a random name that cannot be guessed. Nginx ignores.htaccess: there, the random name is the protection. The Trash tab shows previews through an admin-only address; the real location is never written in the page. - Empty = permanent. Emptying the trash deletes the media and its files for good, after a last live check of your site.
- Multisite. Each site has its own trash folder, inside its own uploads folder.
What is read during a scan
- Post and page content (all post types, blocks and classic editor), excerpts
- Featured images, site logo and site icon
- Custom fields: ACF (image, file, gallery, repeater, flexible content, group, clone, options pages) and other post, term, user and option metadata
- WooCommerce product galleries and variations, Elementor data
- Widgets, term thumbnails and term descriptions
- Theme files and CSS (hard-coded image references)
What is not read
- Files used only by a plugin that stores its data outside the WordPress database, in a format the scan cannot understand. When the plugin detects such a plugin, it tells you on the screen.
- Anything on another site, a CDN or a remote storage.
Back up your site before cleaning. The trash keeps your files, but it is not a backup.
Built to be quiet and safe
- No ads, no upsell, no rating request, no tracking, no remote call: nothing leaves your site.
- Native WordPress screens (list table, tabs, notices), keyboard friendly, readable with a screen reader, usable on a phone.
- The scheduled scan only refreshes the list. It never moves or deletes anything.
- WordPress never purges the trash of this plugin (no 30-day countdown,
EMPTY_TRASH_DAYShas no effect on it). - A file used by two media entries is never deleted while the other one needs it.
- Fully translated: French (Canada and France).
Installation
- Upload the
oli-media-cleanerfolder to/wp-content/plugins/, or install it from the Plugins screen. - Aktivieren Sie das Plugin.
- Open Media > Media Cleaner and click Start scan.
Änderungsprotokoll
New interface and a new trash. Your list of kept media is carried over. Run a new scan after updating: the previous results are dropped. Requires WordPress 5.8+.
2.0.1
- FIX: On a narrow screen, hide the “Preview” column label that WordPress draws over the thumbnail (it was truncated to “Pr…”, or “Ap…” in French).
2.0.0
- NEW: Redesigned screen on native WordPress components: tabs “To review”, “Kept”, “Trash” and “Settings”, WordPress list table with screen options, notices instead of pop-ups.
- NEW: The scan runs in five visible steps with a progress bar, a counter and an elapsed time. It can be paused, resumed or cancelled. Nothing is marked as unused until it is complete.
- NEW: Real trash. Files are moved out of their public place into
uploads/olimc-trash/(original, scaled, original image, every size, backup sizes, WebP/AVIF copies), with a manifest for an exact restore. The media is hidden from the Media Library while it is in the trash, and WordPress never purges it. Nothing is overwritten on restore; a failed move puts the media’s files back; shared files stay in place. - NEW: Single trash with “Undo”. Grouped actions and permanent deletion ask for confirmation in an accessible dialog. A checkbox is required for large selections and for emptying the trash.
- NEW: “Select all results” across pages, and results stored in a dedicated table for large libraries.
- NEW: The list is flagged as out of date after a change of plugin, theme or media, or after 14 days; every file is checked again live before it is moved.
- NEW: Settings: kept paths with a “Test patterns” button, automatic emptying (never, 30 or 90 days), scheduled scan (analysis only), careful mode, data removal on uninstall, diagnostics report.
- NEW: Keyboard and screen reader support throughout, 44 px targets, mobile layout, reduced motion.
- CHANGE: “Whitelist” becomes “Keep” (one concept). Your previous list is migrated. Existing results are dropped: run a new scan.
- FIX: The live check (before trashing, before emptying) now reads every source of the scan: custom fields, term meta, user meta and other options, with the scan’s own rules. A stale list can no longer trash or delete a media that is used there. One pass per batch.
- FIX: If the server process is killed while a media is being moved to the trash (SIGKILL, out of memory, power loss), restoring that media, or opening the plugin screen, finishes the rollback: the files go back to their place, never over an existing file. A lock left by a process that is certainly dead on the same server no longer blocks for 300 seconds. The plugin screen shows a notice when media were put back or are not all back yet.
- FIX: The live check of a batch (trash, empty) no longer reads the whole
postmetatable in PHP: the database filters the rows for the media of the batch (byte-wise comparison of the ID digits and of the file paths, grouped by shared prefix), and only the rows that remain go through the scan’s own parser. Same answers; about 10 times faster on a very large table (1.9 million rows: 22 s to about 2 s for 50 media). A batch that runs out of time leaves its media untouched. - FIX: When the live check cannot finish (time up, database error), the media is kept and the screen says “The check could not finish. Try again.” instead of “in use”.
- FIX:
wp olimc rotate-tokenfinishes the rollback of a media left by a killed process and does not wait 300 seconds for its lock (same server, process certainly dead), like the restore and the screen. A lock of a live process still makes it wait. - CHANGE: Bulk actions start at 50 media and grow up to 200 per request while the server answers fast (careful mode: 10).
- CHANGE: A media referenced only by its numeric ID used as an array key (widgets, theme settings, custom fields) counts as used, in the scan as in the live check.
- CHANGE: Security hardening of the trash (executable names neutralised, confinement to uploads, no overwrite on rollback, one lock per media, one security token per action, a short journal, no class instantiated when reading stored data, trash state excluded from the export). New:
wp olimc rotate-token, filterolimc_quarantine_base_dir. - CHANGE: Permanent deletion is only possible from the trash and is checked on the server (capability, nonce, and the media must be in the trash).
- CHANGE: Requires WordPress 5.8 (was 6.2).
- REMOVED: Donation notice and its inline script, “Donate” action link, footer line, browser pop-ups (confirm) and toasts, home-made pagination.
- REMOVED: All translations except French (Canada and France), which are rewritten for the new screen.
1.5.27
- Folded into 2.0.0 (not released separately): translation encoding fix, Plugin Check annotations, removal of load_plugin_textdomain().
1.5.26
- FIX: Stop wrapping SQL fragments or ID lists with esc_sql() before $wpdb->prepare() (WP 4.8.3+ placeholder escaping broke those queries)
- FIX: Empty Trash binds excluded IDs with %d placeholders
- CHANGE: Screenshots recaptured on a neutral demo site with generic sample-photo filenames
1.5.25
- FIX: Plugin Check 2.1.0 reports 0 errors (prepared SQL identifiers, translators comments, wp_parse_url, WP_Filesystem CSV export)
- CHANGE: Requires at least WordPress 6.2 so $wpdb->prepare() can use %i for table and column names
- NEW: .distignore and git archive export-ignore exclude development files from the distribution ZIP
1.5.24
- CHANGE: Protected paths and glob patterns are empty by default and configured per site (settings field or
olimc_protected_pathsfilter) - NEW: Upgrade copies a site’s previously applied protected paths into the
olimc_protected_pathsoption so existing protection is kept. No built-in client list is shipped - CHANGE: Sample paths and filenames in settings and tests no longer refer to a specific site
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Oli Media Cleaner alternatives
All cleanup plugins →Fragen und Antworten
Oli Media Cleaner: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Oli Media Cleaner free?
Yes. Oli Media Cleaner is free to download and use from the official WordPress.org plugin directory.
Is Oli Media Cleaner safe to use in 2026?
Oli Media Cleaner is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites and was last updated 1 week ago, and scores 72/100 on our health check.
How many websites use Oli Media Cleaner?
Oli Media Cleaner is active on 100+ WordPress websites and has been downloaded 2,188 times since it launched in March 2026. It was downloaded 510 times in the last 30 days.
Does Oli Media Cleaner work with WordPress 7.1?
Yes. The developer has tested Oli Media Cleaner up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Oli Media Cleaner need?
Oli 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 Oli Media Cleaner last updated?
The latest version, 2.0.1, was released on November 26, 2026 (1 week ago).
Who makes Oli Media Cleaner?
Oli Media Cleaner is developed and maintained by Olivier Bigras.
What are the best alternatives to Oli Media Cleaner?
The most popular alternatives to Oli Media Cleaner are WP-Sweep (100K+ installs), Simple Revisions Delete (10K+ installs) and Delete Duplicate Posts (10K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte






