🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Oli Media Cleaner icon
Actively maintained Tested with WP 7.1 #35 in cleanup

Oli Media Cleaner

Find unused media, move them to a safe trash, restore anytime. Local only: no ads, no tracking, nothing sent out.

Active installs100+100+ tier
Downloads · 30d510▼ -26.8% vs prev. 30d
Rating—0 reviews
Health score72/100Good
All-time downloads2.2KSince Mar 2026
Support resolved1 / 1100% in last 2 months
RequiresWP 5.8PHP 7.4+
Downloads · 7d188▲ +49.2% week over week
Our verdict

Solid choice

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.

  • Actively developed — last update 1 week ago
  • Tested with the latest WordPress (7.1)
  • Small user base (100+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

204161Sep 5Oct 19Dec 3
Yesterday17
Daily average (1y)9
Peak day82Oct 13, 2026
Last 12 months2.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Oli Media Cleaner stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cleanup >100 7,127 Best cleanup plugins →
images >100 10,000 Best images plugins →
media library >100 7,031 Best media library plugins →
trash >100 1,900 Best trash plugins →
unused media #53 1,392 Best unused media plugins →

Version adoption

Share of active sites per release.

  • 1.571.1%
  • 2.028.9%

About Oli Media Cleaner

From the official readme · v2.0.1

Description

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:

  1. Scan. Nothing is changed during a scan. It runs in small steps, shows a progress bar, and can be paused and resumed.
  2. Review. Look at the list (search, filters, sort, CSV export). Keep any file you want to protect.
  3. 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.
  4. 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.
  5. 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 .webp and .avif copies that exist on disk to wp-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 .htaccess that 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_DAYS has 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

  1. Upload the oli-media-cleaner folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Open Media > Media Cleaner and click Start scan.

Changelog

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 postmeta table 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-token finishes 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, filter olimc_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_paths filter)
  • NEW: Upgrade copies a site’s previously applied protected paths into the olimc_protected_paths option 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

Full changelog on WordPress.org →

Screenshots

The list of unused media, with filters and bulk actions
The list of unused media, with filters and bulk actions
A scan in progress, with its five steps
A scan in progress, with its five steps
The confirmation dialog before moving files to the trash
The confirmation dialog before moving files to the trash
The trash tab: restore, or delete permanently
The trash tab: restore, or delete permanently
Settings: kept files, automatic emptying, scheduled scan
Settings: kept files, automatic emptying, scheduled scan
The same list on a phone
The same list on a phone

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.

Active installs badge Rating badge Health score badge

Best Oli Media Cleaner alternatives

All cleanup plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP-Sweep WP-Sweep WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It… by Lester Chan 100K+ ★★★★★★★★★★ 4.7 (138) 3 months ago 85
2 Simple Revisions Delete Simple Revisions Delete Delete the revisions of a post one by one or all at once, from the block editor, the… by Brice Capobianco 10K+ ★★★★★★★★★★ 4.9 (50) 2 months ago 63
3 Delete Duplicate Posts Delete Duplicate Posts Get rid of duplicate posts and pages (any post type) on your blog with manual or automatic… by Lars Koudal 10K+ ★★★★★★★★★★ 4.8 (153) 2 months ago 89
4 Database Cleaner: Cleanup, Optimization & Repair Database Cleaner: Cleanup, Optimization & Repair Clean up and optimize your WordPress database: revisions, transients, autoload, orphaned… by Jordy Meow 10K+ ★★★★★★★★★★ 5 (150) 1 month ago 90
5 AAA Autoload Optimizer AAA Autoload Optimizer Find and fix bloated autoloaded options slowing down your WordPress database by Progress Planner 9K+ ★★★★★★★★★★ 4.6 (25) 2 weeks ago 76
6 Freesoul Deactivate Plugins Freesoul Deactivate Plugins Load plugins only where you need them. No bloat, no conflicts, more speed. Deactivate… by Jose Mortellaro 8K+ ★★★★★★★★★★ 4.8 (105) 21 hours ago 92
7 Image Regenerate & Select Crop Image Regenerate & Select Crop Advanced management for images, register new sub-sizes, sub-sizes details, regenerate and… by Iulia Cazan 7K+ ★★★★★★★★★★ 4.7 (58) 22 hours ago 77
8 Optimize Images Resizing Optimize Images Resizing Plugin optimizes the process of generating custom image sizes in WordPress and offers a… by OriginalEXE 5K+ ★★★★★★★★★★ 4.6 (45) 9 years ago 44
9 Specific Content For Mobile – Customize the mobile version without redirections Specific Content For Mobile Specific Content For Mobile allows you to create pages and posts content designed for… by Jose Mortellaro 4K+ ★★★★★★★★★★ 4.8 (31) 1 month ago 73
10 DietPress – Page Cache, Speed & Performance Optimization DietPress – Page Cache, Speed & Performance Optimization Page cache, browser cache, defer JS, critical CSS, lazy load and WordPress cleanup. Speed… by Fernando Tellado 2K+ ★★★★★★★★★★ 5 (40) 3 weeks ago 92

FAQ

Oli Media Cleaner: quick answers

Straight answers, pulled from live WordPress.org data.

Source: 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,165 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).

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

↑↓ to move↵ to open