Image File Name SEO Moz
Image file name SEO is the practice of naming image files descriptively and consistently so search engines and users can understand the image content more easily.
Start here
- Rename images before uploading — use hyphens, lowercase, 3–5 words.
- Describe the image first, add a keyword only if it fits naturally.
- Avoid underscores, spaces, special characters, and keyword stuffing.
- Image filenames are one signal; pair them with good alt text and page context.
- Use Google Search Console to monitor image search performance.
I used to think image filenames were a waste of time — until I saw how much they matter for image search and site organization.
What I'd do first
- Rename every image before uploading — no exceptions.
- Use hyphens between words, all lowercase.
- Describe what the image actually shows first, then add a keyword only if it fits naturally.
- Keep it to 3–5 words max.
- Avoid special characters, spaces, or underscores.
Plain-English take
Image file name SEO is just giving your images sensible names instead of leaving them as IMG_1234.jpg or image1.png. When you name a file red-leather-sneakers.jpg, Google gets a clue about what's in the picture. It's not a ranking rocket — alt text and page content matter more — but it's a low-effort signal that helps your images show up in search results. Plus, it makes your file library way easier to manage.
When it actually matters
- You run an e-commerce site with hundreds of product images.
- You're building a blog or content site and want every asset to support your SEO.
- You manage a team and need consistent naming conventions so nobody wastes time hunting for files.
- You're optimizing for Google Images traffic — descriptive filenames help there.
What I got wrong
- I used to leave filenames as-is from the camera or CMS. Big mistake —
DSC0001.jpgtells Google nothing. - I tried keyword-stuffing filenames like
best-red-sneakers-for-running-2024.jpg. That's just spammy. Describe the image naturally. - I used underscores because I thought they looked cleaner. Turns out search engines treat underscores as word joiners, not separators.
- I renamed images after uploading once. Broke a bunch of links and had to set up redirects. Rename before you upload.
Next step
Sources
Primary documentation is linked directly. Anything commercial is marked nofollow.
- Google Search Central: Image SEO Best Practices — Primary source for Google's guidance on descriptive filenames, alt text, image sitemaps, responsive images, and supported formats.
- Google Search Central: SEO Starter Guide — Useful supporting guidance for page-level SEO context and how assets should fit the content of the page.
Notes from Callum Bennett.