Shopify product photos

Shopify image file names for SEO, and how to rename them in bulk

What you’ll need

  • Your product photos (JPEG, PNG or WebP files on your computer)

  • Shopify’s product importer, to load the result (optional, only to add the images by CSV instead of one product at a time)

    How to get this: Shopify’s product importer, to load the result

    It’s in Products › Import. Export a backup first: an import can’t be cancelled once it starts.

    Step-by-step guide (opens in a new tab)

Rename my photos

What makes a good image file name

  • Short and descriptive: product, then color or angle. linen-shirt-natural-front.jpg.
  • Lowercase with hyphens between words. Google’s guidance favors descriptive names; hyphens keep words readable.
  • No camera names (IMG_2041, DSC_0042) or long strings of numbers.
  • Don’t end a name in small, medium, large, grande, compact, thumb, icon or pico: Shopify’s Help Center says it adds a suffix to those, because they clash with its image size names.

What Shopify does to your file names

Shopify keeps uploaded names, but swaps spaces and most symbols for underscores and adds a unique ID if a file with that name already exists in your store, including images uploaded straight to products. Renaming to clean, unique names first means the name you chose is the name Google sees.

Alt text matters more

The file name is a small signal; alt text is a bigger one and helps shoppers using screen readers. Write alt text that describes the photo (“Natural linen shirt, front”). The Studio’s CSV fills the Image alt text column, and the Alt Text & SEO Filler can fill alt text for a whole catalog.

More guides