🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
CoffeeWP Media Cleanup – Scan and Remove Unused Media and Orphan Thumbnails icon
Actively maintained Tested with WP 7.1 #77 in attachments

CoffeeWP Media Cleanup – Scan and Remove Unused Media and Orphan Thumbnails

Step-by-step wizard to clean unused media, orphan thumbnails, and broken attachments. Safe by default, with one-click restore.

Active installs10+10+ tier
Downloads · 30d102▼ -1% vs prev. 30d
Rating—0 reviews
Health score62/100Good
All-time downloads631Since Jun 2026
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d28▲ +55.6% week over week
Our verdict

Solid choice

CoffeeWP Media Cleanup is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/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 & support

Daily downloads

71522Sep 7Oct 21Dec 5
Yesterday5
Daily average (1y)3
Peak day30Oct 4, 2026
Last 12 months637

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

Rankings

Where CoffeeWP Media Cleanup stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
attachments >100 4,431 Best attachments plugins →
cleanup >100 7,153 Best cleanup plugins →
media >100 10,000 Best media plugins →
optimization >100 5,776 Best optimization plugins →
thumbnails >100 4,809 Best thumbnails plugins →

Version adoption

Share of active sites per release.

  • 1.3100.0%

About CoffeeWP Media Cleanup

From the official readme · v1.3.5

Description

CoffeeWP Media Cleanup helps you reclaim disk space and tidy up your WordPress media library.

A guided three-step wizard walks you through the work:

  1. Pre-scan settings: review detected page-builder compatibility, pick which thumbnail sizes WordPress should generate, and choose a batch size that fits your server.
  2. Scan: walk your uploads tree and detect which files are unused, broken, or missing.
  3. Results: see what is unused, what is broken, what is missing, which thumbnails are stale, and run targeted clean actions on selected rows or across the whole result set.

Clean actions:

  • Delete unused media (file moves to trash; attachment record soft-deleted).
  • Delete missing files (clears DB rows whose backing file is gone).
  • Delete broken-link records (clears attachment posts whose files never existed).
  • Delete orphan thumbnails (removes derivative files with no attachment parent).
  • Regenerate missing thumbnails (re-runs WordPress’s image-size pipeline).
  • Add orphan files to the Media Library (creates attachment records for unattached files).

Trash + restore:

A dedicated Trash view lists every file the plugin has moved out. Restore any item with one click, permanently delete individual rows, or empty the trash. Optional auto-delete after N days. Trashed files live under wp-content/uploads/cwpm/trash/ and are protected from being overwritten by new uploads (filename collisions are detected and avoided).

Activity log:

Every clean action writes to a daily log file at wp-content/uploads/cwpm/logs/. The Logs view shows each file with size and download link. Optional auto-delete after 30 days.

Designed to be safe:

  • Soft-delete by default. No file is ever permanently removed except via the explicit “Empty trash” or “Permanent delete” controls.
  • Per-row checkboxes and a typed-confirmation disclaimer modal gate the destructive actions.

CoffeeWP Media Cleanup PRO

A paid version extends the scanner to places the free version does not reach:

  • Scan any custom post type, beyond posts, pages, and WooCommerce products.
  • Find duplicate files by content hash.
  • Deeper WooCommerce scanning: product galleries, variation images, and
    downloadable files.
  • Elementor deep parsing for images stored in builder data.

Details and pricing: https://coffeewp.dev/media-cleanup/

External Services

This plugin does not connect to any external services. No data leaves your WordPress install.

Third-Party Libraries

The plugin bundles these GPL-compatible libraries (LICENSE files shipped alongside each):

  • Color Punch (MIT): internal CSS / JS UI framework. Shipped at assets/vendor/color-punch/.
  • Font Awesome Free (CC BY 4.0 icons + SIL OFL 1.1 fonts + MIT code): icon font. Shipped at assets/vendor/font-awesome/. Upstream: https://fontawesome.com/
  • Rubik, Outfit, Fira Code fonts (SIL OFL 1.1): bundled with Color Punch under assets/vendor/color-punch/fonts/.
  • Catppuccin color palette (MIT): applied via Color Punch theme variants. Upstream: https://github.com/catppuccin/catppuccin

Data + Storage

Custom database tables (created on activation, dropped only on uninstall when cwpm_delete_data_on_uninstall is enabled):

  • wp_cwpm_scan_results: per-file scan output (rel_path, attachment_id, usage flags, thumbnail status).
  • wp_cwpm_trash: trashed-file ledger (rel_path, original_path, file_name, file_size, trashed_at).
  • wp_cwpm_file_hashes: md5 hashes computed during scan; reserved for future identity-matching features.

On-disk storage (under wp-content/uploads/cwpm/):

  • wp-content/uploads/cwpm/trash/: files moved by the trash system. Recoverable until you Permanent-Delete or Empty-Trash.
  • wp-content/uploads/cwpm/logs/: daily activity logs (one file per day, e.g. cwpm-2026-05-13.log).

Both folders contain .htaccess + index.php stubs to prevent direct web access.

Options + transients: all keys start with cwpm_. Stored in wp_options. Per-user preferences (theme, table density) stored in wp_usermeta with the same prefix.

Custom post type: cwpm-trash: used as a soft-delete state for attachment posts. The attachment record stays in wp_posts but is hidden from the Media Library until restored.

