All posts

How to name product photos for SEO (with examples)

Google recommends short, descriptive image file names instead of IMG_0421.jpg. Here is a simple naming pattern for product photos, with examples for marketplaces and online stores.

SEO file name formula for product photos: brand, product, size and view, with a good example, a bad example and a photoZseo iPhone app screenshot showing file name and alt text
A simple file name formula for product photos: brand, product, size, view.

Most product photos are uploaded as IMG_0421.jpg. That wastes a free signal search engines use to understand the image.

What Google says

Google’s image SEO best practices recommend short but descriptive file names: my-new-black-kitten.jpg is better than IMG00023.JPG. Google also recommends translating file names for localized pages and, for large sites, automating the naming.

A naming pattern for products

Use this order, in lowercase, with hyphens between words:

brand-product-key-attribute-view.jpg

BadGood
IMG_0421.jpgacme-walnut-cutting-board-large-front.jpg
photo1.pngacme-walnut-cutting-board-large-side.jpg
DSC08812.JPGnova-ceramic-mug-350ml-white-lifestyle.jpg

Tips:

  • Keep it short — 3 to 6 meaningful words.
  • Add the view (front, back, side, detail, label, lifestyle) so each image in a listing has a unique name.
  • Don’t stuff keywords. One clear description beats a list of synonyms.
  • Avoid special characters and spaces; non-Latin letters are best transliterated for URLs.
  • Translate for each market, e.g. kirmizi-deri-cuzdan-on.jpg for a Turkish store.

File name, alt text and title work together

The file name is one of three text signals on a product image. The other two are alt text and the text around the image on the page. Keep all three consistent.

Automating it

Renaming hundreds of photos by hand is where most sellers give up. photoZseo names every exported photo from the product’s title and the shot angle, in the language of each store, and writes matching alt text. See also Product photo SEO 2026: the 13 fields.

Frequently asked questions

Do image file names matter for SEO?

Yes. Google's image SEO best practices say the file name can give Google clues about the subject of the image and recommend short, descriptive names.

Should I use hyphens or underscores in image file names?

Use hyphens. They are the common word separator in URLs and keep file names readable, e.g. red-leather-wallet.jpg.

Should file names be translated for other languages?

Yes. Google recommends translating file names for localized versions of your images.