Keeping your media library tidy
Practical strategies for keeping your WordPress media library organized, searchable, and free of clutter — even without built-in folders.
- Difficulty
- Beginner
A cluttered media library makes it hard to find images quickly and wastes disk space. 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's media search looks at a file's name, title, caption and description, not at what the image shows. A descriptive file 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 or title
- Filter by type — Images, Documents, Video, Audio and more
- Filter by date — Narrow to the month a file was uploaded
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 and better ways to sort and find files.
Two options, both listed in the WordPress.org plugin directory:
| Plugin | What it adds |
|---|---|
| FileBird | Drag-and-drop folders in the media library |
| Real Media Library | Folders, collections and galleries |
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 icons near the top left.
Find the image you think might be unused.
Check its "Uploaded to" column. "(Unattached)" means the file isn't attached to any page or post. That doesn't prove it's unused. A file can still appear on pages it isn't attached to — 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
How much storage does my media library use?
In WordPress, go to Tools → Site Health, open the Info tab, and expand Directories and Sizes. It shows the size of your uploads folder, where media files are stored. Your host can also tell you your total disk usage. Your hosting plan sets the storage limit. If you're running low, contact us or your host to discuss options.
Can I rename a file after uploading it?
Not from the media library. Its details window lets you change a file's title, caption and description, but it only displays the file name, so the file's web address stays the same. To swap in a file with a new name, the Enable Media Replace plugin can replace the file, use the new file name, and update links to it — ask us.
Should I delete old images to speed up my site?
Removing unused images frees disk space but has very little effect on site speed — your server only delivers files that pages request. Speed improvements come from other areas like hosting, caching, and image compression. See images & page speed for more.
We have multiple team members uploading. How do we keep things tidy?
Agree on a naming convention as a team, write it down, and share it with everyone who uploads files. A simple one-page cheat sheet ("always use hyphens, always lowercase, always describe the subject") is usually enough. If you'd like, we can create a tailored guide for your team.
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
Last updated