Sharing is caring!

Do you wish to clean up your WordPress media library? WordPress makes a number of copies of media information that up load, and over time this results in a ton of information in storage that isn’t used wherever in your web site.

Cleansing up your WordPress media library saves disk house in your internet hosting server and reduces backup sizes (each of which can assist you to save value).

In this article, we are going to present to you the best way to simply clean up your WordPress media library step-by-step.

Why Clean Up Your WordPress Media Library?

WordPress creates a number of copies of every picture you add to your web site. WordPress themes and plugins may request additional image sizes.

Other than these picture sizes, you may additionally find yourself importing a ton of photos that aren’t actually used wherever in your web site.

These media files take up disk house in your WordPress hosting server. Additionally, they improve your WordPress backup sizes, which suggests it takes longer to backup, switch, and restore your web site.

You probably have been operating a WordPress web site for a while, then you may profit from cleansing up the WordPress media library.

That being mentioned, let’s check out the best way to simply clear up the WordPress media library.

For this tutorial, we are going to cowl two totally different plugins, and you may select the one that appears simpler.

Notice: You’ll be cleaning up unused media information by deleting them without end. This motion can’t be undone. Just be sure you have an entire WordPress backup in place earlier than continuing additional.

Technique 1. Clear up WordPress Media Library utilizing Media Cleaner

For this technique, we will likely be utilizing the Media Cleaner plugin. It’s out there as a free plugin with a professional model out there with some extra options.

First, the factor you want to do is set up and activate the Media Cleaner plugin.

Upon activation, go to Media » Cleaner web page to research your WordPress media library. The plugin could ask you to reset itself, throughout this course of it can create a brand new desk in your WordPress database to retailer knowledge.

After that, you want to click on the Begin Scan button to run the media evaluation.

mediacleaner Clean up Your WordPress Media Library

Media Cleaner will now search for information in your media library and inside your WordPress posts/pages. It’ll try to discover the information which might be in your media library, however, it should not be used in your web site.

This will take some time relying on the dimensions of your media library and the content material you might have.

As soon as completed, you’ll see a listing of outcomes. It’ll present you all of the media files that aren’t at present in use in your web site.


You’ll be able to choose the information that you simply don’t wish to preserve and delete them. You may also click on the Delete All button to immediately delete all unused media information.

Clear Up WordPress Media Library utilizing Media Dedupper

For this technique, we will likely be utilizing the Media Dedupper plugin. It is usually out there as each a free and paid model.

Nonetheless, we suggest utilizing the professional model as a result of it permits you to stop deleting duplicate photos within the WordPress gallery, Yoast SEO, WooCommerce, and extra.

First, you want to set up and activate the Media Dedupper plugin.

Upon activation, you want to go to Media » Manage Duplicates web page and click on the Index Media button to research your media library.


The plugin will begin analyzing your media library and can record all of the duplicate photos. You’ll be able to then see if a duplicate image is used in your web site.

After reviewing the information, you may choose all the information or particular duplicates. Subsequent, merely choose ‘Smart Delete’ from the Bulk actions drop-down menu after which click on the Apply button.

smartdelete to Clean up Your WordPress Media Library

Smart Delete characteristic will make it possible for photos that might be getting used in your web site should not be deleted. It’ll additionally merge duplicate photos permitting you to reuse media information without reuploading the identical file.

Optimizing Your Media Recordsdata

Now that you’ve taken care of the duplicate photos in your web site, the following step is to optimize your present media information.

A variety of learners, straight add photos from their telephones and cameras. These high-quality photos are sometimes too massive in filesize. They take up disk house, improve backup sizes, and have an effect on WordPress speed and performance.

You need to use a WordPress image compression plugin to robotically optimize your media information without shedding high quality. You may also use our recommendations on how to optimize images for web performance earlier than you add them to your website (that is significantly better).

We hope this text helped you learn to clear up the WordPress media library.

0 CommentsClose Comments

Leave a comment