Naming images for SEO is one of the most consistently overlooked optimisations on any website. It’s also one of the quickest to fix. No developer needed. This guide covers the rules, the common mistakes, and what to do with images that are already live.
Do Image File Names Actually Affect SEO?
Yes. Google’s image publishing guidelines confirm that descriptive file names help it understand what an image depicts. Because Google cannot see images the way humans do, it reads text-based signals – file name, alt text, surrounding content – to infer meaning.
A well-named image reinforces your page’s relevance for a given topic and influences how your images rank in Google Image Search, Image Packs, rich results and AI overviews. It’s a small signal, but it’s free, takes seconds and many competing sites have not done it.
How to Create an Image Name for SEO: 6 Rules
-
Describe What Is in the Image – in Lowercase
Your file name should answer one question: what is this image? Strip out camera codes, version numbers, and dates. Write everything in lowercase – it is the web standard and avoids inconsistencies across servers and operating systems.
| Do | Don’t |
| “best-running-shoes-beginners.jpg” | “DSC00192.jpg”
“image-FINAL-use-this-one.jpg” |
-
Include Your Target Keyword Where It Fits
Use the primary keyword for the page if it naturally and accurately describes the image. The operative word is ‘accurately’ – if the keyword does not describe what is in the image, do not use it.
For example: if your page targets “office chairs for back pain” and you are uploading a product shot of your best-selling chair, “office-chair-lumbar-support.jpg” works well. “office-chairs-for-back-pain.jpg” describes the page, not the image. That distinction matters.
| Do | Don’t |
| “office-chair-lumbar-support.jpg” | “office-chairs-for-back-pain.jpg” |
-
Keep It to Two to Five Words
Longer names dilute the relevance signal – the strength of the message you are sending Google about what the page and image are about. If you need more than five words to describe the image, you need a more specific name, not a longer one.
| Do | Don’t |
| “sourdough-bread-crust-closeup.jpg” | “homemade-artisan-sourdough-bread-baked-in-dutch-oven-crusty-exterior-2024.jpg” |
-
Use Hyphens, Not Underscores
Google treats hyphens as word separators, so “running-shoes.jpg” is read as two words. Underscores are not treated the same way – “running_shoes.jpg” may be interpreted as a single string. Spaces cause broken links (they get converted to “%20” in a URL, making file names unreadable). Capitalising each word rather than separating them, like “RunningShoes.jpg” – causes similar issues.
| Do | Don’t |
| “blue-leather-handbag.jpg” | “blue_leather_handbag.jpg”
“blueLeatherHandbag.jpg” |
-
Never Keyword Stuff
One accurate keyword outperforms five repeated ones. Stuffing keywords into a file name can work against you – search engines are designed to detect and discount it.
| Do | Don’t |
| “best-running-shoes-2024.jpg” | “running-shoes-running-shoes-best-running-shoes.jpg” |
-
Use the Language Your Audience Searches With
Your internal naming and your audience’s search language are often completely different. A pet accessories brand might refer to “k9-restraint-device-model-7b.jpg” internally. Their customers search for “dog-car-harness.jpg.” A travel brand might call an image “accom-hero-shot.jpg” when customers search for “lake-district-cottage-exterior.jpg.” When in doubt, your keyword research is the best starting point for finding the right language
| Do | Don’t |
| “dog-car-harness.jpg”
“lake-district-cottage-exterior.jpg” |
“k9-restraint-device-model-7b.jpg”
“accom-hero-shot.jpg” |
Note on decorative images: background textures, dividers, and purely decorative graphics do not need keyword-optimised file names. For these, use a simple descriptive name (e.g. “blue-background-texture.jpg”) and set their alt text to empty (””) so screen readers skip them correctly.
Real-World Examples of Naming Photos for SEO
| Scenario | Bad | SEO-Friendly |
| E-commerce product | IMG_2034.jpg | womens-white-linen-shirt.jpg |
| Blog hero image | hero-final-v3.png | content-marketing-strategy-guide.png |
| How-to screenshot | screenshot001.png | install-google-analytics-step1.png |
| Local business photo | DSC00981.jpg | coffee-shop-london-bridge.jpg |
| Team / About page | photo-jane.jpg | jane-smith-marketing-director.jpg |
Renaming Images for SEO Without Hurting Rankings
Renaming a live image changes its URL. Follow these five steps to do it without any lasting ranking impact.
Step 1: Rename the File in Your CMS
Most CMS platforms do not let you rename an uploaded image directly. In WordPress, use a plugin such as Media File Renamer. In Shopify, find your files under the Files section in your admin (the exact path varies by Shopify version – check under Content or Settings if you cannot find it). Otherwise, re-upload the file with the correct name and delete the original.
Step 2: Check Whether the Old URL Is Indexed
Open Google Search Console → URL Inspection → paste the image URL. Alternatively, run site:yourdomain.com filetype:jpg in Google for a rough indication of which images are visible in search. Note that this method is approximate and may not be complete. If the URL is indexed, it may be carrying traffic or link equity – the SEO value passed through any external links pointing to that address.
Step 3: Set Up a 301 Redirect
A 301 redirect is a permanent server instruction that forwards the old URL to the new one, preserving traffic and link equity. In WordPress, use the Redirection plugin. In Shopify, go to Online Store > Navigation > URL Redirects.
| Expert tip: If any external site links to the old image URL, renaming without a redirect permanently loses that link equity. Always set up the redirect first. |
Step 4: Update Internal References and Your Sitemap
Update image links on your own pages to point to the new URL directly – do not rely on the redirect long-term. If your site uses an image sitemap (a file listing your images to help Google discover them, usually generated automatically by your SEO plugin), re-saving the affected pages is normally enough to trigger an update. If not, resubmit your sitemap manually via Google Search Console under Sitemaps.
Step 5: Prioritise Your Highest-Traffic Pages First
Start with your most-visited pages and your product catalogue. You do not need to rename everything at once – get the high-value images right first, then work through the rest.
Managing a large site or need to prioritise? Our technical SEO team can audit your image library and help you implement this at scale. Get in touch to see how we can help.
How to Create an Image Naming Convention for SEO
Without a shared standard, team members and agencies apply different rules – or none at all. The result is an inconsistent asset library that quietly undoes whatever individual optimisation you have done. Fix it with a one-page document.
| Element | Rule |
| Format | Lowercase, hyphens only – no spaces, underscores, or special characters |
| Length | Two to five words |
| Keywords | Include the page’s primary keyword only where it accurately describes the image |
| Versioning | Date suffixes only – e.g. product-hero-2026-03.jpg – not “final”, “final2”, or “FINAL-FINAL” |
| Language | Cross-reference keyword research – internal names and audience search terms are rarely the same |
What This Looks Like in Practice
An e-commerce team publishing a new product image might follow this process before upload:
- Check the target page: what keyword is this page optimised for?
- Describe the image accurately in two to five words
- Format: lowercase, hyphens, no dates or version numbers
- Compress the image before uploading
| Do | Don’t |
| “womens-merino-roll-neck-grey.jpg” | “Product-Image-Final-USE-THIS-v2.jpg” |
For high image volumes, Digital Asset Management (DAM) tools such as Bynder or Brandfolder can enforce naming rules automatically at upload – worth exploring once manual checking becomes impractical.
Beyond the File Name: Image SEO Signals
Alt Text
Alt text is the short description attached to an image in your site’s code. It serves two purposes: accessibility (screen readers use it) and SEO (Google reads it). Add it in your CMS – look for the “Alternative Text” or “Alt Text” field in the image editor. Aim for one concise sentence under 125 characters; screen readers often truncate beyond that. Include your keyword where it fits naturally. For more a deeper dive, read our guide on how to write alt text correctly.
| Do | Don’t |
| “Ergo Pro office chair with adjustable lumbar support” | “image1” or “photo of product”
“office chair office chairs best office chair” (keyword-stuffed) |
Image Compression
Large images are one of the most common causes of slow page load times – and page speed is a confirmed ranking factor, particularly on mobile and as part of Core Web Vitals (Google’s set of page experience metrics). Use Squoosh, TinyPNG, or your CMS’s built-in compressor to cut file sizes by 60–80% with minimal quality loss. Rename and compress in the same step.
File Format
Different file formats are suited for different purposes. Check the table below to get an understanding of what type to use in different scenarios.
| Format | Use when |
| JPEG | Photographs and images with many colours |
| PNG | Images that require a transparent background |
| WebP | Best all-round option – superior compression, supported by all major browsers |
| BMP / TIFF | Avoid – not optimised for web delivery |
Structured Data
For products, recipes, and articles, Schema markup gives Google contextual information about the content an image is associated with – helping it appear in rich results such as product carousels and recipe cards. It works alongside your file name and alt text, not instead of them. The easiest way to add it is through your CMS plugin. Yoast SEO and Rank Math both handle structured data for common content types automatically, or you can use Google’s free Structured Data Markup Helper to generate the code manually.
SEO Picture Names Checklist
Once you get the hang of it, creating SEO picture names is a quick and simple process. However, it can help to have a reminder of the best practices while you’re getting started. Here are the key things to consider while creating your image name for seo:
- File name describes what is actually in the image
- Written in lowercase
- Two to five words
- Hyphens between words – not underscores or spaces
- Keyword included only if it accurately describes the image
- No keyword repetition
- Language matches how the audience searches, not internal naming
- Alt text written – one concise sentence, under 125 characters
- Image compressed before upload
Final Thoughts: Naming Images for SEO is The Quick Fix Everyone Forgets About
Perhaps image naming for SEO isn’t the most glamorous tactic, but it’s also not difficult, not expensive and not being done properly by many of the sites you are competing with. Six rules, a one-page team convention, and a habit of compressing before you upload. That’s the whole deal.
Need help with a full SEO audit – including image optimisation across your entire site? Peak Ace works with brands across Europe to find and fix exactly these kinds of high-impact, low-effort improvements. Get in touch to see how we can help.