Image Filename SEO
Image filename SEO is the practice of naming image files with short, descriptive, hyphen-separated words so search engines and users can better understand the image content.

Key takeaways
- Descriptive filenames improve image search relevance and user understanding.
- Use hyphens, lowercase, and short phrases.
- Avoid generic names and keyword stuffing.
- Filenames work best alongside alt text and page context.
A descriptive filename helps search engines and users quickly identify what an image shows.
Example: Good vs. Bad Filenames
- Bad:
IMG_4837.jpg— generic, no description - Bad:
product-1.jpg— vague, doesn't describe the image - Good:
red-leather-wallet.jpg— describes the item and color - Good:
chocolate-chip-cookie-recipe.jpg— describes content and context
Quick Start: 5 Steps to Name Images for SEO
- Describe the image — Write what the image actually shows (e.g.,
golden-retriever-puppy.jpg). - Use hyphens — Separate words with hyphens, not underscores or spaces.
- Keep it short — Aim for 3-5 words; avoid long strings.
- Include a keyword naturally — If it fits, add a relevant keyword that matches the image and page topic.
- Use lowercase — Save filenames in lowercase to avoid case-sensitivity issues on servers.
How to Judge a Good Filename
- Descriptive? Does it tell what the image shows?
- Concise? Is it short (under 50 characters)?
- Hyphenated? Are words separated by hyphens?
- Keyword-relevant? Does it include a keyword that naturally matches the image?
- Lowercase? Is the entire filename lowercase?
Common Mistakes to Avoid
- Generic names —
IMG_4837.jpg,pic.gif,1.jpg - Keyword stuffing —
best-cheap-red-running-shoes-for-men-2025.jpg(too long and spammy) - Spaces or underscores — Use hyphens instead
- Mismatched content — Naming a file
blue-car.jpgwhen the image shows a red bicycle
Next step
FAQ
How should I name images for SEO?
Use short, descriptive filenames with hyphens between words. Describe what the image shows, not the page. Avoid generic names like IMG_123.jpg. Include a relevant keyword naturally if it fits. Keep filenames lowercase and avoid spaces or underscores.
Does image filename affect SEO?
Yes, but it is a supporting signal. Descriptive filenames help search engines understand image content and can improve image search relevance, especially when combined with alt text, page context, and other on-page signals.
Related topics
Sources
- Google Search Central — Image SEO Best Practices — Primary source for Google’s guidance on descriptive filenames, image relevance, and supporting image SEO practices.
- Google Search Central — Google Images documentation — Confirms Google’s recommendation to use short, descriptive filenames and avoid generic names.
- Google Search Central — Create great titles and snippets — Useful companion guidance for on-page context, since filenames work best with strong surrounding page signals.
Reviewed by Lucía Marín, Founding editor.