General Guide

How to Name Images for SEO: Rules, Examples & Batch AI

Kirill Isachenko
Kirill Isachenko
5 min read
TL;DR: Name images for SEO with short, descriptive, lowercase words separated by hyphens that match what is actually in the photo—like oak-standing-desk-home-office.webp instead of IMG_4821.jpg. Avoid keyword stuffing, spaces, and underscores, and use an AI batch renamer like Zush when preparing dozens or hundreds of product or blog images before upload.
Jump to section

Quick answer: to name images for SEO, replace generic camera or export names (IMG_4821.jpg, Screenshot 2026-12-02.png) with short, descriptive, lowercase words separated by hyphens that describe the image accurately—for example minimalist-oak-standing-desk.webp. Keep it to 3–6 meaningful words, skip keyword stuffing, and match the filename to the image’s alt text and surrounding context.

Google’s own image SEO documentation explicitly notes that the URL path and filename give search engines clues about an image’s subject matter. A clean filename will not outrank a weak page by itself, but across an e-commerce catalog, portfolio, or content site, descriptive image filenames improve Google Images visibility, keep CMS media libraries searchable, and reinforce topical relevance.

Good vs bad SEO image filenames

Bad filenameGood SEO filenameWhy it works
IMG_4821.jpgoak-standing-desk-home-office.jpgDescribes the actual subject in plain words
DSC00912_final_v2.pngespresso-machine-portafilter-extraction.pngRemoves camera codes and draft suffixes
best-cheap-running-shoes-buy-running-shoes-2026.webpmens-trail-running-shoe-side-profile.webpAvoids spammy keyword stuffing
Blue_Ceramic_Mug 12oz.JPGblue-ceramic-coffee-mug-12oz.jpgLowercase, hyphens instead of underscores/spaces
Screenshot 2026-12-02 at 10.14.22.pnggoogle-search-console-image-traffic-report.pngTurns a timestamp screenshot into a searchable asset

7 practical rules for SEO image filenames

1. Describe what is actually in the image

Write for a human first. If the photo shows a matte black pour-over kettle on a kitchen counter, matte-black-pourover-kettle.webp is far stronger than a generic site keyword.

2. Use hyphens (-), not underscores (_) or spaces

Google treats hyphens as word separators (blue-ceramic-mug → blue ceramic mug), whereas underscores can join words together and spaces become ugly %20 sequences in URLs.

3. Stick to lowercase ASCII letters and numbers

Mixed case (Product-Photo.JPG) causes broken links on case-sensitive Linux servers and creates duplicate URL variants. Always normalize to lowercase (product-photo.jpg).

4. Keep filenames concise (3–6 words)

Aim for roughly 25–60 characters. Drop filler words like the, and, of, or image-of unless they clarify meaning. Include a model number or SKU only when shoppers actually search for it (for example sony-a7iv-body-front.webp).

5. Do not stuff keywords

Repeating your target keyword three times in a filename looks spammy and adds zero ranking value. One clear, accurate phrase beats a list of synonyms every time.

6. Align filenames with alt text and captions (without duplicating word-for-word)

The filename is a compact label (oak-standing-desk-home-office.webp). Alt text is a natural accessibility description (“Solid oak standing desk with dual monitors in a sunlit home office”). Together they give search engines consistent signals.

7. Rename before uploading—be careful with already-indexed URLs

The best time to optimize image filenames is before uploading to WordPress, Shopify, Webflow, or your static site. If an existing image already drives Google Images traffic, renaming its URL without a 301 redirect can temporarily drop that image from search until Google recrawls it.

How to batch-rename images for SEO with AI

Manually typing SEO filenames for 5 blog images takes two minutes. Doing it for 200 product photos, design screenshots, or client gallery exports is where most teams give up and upload IMG_4821.jpg.

With Zush, you can automate SEO image naming on Mac or Windows in under a minute:

  1. Drop your image folder into Zush (supports JPG, PNG, WebP, HEIC, AVIF, RAW, and PSD).
  2. Choose a lowercase hyphenated Template using Naming Blocks—for example [AI Title] formatted in kebab-case, optionally prefixed with a fixed collection or brand block (acme-[AI Title]).
  3. Preview every proposed filename before a single file changes on disk.
  4. Apply in one click, with persistent Rename History so you can undo the entire batch if needed.

Zush starts with 50 free AI renames (no account, credit card, or API key required), and supports cloud AI, BYOK, or completely offline local models via Ollama and LM Studio.

Frequently asked questions

Do image filenames actually affect SEO rankings?

Yes, as a lightweight relevance signal—especially for Google Images and visual shopping results. Google’s Image SEO guidelines recommend descriptive filenames alongside alt text, structured data, and fast-loading formats like WebP or AVIF.

Should I use hyphens or underscores in image filenames?

Always use hyphens (-). Google explicitly recommends hyphens over underscores for separating words in URLs and filenames.

Should I include the date or brand name in SEO image filenames?

Include the brand or model name when people search for it (such as product photography or software screenshots). Skip dates unless the image is tied to a specific event or yearly release (2026-annual-report-chart.png).

What image format is best alongside SEO filenames?

Use WebP or AVIF for web delivery to keep Largest Contentful Paint (LCP) fast, while keeping descriptive filenames intact (oak-standing-desk.webp).