Installation

  1. Upload the plugin folder to /wp-content/plugins/coffeewp-media-cleanup/, or install from the WordPress Plugins screen.
  2. Activate CoffeeWP Media Cleanup from the Plugins screen.
  3. Open Media Cleanup in the WordPress admin sidebar.
  4. Step through Pre-scan settings → Scan → Results. The first scan may take several minutes on large libraries; the wizard reports progress and resumes if your browser times out.

Changelog

1.3.5

  • Fixed a fatal error that could take down the admin when another CoffeeWP plugin was active alongside this one.
  • The promo band and its assets now load only on the plugin’s own screen.

1.3.4

  • WooCommerce products are now scanned for media usage when WooCommerce is active.
  • The compatibility notice now explains what each plugin’s scan covers.

1.3.3

  • Update plugin assets.

1.3.2

  • First public release.

Full changelog on WordPress.org →

Screenshots

Pre-scan settings step: pick thumbnail sizes, set batch size, see detected plugin compatibility (ACF, WooCommerce, page builders).
Pre-scan settings step: pick thumbnail sizes, set batch size, see detected plugin…
Scan step: live progress as the wizard walks the uploads tree.
Scan step: live progress as the wizard walks the uploads tree.
Results step: stats grid, sortable / filterable table, batch action bar.
Results step: stats grid, sortable / filterable table, batch action bar.
Clean complete: summary modal showing how many files were trashed and how much space was freed.
Clean complete: summary modal showing how many files were trashed and how much space was…
Trash view: listing of moved files with restore + permanent-delete controls.
Trash view: listing of moved files with restore + permanent-delete controls.

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 CoffeeWP Media Cleanup alternatives

All attachments plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Export media with selected content (by DKZR) Export media with selected content (by DKZR) Include all relevant attachments in your export. by joost de keijzer 40K+ ★★★★★★★★★★ 4.5 (93) 1 week ago 89
2 File Upload Types by WPForms File Upload Types by WPForms Easily allow WordPress to accept and upload any file type extension or MIME type, including… by Syed Balkhi 40K+ ★★★★★★★★★★ 4 (20) 5 days ago 85
3 Lightbox with PhotoSwipe Lightbox with PhotoSwipe Integration of PhotoSwipe (http://photoswipe.com) for WordPress. by Arno Welzel 20K+ ★★★★★★★★★★ 4.9 (116) 1 week ago 92
4 Unique Headers Unique Headers Add unique custom header images to individual pages, posts, categories, or tags. by Ryan Hellyer 10K+ ★★★★★★★★★★ 4.9 (160) 7 months ago 73
5 Media Deduper Media Deduper Save disk space and bring some order to the chaos of your media library by removing and… by cornershop 8K+ ★★★★★★★★★★ 3.8 (44) 1 year ago 38
6 Document Gallery Document Gallery This plugin generates thumbnails for documents and displays them in a gallery-like format… by Dan Rossiter 8K+ ★★★★★★★★★★ 4.8 (112) 1 month ago 88
7 Download Attachments Download Attachments Download Attachments is a new approach to managing downloads in WordPress. It allows you to… by dFactory 8K+ ★★★★★★★★★★ 4.5 (46) 1 week ago 91
8 Responsive WordPress Slider – HG Slider Responsive WordPress Slider – HG Slider A responsive image rotator plugin that easily creates WordPress slideshows. Now 100%… by richardgabriel 7K+ ★★★★★★★★★★ 3.8 (12) 6 years ago 36
9 forumAttachments for bbPress forumAttachments for bbPress Implement attachment upload to the topics and replies in bbPress plugin through a media… by Milan Petrovic 6K+ ★★★★★★★★★★ 4.3 (26) 3 weeks ago 90
10 Attachment Importer Attachment Importer Import attachments from another WordPress blog using a WXR file. by Spencer Piontkowski 3K+ ★★★★★★★★★★ 4.3 (26) 12 years ago 42

FAQ

CoffeeWP Media Cleanup: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is CoffeeWP Media Cleanup free?

Yes. CoffeeWP Media Cleanup is free to download and use from the official WordPress.org plugin directory.

Is CoffeeWP Media Cleanup safe to use in 2026?

CoffeeWP Media Cleanup is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.

How many websites use CoffeeWP Media Cleanup?

CoffeeWP Media Cleanup is active on 10+ WordPress websites and has been downloaded 631 times since it launched in June 2026. It was downloaded 102 times in the last 30 days.

Does CoffeeWP Media Cleanup work with WordPress 7.1?

Yes. The developer has tested CoffeeWP Media Cleanup up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does CoffeeWP Media Cleanup need?

CoffeeWP Media Cleanup requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was CoffeeWP Media Cleanup last updated?

The latest version, 1.3.5, was released on October 4, 2026 (2 months ago).

Who makes CoffeeWP Media Cleanup?

CoffeeWP Media Cleanup is developed and maintained by Eli Hanna.

What are the best alternatives to CoffeeWP Media Cleanup?

The most popular alternatives to CoffeeWP Media Cleanup are Export media with selected… (40K+ installs), File Upload Types by WPForms (40K+ installs) and Lightbox with PhotoSwipe (20K+ 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