If you are asking how do I bulk rename image files for SEO, the answer is to decide on one naming pattern (short, descriptive words, lowercase, separated by hyphens, with a number where you need one) and apply it to whole folders with a batch renamer that shows a preview before anything changes. Do it before upload, because renaming images that are already live breaks every link to them.
File names are a small ranking signal, but on gallery, review and tube sites with thousands of images they add up, and tidy names also make your own library far easier to manage. Here is the pattern to aim for and a workflow that doesn't create a mess.
What makes an SEO-friendly image file name?
Google's image SEO documentation asks for file names that are short but descriptive, and gives the example that my-new-black-kitten.jpg is better than IMG00023.JPG. It also advises avoiding generic names such as image1.jpg where possible. In practice that means:
- Describe the image in a few words a person would actually search for: red-lace-lingerie-set-front.jpg, not DSC_0912.jpg.
- Use hyphens between words. Spaces turn into %20 in URLs, and underscores are less clearly treated as word separators.
- Use lowercase. Many web servers treat Photo.jpg and photo.jpg as different files, which causes broken images when a template links to one and you uploaded the other.
- Keep it web-safe: plain letters, numbers and hyphens. Strip accents, ampersands, brackets, apostrophes and emojis.
- Don't stuff keywords. Five repetitions of your niche term look spammy and help no one.
The file name works alongside the alt text and the page around the image, which matter more. Our technical SEO checklist for adult sites covers the rest of image optimisation, including size and lazy loading.
Choosing a pattern for thousands of images
Hand-writing a description for every gallery image isn't realistic. A pattern built from the set or page topic plus a number works well for large libraries:
| Before | After |
|---|---|
| IMG_4821.JPG | beach-sunset-photo-set-001.jpg |
| Copy of Banner FINAL (2).png | summer-promo-banner-728x90.png |
| Scène_Café Paris.jpeg | scene-cafe-paris-014.jpeg |
Zero-padded numbers (001, 002 rather than 1, 2) keep files in the right order in every folder view and on your server. If you publish in several languages, decide whether file names stay in English or follow each page's language, and be consistent.
A safe bulk rename workflow
- Work on images before upload, or on a copy of the folder.
- Clean first: strip junk such as "Copy of", "FINAL" and camera prefixes with find and replace.
- Replace spaces with hyphens and remove characters that aren't web-safe.
- Change file names to lowercase in bulk, including extensions if your server is fussy.
- Add the descriptive base name and a sequential number.
- Preview every new name and look for duplicates before you commit.
- Keep the old-to-new mapping in case you need to update references in your CMS.
Already published? Renaming live images changes their URLs. Either leave old images alone and apply the pattern to new uploads, or set up redirects and update every reference. Image search traffic tied to old URLs can drop while search engines catch up.
How the tool handles each step
On Windows, Simple Renamer builds the whole workflow above as a stack of rules applied top to bottom, which you can reorder, disable or remove. The rules that matter for image SEO:
- Find and replace to strip camera prefixes and junk words, with match case and first-match-only options.
- Clean-up and web-safe names to remove extra spaces, underscores and odd characters, and a built-in web-safe names preset.
- Change case to lowercase (UPPERCASE, Title Case and Sentence case are there too).
- Insert text at any position, for the descriptive base name.
- Numbering with a start value, step and zero padding, placed before or after the name, sorted by name, date, size or EXIF date taken.
- Regular expressions with capture groups for messier jobs, such as moving a size like 728x90 to the end.
Simple Renamer's live preview shows every old and new name with changes highlighted, and flags duplicates, files that already exist and names Windows won't allow as Conflict or Problem; those are skipped rather than overwritten. It doesn't change extensions unless a rule tells it to.
You can rename in place, or copy the renamed images to another folder (keeping the original set untouched) or move them, while preserving sub-folders. Exporting the rename list as CSV gives you the old-to-new mapping for redirects or CMS updates. If you get it wrong, the undo history keeps the last 50 batches by default, even after you close the program.
Saving your pattern as a preset
Once a rule stack works, save it as a preset (an .srpreset file) and reuse it for every new gallery or share it with whoever prepares your uploads. Consistency matters more than perfection: the same pattern applied every time beats a perfect name on some images and camera defaults on the rest.
A worked example: one gallery, one rule stack
Say you have a hypothetical folder of 240 photos from a shoot, named DSC_0001.JPG to DSC_0240.JPG, plus a few edited files called things like DSC_0112 edit FINAL.jpg. A stack that turns them into beach-sunset-photo-set-001.jpg and onwards might be:
- Find and replace "DSC_" with nothing.
- Remove the words "edit" and "FINAL" with two more find-and-replace rules.
- Remove the remaining digits with a regular expression, so only the base name is left to build on.
- Insert "beach-sunset-photo-set-" at the start.
- Add numbering after the name, starting at 1 with three-digit padding, sorted by EXIF date taken so the order matches the shoot.
- Change case to lowercase and apply web-safe clean-up last, to catch anything the earlier rules left behind.
Check the preview, fix any rows marked as conflicts, then copy the result to an "upload" folder. The originals stay exactly as they were for your archive.
Common mistakes to avoid
- Renaming the master archive. Keep camera originals untouched and rename copies for the web, so you can always trace an image back to the shoot.
- Using the same base name across galleries. Two sets both named photo-set-001.jpg will collide in a shared uploads folder. Include the set or page topic.
- Overlong names. Three to six words is plenty; anything longer reads as stuffing and makes URLs unwieldy.
- Forgetting thumbnails and banners. Apply the same rules to promo banners and preview images, not just the main gallery.
Frequently asked questions
Do image file names really affect SEO?
They are a minor signal. Google says file names can give it clues about an image's subject, but alt text, captions and the surrounding page carry more weight. Good names are quick to apply in bulk, so they are worth doing.
Should I use hyphens or underscores?
Use hyphens. They are the common convention for separating words in URLs and avoid any doubt about how words are split.
Will renaming break my existing pages?
Yes, if the images are already referenced by URL. Rename before upload, or keep the CSV mapping and update references and redirects together.
Next steps
Image names are one piece of on-page work. For video thumbnails and clip pages, see our guide to video SEO for adult and tube sites, and for the bigger picture read SEO for affiliate websites. If you also prepare video uploads, our guide to batch renaming video files for a tube site applies the same approach to clips.
Set up your pattern once, save it as a preset and run every new batch of images through Simple Renamer before upload, so clean, descriptive names become a habit rather than a clean-up job.