{"id":35956,"date":"2018-03-07T10:55:33","date_gmt":"2018-03-07T16:55:33","guid":{"rendered":"https:\/\/wpengine.com\/?post_type=resource&#038;p=35956"},"modified":"2025-11-25T09:59:57","modified_gmt":"2025-11-25T15:59:57","slug":"wordpress-media-library-clean-up","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/","title":{"rendered":"How to Delete Unused Images on Your WordPress Site"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Media files are essential to any website, but over time, your WordPress Media Library can become cluttered with unused files. This <a href=\"https:\/\/wpengine.com\/blog\/site-speed-make-wordpress-lightning-fast\/\" target=\"_blank\" rel=\"noreferrer noopener\">can slow down your website<\/a>, impact <a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/core-web-vitals\" target=\"_blank\" rel=\"noreferrer noopener\">Core Web Vitals<\/a>, and make media management difficult.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fortunately, keeping your Media Library clean and optimizing images properly can significantly improve website performance. By removing unused files, <a href=\"https:\/\/wpengine.com\/support\/\/how-to-optimize-images\/\">reducing image sizes<\/a>, and leveraging optimization tools like WP Engine&#8217;s <a href=\"https:\/\/wpengine.com\/page-speed-boost\/\" target=\"_blank\" rel=\"noreferrer noopener\">Page Speed Boost<\/a>, you can enhance your site&#8217;s speed and efficiency.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, we\u2019ll discuss how to clean up your WordPress Media Library, optimize images for a better user experience, and introduce tools to simplify the process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s get started!<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Why you should delete unused images in your WordPress Media Library&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When you <a href=\"https:\/\/wpengine.com\/resources\/wordpress-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">upload an image<\/a>, WordPress automatically creates <a href=\"https:\/\/wordpress.org\/support\/topic\/media-files-created-by-wordpress-why-so-many\/\" target=\"_blank\" rel=\"noreferrer noopener\">multiple versions of it.<\/a> Additionally, themes and plugins may generate additional sizes. This can lead to unnecessary file storage, increasing server load, slowing down backups, and negatively impacting Core Web Vitals metrics like <a href=\"https:\/\/web.dev\/articles\/lcp\" target=\"_blank\" rel=\"noreferrer noopener\">Largest Contentful Paint<\/a> (LCP).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unused images also increase storage costs and, depending on your <a href=\"https:\/\/wpengine.com\/plans\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting plan<\/a>, could contribute to higher monthly fees. Before cleaning out your Media Library, make sure to <a href=\"https:\/\/wpengine.com\/resources\/how-to-backup-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">back up your website<\/a> to prevent accidental data loss.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reduce the amount of used storage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The amount of storage space available to you will depend on your host. These limitations are put in place for good reason, as too much media uploaded to your website will eventually decrease its performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, the more files that are uploaded to a website, the longer it will take to load, and slow site speed may drive visitors away. It can also interfere with the site\u2019s User Experience (UX) when functional site elements take too long to load.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resize images<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are many factors that contribute to media space usage\u2014one of the most important being image size. By uploading smaller images to your Media Library instead of just <a href=\"https:\/\/www.seedprod.com\/how-to-resize-an-image-in-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">downsizing larger images<\/a> with HTML, you can increase the space available on your server. This should contribute to improved site speeds, both on the front and backends.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/cloudinary.com\/guides\/wordpress-plugin\/how-to-scale-images-in-wordpress\" target=\"_blank\" rel=\"noreferrer noopener\">Properly scaling images<\/a> before uploading them to WordPress is also a great way to resize your images without sacrificing quality. This enables you to display your image using the minimum number of pixels, which directly correlates with a reduction in file size.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using next-gen formats like WebP instead of PNG or JPG can further improve page speed and Core Web Vitals scores. Additionally, tools like Page Speed Boost can <a href=\"https:\/\/wpengine.com\/page-speed-boost\/\" target=\"_blank\" rel=\"noreferrer noopener\">automatically compress and optimize<\/a> images, reducing file sizes while maintaining quality.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use JPG images instead of PNG<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As noted above, the image file type you use is another factor to consider when cleaning up images. The two most common are JPG and PNG, but the former is best when it comes to saving space.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">JPG images are more compressed than PNG files, making them ideal for most web images. PNGs should only be used when transparency is needed. Additionally, compressing images before uploading can reduce file sizes by up to 80%, helping your website load faster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That said, when <a href=\"https:\/\/www.shutterstock.com\/blog\/jpg-vs-png-vs-pdf\" target=\"_blank\" rel=\"noreferrer noopener\">comparing JPG and PNG<\/a> images side by side, you\u2019ll notice a slight difference in quality. PNGs are often of higher quality, but the difference is so negligible that it isn\u2019t a dealbreaker for the majority of website images. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you use JPG instead of PNG, your images will naturally be of a smaller size. Of course, you can compress (or scale them) further if necessary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Eliminate duplicate images<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While you may sometimes upload multiples of the same image, duplicate images are usually caused by WordPress\u2019 automatic creation of multiple image formats (such as Thumbnail, Medium, and Large). As we mentioned before, this can quickly use up your available storage space, while also slowing your website down.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fortunately, this is something you can easily put a stop to. Simply head to Settings &gt; Media within your WordPress dashboard:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"190\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/03\/MediaLibrary1.jpg\" alt=\"Efficiently Remove Unused Images in WordPress\" class=\"wp-image-35959\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary1.jpg 630w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary1-300x90.jpg 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To prevent the creation of multiple image sizes, simply change the values in each box to 0. Then, click on Save Changes:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"202\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/03\/MediaLibrary2.jpg\" alt=\"Removing unused images from WordPress media library\" class=\"wp-image-35961\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary2.jpg 630w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary2-300x96.jpg 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With no dimensions in place, WordPress will no longer be able to save multiple sizes of the same image.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Delete unused images and files in your WordPress Media Library<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One of the easiest ways to free up storage space and keep your site running at its best is to delete all of your unused files and images.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the WordPress dashboard, go to Media &gt; Library. To delete a single image, click it, then choose the Delete Permanently option at the bottom of the screen:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"280\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/03\/MediaLibrary3.jpg\" alt=\"Delete unused images in wordpress media library\" class=\"wp-image-35962\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary3.jpg 630w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary3-300x133.jpg 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A popup will appear on screen. Clicking OK will remove the file from your Media Library.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also bulk delete files and images, which is a quicker way of managing unused files. From the Media Library page, click Bulk Select at the top:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"196\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/03\/MediaLibrary4.jpg\" alt=\"Bulk select option in WordPress Media Library. delete unused files in WordPress media library\" class=\"wp-image-35963\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary4.jpg 630w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary4-300x93.jpg 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click on all files you\u2019d like to delete, and choose Delete Selected. A popup will appear and, just like above, click OK to permanently remove these images:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"161\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2018\/03\/MediaLibrary5.jpg\" alt=\"Delete Selected button in WordPress Media Library. delete unused files and images in WordPress media library\" class=\"wp-image-35964\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary5.jpg 630w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/MediaLibrary5-300x77.jpg 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s not uncommon to \u201ccollect\u201d files over time that aren\u2019t necessary. This is why you should repeat this process at least every other month (though, the more frequent the better).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress plugins for unused image cleanup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress\u2019 Media Library is quite intuitive, which is beneficial for even the most experienced users. However, you may find that you need a bit more help when it comes to Media Library management.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are three <a href=\"https:\/\/wpengine.com\/resources\/wordpress-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress plugins<\/a> for image cleanup that you may find useful.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"324\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/06\/media-cleaner-1024x324.png\" alt=\"Media Cleaner plugin image in WordPress plugin directory. How to Delete Unused Images on Your WordPress Site\" class=\"wp-image-151806\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/media-cleaner-1024x324.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/media-cleaner-540x171.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/media-cleaner-768x243.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/media-cleaner-1536x486.png 1536w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/media-cleaner-2048x648.png 2048w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/media-cleaner-1500x475.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/wordpress.org\/plugins\/media-cleaner\/\" target=\"_blank\" rel=\"noreferrer noopener\">Media Cleaner<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wordpress.org\/plugins\/media-cleaner\/\" target=\"_blank\" rel=\"noreferrer noopener\">Media Cleaner<\/a> is a simple plugin, but one that makes the removal of unused media files simple. Once installed, this tool will add all files not being used on your website (such as in posts, pages, or galleries) to a temporary trash bin. You can then look over the files to be sure you want to delete them, and make their removal permanent.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"327\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/06\/wp-optimize-1024x327.png\" alt=\"WPOptimize plugin image in WordPress plugin directory. How to Delete Unused Images on Your WordPress Site\" class=\"wp-image-151807\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wp-optimize-1024x327.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wp-optimize-540x172.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wp-optimize-768x245.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wp-optimize-1536x490.png 1536w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wp-optimize-2048x654.png 2048w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wp-optimize-1500x479.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP-Optimize<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP-Optimize<\/a> offers many features related to cleaning and optimizing your website\u2019s files. Specifically, you can set the plugin to automatically clean out \u2018orphaned\u2019 images or images set to certain sizes. Additionally, you can configure an optimization schedule that fits your website.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"326\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/06\/wps-cleaner-1024x326.png\" alt=\"WPS Cleaner plugin image in WordPress plugin directory. How to Delete Unused Images on Your WordPress Site\" class=\"wp-image-151808\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wps-cleaner-1024x326.png 1024w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wps-cleaner-540x172.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wps-cleaner-768x244.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wps-cleaner-1536x489.png 1536w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wps-cleaner-2048x652.png 2048w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wps-cleaner-1500x477.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/wordpress.org\/plugins\/wps-cleaner\/\" target=\"_blank\" rel=\"noreferrer noopener\">WPS Cleaner<\/a><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wordpress.org\/plugins\/wps-cleaner\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Cleaner<\/a> is a multi-function website cleaning plugin. However, it does have specific media-related features. For example, you\u2019ll be able to review the total weight of your media files. Additionally, the user-friendly dashboard can help you identify unused media files and delete them in bulk or individually. WP Cleaner will also identify and include media added through any major <a href=\"https:\/\/wpengine.com\/resources\/choosing-best-page-builder-solution-wordpress-site\/\" target=\"_blank\" rel=\"noreferrer noopener\">page builder plugin<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to manually clean up unused images in your WordPress Media Library&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to forego adding another plugin to your website, you have another option. You can clean up your WordPress Media Library manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before doing so, it\u2019s a good idea to back up your website.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also back up only your Media Library via <a href=\"https:\/\/www.wpbackitup.com\/blog\/cloud-storage\" target=\"_blank\" rel=\"noreferrer noopener\">File Transfer Protocol (FTP)<\/a>. Simply <a href=\"https:\/\/wpengine.com\/support\/\/downloading-wp-content-folder-previous-host\/\" target=\"_blank\" rel=\"noreferrer noopener\">download the wp-content folder<\/a> from your site\u2019s server, and save it in a safe location (such as in <a href=\"https:\/\/www.wpbackitup.com\/blog\/cloud-storage\" target=\"_blank\" rel=\"noreferrer noopener\">cloud storage<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019ve preserved your current website\u2019s content, you can begin to clean out and delete the files in your library that you no longer need. This can be done by going to Media &gt; Library in your dashboard.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you choose to delete your files using the dashboard as described above, you\u2019ll also want to double-check them using FTP. Depending on how they were added, some images may still be hanging around on your server, so it\u2019s important to make sure they\u2019re removed for good.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Delete unused images and build better WordPress sites with WP Engine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Much like a messy room, a cluttered Media Library probably isn\u2019t very functional. Fortunately, we\u2019re here to help you learn more about exceptional website management.<br><br>When you choose <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Engine to host your WordPress site<\/a>, you gain access to top-notch developer tools and resources, and what\u2019s more, our award-winning support team is always available to help! Find out more <a href=\"https:\/\/wpengine.com\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>, or <a href=\"\/contact\/\">chat with a representative<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Media files are essential to any website, but over time, your WordPress Media Library can become cluttered with unused files. This can slow down your website, impact Core Web Vitals, and make media management difficult. Fortunately, keeping your Media Library clean and optimizing images properly can significantly improve website performance. By removing unused files, reducing<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":200,"featured_media":147374,"template":"","resource-topic":[912,915,901],"resource-role":[906,897,903,899],"resource-type":[916],"class_list":["post-35956","resource","type-resource","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Delete Unused Images on Your WordPress Site<\/title>\n<meta name=\"description\" content=\"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Delete Unused Images on Your WordPress Site\" \/>\n<meta property=\"og:description\" content=\"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-25T15:59:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/wordpress-delete-unused-files_1200x627.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Delete Unused Images on Your WordPress Site\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/wordpress-delete-unused-files_1200x627.png\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/\",\"name\":\"How to Delete Unused Images on Your WordPress Site\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2018-03-07T16:55:33+00:00\",\"dateModified\":\"2025-11-25T15:59:57+00:00\",\"description\":\"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Delete Unused Images on Your WordPress Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/b732a884dbf4917dcd15ce2e9fbd3652\",\"name\":\"Abe Selig\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g\",\"caption\":\"Abe Selig\"},\"description\":\"Abe Selig is a writer, amateur musician and accomplished inshore fisherman. He began his career as a journalist and now tells stories about technology and the ways it\u2019s helping businesses thrive. He is an Austin, TX native who has lived in New York City and traveled all around the world. You can reach him at abe.selig@wpengine.com.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Delete Unused Images on Your WordPress Site","description":"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How to Delete Unused Images on Your WordPress Site","og_description":"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2025-11-25T15:59:57+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/wordpress-delete-unused-files_1200x627.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_title":"How to Delete Unused Images on Your WordPress Site","twitter_description":"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.","twitter_image":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/wordpress-delete-unused-files_1200x627.png","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/","name":"How to Delete Unused Images on Your WordPress Site","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2018-03-07T16:55:33+00:00","dateModified":"2025-11-25T15:59:57+00:00","description":"Learn how to delete unused images in your WordPress Media Library to boost site speed and SEO. Includes tips on using WP-Optimize, Media Cleaner, and more.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/wordpress-media-library-clean-up\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"How to Delete Unused Images on Your WordPress Site"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/b732a884dbf4917dcd15ce2e9fbd3652","name":"Abe Selig","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6deb04da8be57a16bed1b5ad7722572beaa7ed7292795763c9324d46b0ad9454?s=96&d=mm&r=g","caption":"Abe Selig"},"description":"Abe Selig is a writer, amateur musician and accomplished inshore fisherman. He began his career as a journalist and now tells stories about technology and the ways it\u2019s helping businesses thrive. He is an Austin, TX native who has lived in New York City and traveled all around the world. You can reach him at abe.selig@wpengine.com."}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2018\/03\/wordpress-delete-unused-files_343x245.png","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Entrepreneur, Freelancer, Marketer, Site Owner","topic":"<strong>Topics:<\/strong> Performance, Uptime, WordPress","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/35956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media\/147374"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=35956"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=35956"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=35956"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=35956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}