Plugin

Free on WordPress.org

ZEJ Mediatidy

Clear out the media you do not need, without breaking the pages that use it.

Find unused images, catch duplicates, convert to WebP and compress. Runs on your own server. Free, unlimited, no account.

Overview

Built for the kind of site where the details matter.

ZEJ Mediatidy cleans up a WordPress media library that has been growing for years: it finds images nothing links to, catches duplicates by comparing file contents, converts JPEG and PNG to WebP, and compresses what is left. Every scan runs in batches so it survives libraries in the tens of thousands, and every delete goes to a recoverable trash first.

Features

Useful without the usual product theatre.

Finds images nothing links to

Checks post content across every status, post meta, page builder payloads, the options table, theme mods, your logo, your site icon, widgets, menus, term meta, user meta and WooCommerce galleries before it calls anything unused.

Shows you the evidence

When an image is in use, Mediatidy names the places it found it, so you can go and look for yourself instead of trusting a number.

Deleting is recoverable

Removed images go to a trash that keeps the database row, the metadata and the files. There is a restore button beside every one, and nothing is destroyed until you empty it on purpose.

Real duplicate detection

Compares file contents rather than filenames, so the same photo saved four times under four names is caught.

Built for libraries that are already a mess

Every scan walks the library in batches with a cursor that remembers where it stopped, so fifty thousand images take the same code path as five hundred.

Runs entirely on your own server

No upload, no queue on someone else machine, no credits, no API key, no account. That is also why it is free with no limits.

Requirements

Requires WordPress
6.0+
Requires PHP
7.4+
License
GPLv2 or later

Free, with no image limit and nothing to buy.

FAQ

Straight answers before you install anything.

Will it delete an image I am using?

That is the failure I designed hardest against. Mediatidy checks post content, post meta, options, theme mods, your logo, your site icon, widgets, menus, term meta, user meta and WooCommerce galleries, including resized copies of the file, and it checks again at the moment you delete. Deleting is recoverable anyway.

Does it work with Elementor, Divi and WooCommerce?

Yes. Page builders keep their layouts in post meta, and Mediatidy reads post meta including serialised builder data. WooCommerce galleries are checked specifically because a plain content scan misses them.

Does it upload my images anywhere?

No. Every scan, hash, conversion and compression happens on your own host through GD or Imagick. Nothing leaves your server.

Is it really free, or is there a limit later?

Free and unlimited. The processing happens on your hardware rather than a server I pay for, so a fifty thousand image library costs me exactly what a fifty image one does.

Does compressing change the original file?

Yes, and I would rather say so plainly. Compression and resizing rewrite the file, which is the only way the saving is real. Mediatidy copies the original first and gives you a restore. WebP conversion is different: it writes new files and leaves the original alone.

Where can I download ZEJ Mediatidy?

It is free on WordPress.org. Use the support link above if you need help with the plugin.

Need help shipping a product like this?

I build WordPress sites, plugins, and systems directly with the people who own the outcome.

Start a Project

Project inquiry

Start with the useful details.

Step one is contact. Step two is scope. The form adapts to the button you clicked so you are not starting from a blank page.

  1. 1
  2. 2

No agency handoff. You talk directly with Muhammad Zeeshan Ejaz.

Prefer chat? Message me on WhatsApp, usually the fastest reply.

WhatsApp me