🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Mediaspy – Unused Media Cleaner, Image Optimizer, WebP & Safe SVG icon
Actively maintained Tested with WP 7.1 #14 in image optimizer

Mediaspy – Unused Media Cleaner, Image Optimizer, WebP & Safe SVG

Delete unused images safely, compress images, serve WebP/AVIF, upload SVG safely, and fix broken media. One plugin for a clean, fast media library.

Active installs60+10+ tier
Downloads · 30d671▲ 3.3× vs prev. 30d
Rating4/54 reviews
Health score72/100Good
All-time downloads1.4KSince Jun 2026
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d119▼ -48% week over week
Our verdict

Solid choice

Mediaspy is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites, is rated 4/5 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)
  • Momentum — downloads up 225.7% vs the previous 30 days
  • Small user base (60+ active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

183756Sep 4Oct 18Dec 2
Yesterday28
Daily average (1y)8
Peak day75Nov 15, 2026
Last 12 months1.4K

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

Rankings

Where Mediaspy stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
image optimizer #74 940 Best image optimizer plugins →
SVG #59 3,339 Best SVG plugins →
unused images #34 2,091 Best unused images plugins →
unused media #32 1,386 Best unused media plugins →
webp #85 1,815 Best webp plugins →

Version adoption

Share of active sites per release.

  • 1.465.6%
  • 1.334.4%

Rating breakdown

★★★★★★★★★★ 4 from 4 reviews

  • 5★75.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★25.0%

About Mediaspy

From the official readme · v1.4.2

Description

👉 Support & questions
👉 Feature requests & bug reports
👉 Contact the developer

Mediaspy is the all-in-one media plugin for WordPress. It finds and deletes unused media, optimizes images, serves WebP and AVIF, allows safe SVG uploads, fixes broken media and keeps your media library healthy, every week, on its own.

Most media cleaners only check post content and delete images your site still uses. Mediaspy checks everything first: page builders, widgets, theme files, settings, code snippets and other plugins’ tables. When it is not sure, it says so.

Clean unused media safely

  • Find unused images and files – images, videos, audio, PDFs, archives and documents that no page, post, setting or theme uses
  • Three honest results – Used, Unused and Uncertain. View Details shows every place a file is used
  • Checks everything – post content, featured images, custom fields, ACF, page builders, widgets, Customizer, site logo and icon, theme files and theme.json, code snippets, user avatars, comments and other plugins’ tables
  • Every version of a file – resized sizes, the original behind a “-scaled” copy, edited copies, WebP/AVIF copies and CDN URLs
  • Delete only what you select – download a ZIP backup first. Deleting is blocked when the site changed after the last scan
  • Broken media – find pages and settings that point to files that no longer exist, regenerate missing sizes, remove orphan records

Optimize images and serve WebP/AVIF

  • Compress JPEG, PNG and WebP on upload or in bulk. Auto quality picks the lowest quality that still looks the same, for each image
  • WebP and AVIF for every image on your pages – Media Library images, CSS and page builder backgrounds, theme and plugin images and stylesheets. The original stays as a fallback for older browsers
  • Works on every server – picture tags (no server setup, works with page caching), or Apache/LiteSpeed rules that are tested before they are kept. An nginx snippet is included
  • Lazy loading for images, iframes and videos, missing width and height added, and the main image preloaded for a better LCP score
  • Theme and plugin images – optimize the images that ship with your theme and plugins
  • Safe originals – originals are backed up, one click restores them, and a before/after slider shows the difference
  • Bulk optimize does used images first, retries failures, and skips animated GIF/WebP and CMYK images

Upload autopilot

  • Clean file names – “Café Photo (1)_FINAL.JPG” becomes “cafe-photo-1-final.jpg”
  • Remove photo location – GPS data is removed from phone photos without any quality loss
  • Shrink huge uploads to a maximum size
  • Safe SVG uploads – SVG files are cleaned with an allowlist: scripts, event handlers, external references and unsafe links are removed, the drawing is kept. SVGs get proper width and height in the Media Library
  • Duplicate and large upload alerts – warn or block when a file is uploaded twice or is too big

Library tools

  • Safe rename for SEO – rename “IMG_2041.jpg” to “red-leather-wallet.jpg”: every size and copy is renamed and every page, setting and plugin table that uses it is updated. Preview first, undo for 30 days
  • Replace media – upload a new version of a file and keep its URL, title and alt text. Undo for 30 days
  • Duplicate images – find identical uploads and the same picture saved at another size or format. Keep one copy and every use moves to it, nothing is deleted
  • Alt text – list images without alt text, edit them in place, or fill them from readable file names in one click
  • Image sizes – see every size WordPress, your theme and plugins make, with disk use. Turn off sizes you do not need and clean leftover size files
  • Files not in the Media Library – find files added by FTP or restored backups, then add them to the library or remove the unused ones

Media health and monitoring

  • Media health score from 0 to 100, with a to-do list and a WordPress Dashboard widget
  • Weekly background check – a scan and broken media check every week, in small steps, so the numbers stay current
  • Opt-in emails – a weekly media report and an alert when media links break. Off until you turn them on
  • Activity log – uploads, optimizations and scans in one place

Works with

Gutenberg and the Site Editor, Elementor, Divi, WPBakery, Oxygen, Bricks, Beaver Builder, Brizy, Kadence Blocks, GenerateBlocks, Spectra, Cornerstone, Thrive Architect, SiteOrigin, Avada/Fusion, ACF, WooCommerce, Slider Revolution, MetaSlider, Envira, Soliloquy, and the code snippet plugins FluentSnippets, WPCode and Code Snippets. Mediaspy matches images by URL (including every generated size), by file name and by attachment ID, so builders that store a resized copy or an ID-only shortcode are detected too.

For developers

WP-CLI commands: wp mediaspy scan, wp mediaspy duplicates, wp mediaspy orphans, wp mediaspy sizes and wp mediaspy alt.

Light and private

Mediaspy runs on your own site. No account, no external service, no upsells and no request to Google Fonts. Scans run in small steps so large libraries never time out. Every screen can be translated.

Privacy and external services

Mediaspy runs entirely on your own site and does not phone home during normal use.

The only outbound request is optional deactivation feedback: if you click “Submit & Deactivate” in the feedback box shown when deactivating the plugin, your selected reason, your optional message, your site URL, and your plugin/WordPress/PHP versions are sent to the developer’s feedback endpoint. Clicking “Skip & Deactivate” sends nothing.

Installation

  1. Go to Plugins › Add New in your WordPress admin
  2. Search for Mediaspy
  3. Click Install Now, then Activate
  4. Open Mediaspy in the admin menu (right below Media) and click Scan library

Manual install

  1. Download the ZIP file
  2. Go to Plugins › Add New › Upload Plugin
  3. Upload the ZIP, click Install Now, then Activate
  4. Open Mediaspy in the admin menu and click Scan library

Changelog

Fixes the fatal error when activating Mediaspy on a new install. Recommended for everyone.

1.4.2

  • Fixed: the plugin could not be activated on a new install (“Plugin could not be activated because it triggered a fatal error”). Sites that updated from an earlier version were not affected.
  • Fixed: pages could break when another plugin passed empty content to WordPress filters that Mediaspy also uses.

1.4.1

  • Passes the WordPress Plugin Check with no errors or warnings. No changes to features or settings.

1.4.0

Big update: Mediaspy now keeps your media library clean, fast and healthy, not just finds unused files.

Unused media scan:
* Rebuilt, much more accurate scan that never times out on large sites
* Results split into Used, Unused and Uncertain; View Details shows where each file is used
* Finds images in ACF fields, site logo and icon, avatars, comments, theme files, other plugins’ tables, resized or edited copies and CDN URLs
* Delete or download only the files you select; deleting is blocked if the site changed since the last scan

Image optimizer (new):
* Compresses JPEG, PNG and WebP on upload or in bulk, picking the lowest quality that still looks the same
* Serves smaller WebP/AVIF versions of every image on your pages (Media Library, backgrounds, theme and plugin images), with the original as fallback
* Lazy loading for images, iframes and videos, and the main image is preloaded for a faster page
* Originals are backed up and can be restored anytime; drag to compare before and after

Upload autopilot (new):
* Clean file names, remove GPS location from photos, shrink huge uploads, sanitize SVG files

Library tools (new):
* Safe rename and replace media, with every link on the site updated and a 30-day undo
* Find duplicate and look-alike images and merge them
* Find files not in the Media Library and unused image sizes; fill missing alt text from file names

Health and monitoring (new):
* Media health score, Dashboard widget and opt-in weekly email
* Weekly automatic scan and broken media check, with an optional alert email

Admin:
* Redesigned admin with one clear menu, now right below Media with the Mediaspy logo
* Works on phones and tablets, keyboard and screen-reader friendly, fully translatable
* WP-CLI commands: scan, duplicates, orphans, sizes, alt

Fixed:
* Download ZIP now contains only the selected files
* Mediaspy’s own old scan data no longer counts as “in use”
* Dashboard storage and activity numbers now update correctly

1.3.1

  • Fixed: the optional feedback box shown when deactivating the plugin did not appear (its script initialised before the modal markup was in the page). It now opens reliably on the Plugins screen.

1.3.0

Accuracy overhaul for page builders, plus new builder coverage and a deactivation feedback box.

New:
* Slider Revolution and MetaSlider support – images used only in Slider Revolution’s own tables, or linked to a MetaSlider slideshow, now count as used instead of being flagged unused
* Brizy support – base64-encoded Brizy builder data is decoded so its images are detected
* “View Details” now finds the same size-variant and ID references as the scan, so a used file is never shown as referenced nowhere

Fixed:
* Images used at a specific size are no longer misreported as unused. The scanner now matches every generated size (e.g. image-768×512.jpg), not just the original file – this resolves false “unused” results with Oxygen’s “choose a size” workflow and any page builder that stores a resized URL
* Builders that reference an image by ID inside a shortcode are now detected – WPBakery (image=”ID”, images=”1,2,3″), Divi galleries (gallery_ids) and Avada/Fusion (image_id)
* Oxygen 4 (ct_builder_json) double slash-escaped URLs are now matched

Compatibility:
* Tested up to WordPress 7.1

Internal:
* Detection rules moved into a dedicated, unit-tested UsageDetector shared by the scan and the usage lookup

1.2.0

  • New: Upload Guard – duplicate detection at upload time (filesize prematch + md5 of original bytes, so scaled/rotated images are matched correctly)
  • New: Upload Guard oversize alerts with off / warn / block modes and separate image vs other-file size limits
  • New: Upload Guard missing-alt attention list with inline editing
  • New: resumable library hashing backfill so duplicate detection covers files uploaded before the guard existed; the same pass flags existing images missing alt text
  • Note: programmatic uploads (cron, WP-CLI, sideloads/importers) are logged, never blocked
  • New: Foreign Media Resolver – foreign_domain references are now actionable
  • New: Localize – download an externally-hosted image into your Media Library and rewrite every reference (post content, custom fields, options, term meta) to the new local URL, serialization-safe
  • New: Remove reference – safely clear a dead external link from its stored data
  • New: exposure signal (Live vs Stored) so you can tell a real front-end dependency from leftover orphan data
  • New: extra_local_domains setting to treat a CDN / migrated domain as local
  • Security: SSRF-guarded downloads (private/loopback/link-local IPs blocked, image MIME sniff, size cap, SVG opt-in)

Full changelog on WordPress.org →

Screenshots

Overview: media health score, a to-do list, library numbers and recent activity
Overview: media health score, a to-do list, library numbers and recent activity
Unused media: review unused images and files, filter, search, then download or delete what you select
Unused media: review unused images and files, filter, search, then download or delete…
Image optimization: images optimized, space saved and failed images to retry
Image optimization: images optimized, space saved and failed images to retry
Before/after slider: drag to compare the original and the optimized image
Before/after slider: drag to compare the original and the optimized image
Broken media: pages and settings that point to files that no longer exist
Broken media: pages and settings that point to files that no longer exist
Duplicates: identical copies grouped, pick the one to keep
Duplicates: identical copies grouped, pick the one to keep
Image sizes: every size with file counts and disk use, turn sizes off and regenerate
Image sizes: every size with file counts and disk use, turn sizes off and regenerate
Alt text: images without alt text, edit in place or fill from file names
Alt text: images without alt text, edit in place or fill from file names
Settings: upload autopilot, optimization, front-end loading and reports in one place
Settings: upload autopilot, optimization, front-end loading and reports in one place

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 Mediaspy alternatives

All image optimizer plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Smush – Image Optimization, Compression, Lazy Load, WebP & CDN Smush Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site… by WPMU DEV 1M+ ★★★★★★★★★★ 4.8 (6.1K) 2 weeks ago 97
2 Optimus – WordPress Image Optimizer Optimus – WordPress Image Optimizer Effective image compression and optimization during the upload process. Smart, automatic… by KeyCDN 20K+ ★★★★★★★★★★ 4.2 (69) 9 months ago 58
3 Nexter Extension – Security, Performance, Code Snippets & Site Toolkit Nexter Extension Replace 50+ WordPress Plugins: Free SEO, Theme Builder, Code Snippets, Image Optimizer… by POSIMYTH 10K+ ★★★★★★★★★★ 4.7 (13) 19 hours ago 81
4 Cloudinary – Deliver Images and Videos at Scale Cloudinary – Deliver Images and Videos at Scale Boost the performance of your WordPress site by optimizing your images and videos with the… by Cloudinary 4K+ ★★★★★★★★★★ 4 (64) 3 weeks ago 88
5 PixelCraft with WebP PixelCraft with WebP Automatically convert JPG and PNG images to WebP, reduce file sizes and speed up your… by Secil Kars 500+ ★★★★★★★★★★ 5 (3) 2 months ago 73
6 Image Optimizer, WebP Converter & Compression – Toolszu Image Optimizer, WebP Converter & Compression – Toolszu Compress, resize and convert images to WebP or AVIF. Bulk-optimize your Media Library in… by Toolszu 300+ ★★★★★★★★★★ 5 (2) 3 weeks ago 76
7 Image Optimizer PRO – Optimize Images, Convert AVIF & WebP Image Optimizer PRO – Optimize Images, Convert AVIF & WebP Optimize and serve your images in AVIF or webp format on-the-fly, boosting site performance… by poweredcache 100+ ★★★★★★★★★★ No reviews 3 days ago 68
8 MegaOptim Image Optimizer – Convert to WebP & AVIF, Compress Images Locally MegaOptim Image Optimizer Convert images to WebP and AVIF and compress them on your own server. No account, no API… by MegaOptim 100+ ★★★★★★★★★★ 5 (34) 2 months ago 81
9 PDEV Image Optimizer – WebP & AVIF PDEV Image Optimizer – WebP & AVIF Speed up WordPress image delivery with local WebP and AVIF optimization. Free, private… by Grzegorz Puszka 100+ ★★★★★★★★★★ 5 (1) 3 days ago 75
10 PixGrow Image Optimizer PixGrow Image Optimizer Free browser-based WordPress plugin to compress images and convert to WebP. No API key… by Santosh Gautam 100+ ★★★★★★★★★★ 4 (4) 2 months ago 68

FAQ

Mediaspy: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Mediaspy free?

Yes. Mediaspy is free to download and use from the official WordPress.org plugin directory.

Is Mediaspy safe to use in 2026?

Mediaspy is a solid plugin choice in 2026, with a few things worth checking first. It runs on 60+ sites, is rated 4/5 and was last updated 1 week ago, and scores 72/100 on our health check.

How many websites use Mediaspy?

Mediaspy is active on 60+ WordPress websites and has been downloaded 1,359 times since it launched in June 2026. It was downloaded 671 times in the last 30 days.

Does Mediaspy work with WordPress 7.1?

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

What PHP version does Mediaspy need?

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

When was Mediaspy last updated?

The latest version, 1.4.2, was released on November 23, 2026 (1 week ago).

Who makes Mediaspy?

Mediaspy is developed and maintained by Masum.

What are the best alternatives to Mediaspy?

The most popular alternatives to Mediaspy are Smush (1M+ installs), Optimus (20K+ installs) and Nexter Extension (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