Keeping your media library tidy
Practical strategies for keeping your WordPress media library organized, searchable, and free of clutter — even without built-in folders.
A cluttered media library makes it hard to find images quickly, wastes disk space, and can slow down your site. The good news: a few simple habits keep things manageable from the start — and there are plugins that add folder-like organization if you need it.
Quick summary
WordPress doesn't have built-in folders for media. The best approach is to name files well before uploading, use the built-in search and filters, and consider a media organization plugin if your library grows large. Regular cleanup of unused files also frees up disk space.
Why the media library gets messy
Most people upload images without much thought — directly from their camera roll, with names like IMG_5932.jpg or Screenshot 2024-06-01. After a few months, finding the right image becomes a frustrating scroll through hundreds of unnamed thumbnails.
A little structure from the beginning saves a lot of time later.
Habit 1: Name files before you upload
This is the single most impactful habit. WordPress can only search by file name, so a descriptive name makes an image findable in seconds.
Before uploading, rename the file to describe what it shows:
Avoid
IMG_5932.jpgphoto.pngfinal_v2_use_this.jpgScreenshot 2024-06-01.png
Use instead
team-photo-jan-2025.jpgbakery-logo-stacked.pnghomepage-hero-summer.jpggoogle-analytics-traffic-june.png
Rules for good file names:
- Use hyphens between words (not spaces or underscores)
- Keep everything lowercase
- Be specific: include the subject, context, or date
- Keep it under 50 characters
Habit 2: Add alt text immediately after uploading
Right after uploading, click the file and add alt text while it's fresh in your mind. It takes 10 seconds and saves a time-consuming audit later. See image sizes, cropping & alt text for how to write effective alt text.
Habit 3: Use the search and filter tools
Before uploading a new image, search your library to see if it's already there. This prevents duplicates.
- Search box — type part of the file name
- Filter by type — Images, Documents, Video, Audio
- Filter by date — Narrow to a specific month or year
See the media library explained for how to use these tools.
Adding folders with a plugin
WordPress doesn't include folder organization by default. If your team uploads a lot of content, a media management plugin can add folders, tags, and better filtering.
Two well-regarded options:
| Plugin | What it adds |
|---|---|
| FileBird | Drag-and-drop folders in the media library |
| Real Media Library | Folders, tags, collections |
Ask us before installing new plugins
If we manage your site, please let us know before installing any new plugin. Some plugins conflict with your existing setup. We're happy to recommend and install the right one for your needs.
Cleaning up unused images
Over time, your library accumulates images that are no longer used anywhere on the site — old product photos, outdated banner images, test uploads. These take up disk space and make the library harder to navigate.
Before deleting any image, confirm it isn't used on the site. Here's how to check:
Go to your media library and switch to List view using the view toggle near the top right.
Click the image you think might be unused. The detail panel opens on the right.
Check "Uploaded to." If this field says "(Unattached)" it means the file was never directly embedded in a post or page via the media uploader. However, it may still be used — for example, as a background image set in a theme or page builder.
If you're certain the image is unused, hover over it in list view and click "Delete Permanently." This cannot be undone.
Deleting in-use images breaks your site
If you delete an image that appears on a page or post, that area will show a broken image placeholder. Always check before deleting. If in doubt, leave it — storage is usually cheaper than broken pages.
A suggested folder structure (if using a plugin)
If you install a media folder plugin, here's a structure that works well for most small businesses:
Adapt the structure to how your business is organized. The key is consistency — everyone on your team should know where to look and where to put things.
Common questions
Related guides
- The media library explained
- How to upload images and files
- Image sizes, cropping & alt text
- How to replace an image everywhere
- Images & page speed
Need a hand?
Learn more
How to replace an image everywhere
Learn how to swap out an image across your entire WordPress site at once, without hunting down every page it appears on.
How to edit your navigation menu
Step-by-step instructions for adding, removing, and reordering links in your WordPress navigation menu using the Customizer or the Site Editor.