Product and category pages

Do product image file names and alt text matter for an online store?

The short answer

Yes. Google's image guidance says descriptive file names and alt text help it understand what an image shows, which matters for Google Images and product results. Alt text also describes the image for people using screen readers. Write them to describe the product accurately, not to repeat keywords.

How Google reads product images

Google can analyse images, but it still relies heavily on text around them. Google's image SEO guidance in Search Central points to the alt attribute, the file name, the page title and nearby text as signals for what an image shows. For online stores, product photos appear in Google Images, in Shopping results and alongside product listings, so clear signals help your products show for visual searches such as a particular style of lamp or a colour of sneaker.

Writing useful file names

A file called IMG_4021.jpg tells Google nothing. A file called oak-dining-table-6-seater.jpg tells it a lot. Rename images before uploading, using a few words that describe the product, separated by hyphens. You do not need every detail, just the main description. On Shopify and many other platforms, the file name is kept when you upload, so it is worth getting right at the start.

Writing good alt text

Alt text should describe what the image shows, as you would explain it to someone who cannot see it. For a product, that usually means the product name and the detail that photo shows:

  • "Navy merino crew neck jumper, front view"
  • "Six-seater oak dining table in a sunlit dining room"
  • "Close-up of the stainless steel burr grinder"

Different photos of the same product should have different alt text that describes each view, rather than repeating the product name on every image. Keep it short and natural. Stuffing alt text with keywords does not help and makes the store worse for people who rely on screen readers.

Image quality matters as much as labels

Unique, clear photos help more than labels alone. Many stores use the supplier's images, which also appear on every other stockist's site. Your own photos, showing scale, detail or the product in use, give Google and shoppers something new, in the same way unique descriptions do, as covered in manufacturer product descriptions. Images also need to be properly sized so they do not slow the store down, which is covered in whether large images hurt rankings. Merchant Center has its own image requirements, explained in why products are disapproved.

Related questions

More questions about product and category pages

Next questionHow should an NZ-only online store set up shipping in Merchant Center?

Get a free Google Maps and ChatGPT audit for your business

See how your business compares with your competitors on Google Maps across your area, and whether ChatGPT recommends you or someone else.

Request my free audit