← Back to blog

How to Write Image Alt Text for Ecommerce Products

·8 min read

Alt text (alternative text) is the hidden description attached to every image on your site. It serves three purposes: accessibility for screen readers, a fallback if images don't load, and an SEO signal for Google Images.

For ecommerce, alt text is especially important. Product images drive a huge share of search traffic through Google Images — and most stores get it wrong.

What alt text actually does

  • Accessibility. Screen readers announce alt text to visually impaired users. Without it, images are invisible.
  • Google Images ranking. Google can't "see" images — it reads alt text, file names, and surrounding content.
  • Context for search engines. Alt text tells Google what an image shows, which helps it understand the page.
  • Fallback display. If an image fails to load, alt text appears in its place.

The rules of good alt text

Rule 1: Describe what the image shows. Not what you want it to rank for.

❌ alt="best mountain bike cheap sale discount"
✅ alt="Trinx M116 mountain bike with black frame and 26-inch wheels"

Rule 2: Include the product name and a key feature. This gives Google specific context without stuffing keywords.

✅ alt="Trinx M116 mountain bike 26-inch wheels front view"
✅ alt="Trinx M116 mountain bike rear detail showing 21-speed gears"

Rule 3: Keep it short. 8–15 words is the sweet spot. Screen readers read alt text aloud, so long descriptions are annoying.

Rule 4: Don't stuff keywords. Google recognizes and ignores obvious keyword stuffing. It also lowers trust.

❌ alt="mountain bike, mountain bike cheap, mountain bike for sale, mountain bike 2026"
✅ alt="Trinx M116 mountain bike for trail riding and daily commuting"

Rule 5: Different images get different alt text. A product with 8 photos should have 8 unique alt texts — one for each angle, detail, or lifestyle shot.

What to write for different image types

Main product shot

[Brand] [Product Name] [color/size] [view angle]
Trinx M116 mountain bike in matte black, front view

Feature/detail shot

[Product Name] [specific feature being shown]
Trinx M116 mountain bike 21-speed gear system close-up

Lifestyle/in-use shot

[Person/scene] using [product] [context]
Cyclist riding Trinx M116 mountain bike on a forest trail

Size/comparison shot

[Product] [size comparison context]
Trinx M116 mountain bike size chart showing frame geometry

Packaging / what's included

[Product] with included accessories
Trinx M116 mountain bike with included assembly tools and manual

When to leave alt text empty

Decorative images — background textures, spacing elements, icons — should have alt="" (empty). This tells screen readers to skip them.

You don't need to write alt text for every single image. But every product image, logo, and content image should have it.

File names matter too

Google also reads image file names. Instead of IMG_4893.jpg, use trinx-m116-mountain-bike.jpg. This is a small signal but takes zero effort.

Use lowercase, hyphens (not underscores), and descriptive words. Never use spaces.

The impact on Google Images

Google Images drives significant ecommerce traffic. For many product categories — furniture, fashion, home decor — image search sends 20–40% of organic traffic.

Ranking in Google Images requires: descriptive alt text, proper file names, fast-loading images, and a page that gives context (title, description, schema). Do all four and your product images will appear in image search results.

Automating alt text at scale

If you have hundreds of products, writing alt text by hand is painful. ProductAI generates alt text for each product based on name, brand, category, and features — so you can process the entire catalog in minutes instead of days.

Generate alt text automatically

ProductAI creates alt text alongside titles, descriptions, FAQs, and keywords — in one generation.

Try ProductAI free →