How to Delete Media Files in WordPress?

The tools and plugins recommend in the site are the ones we use, have tried ourselves and recommend our readers. Marketing With WP is supported by readers like yourself. If you take an action (such as a purchase) after clicking on our affiliate links, we may earn some coffee money to create more helpful articles. As always, we thank you for your support.

Deleting media files in WordPress is very simple, whether you want to delete an individual file or a selection of files at once.

Let’s find out how to delete media files in WordPress.

Deleting Individual Media File

First, go to Media > Library in your admin dashboard to open the library page. Then, click on the media that you want to delete.

select image to delete wordpress media library
Select Image to Delete from the WordPress Media Library

After clicking on the file, it will open a window containing the details of the media. On the bottom-right, there’s the link to delete the file labeled Delete Permanently.

permanently delete wordpress image media
Permanently Delete WordPress Media file

After clicking delete permanently, it will ask you to confirm it. Click OK to continue the deletion of the file. Or, if you want to stop the deletion click on Cancel.

click ok to delete wordpress media
Click OK to Delete WordPress Media files

Deleting Media Files in Bulk

Sometimes, you might need to delete a larger selection of media files from the media library. Deleting them one by one is a lot of work. The bulk delete feature is just for this –

From the media library page, click on the Bulk Select button.

click bulk select wordpress media library delete media
Click Bulk Select WordPress Media files

Now, select the file you want to delete by just clicking on it. Then, click on the Delete Permanently button.

bulk delete image media files permanently wordpress media
Bulk Delete WordPress Media files permanently

After that, confirm the deletion by clicking on the OK button.

confirm bulk delete wordpress media
Confirm Bulk Delete WordPress Media files

The selected files will now be removed from the media library and your website.

Ankit S J B Rana
Ankit S J B Rana

Ankit is the founder of Marketing With WP and wants to help those who want to pursue a career in digital marketing.

From Co-Founding a successful boutique travel brand, Nepal101 to setting up Mbrella Films, Southeast Asia's #1 Film Production Company, online leads funnel to generate hundreds of B2B leads, he has done it all.

With Marketing With WP, Ankit wants to help marketers like yourselves utilize WordPress and other online tools to turn your website into a 24 hour marketing machine.

Articles: 85

Leave a Reply

Your email address will not be published. Required fields are marked *