SEO

Image SEO for E-Commerce: Alt Tags, File Names, and Compression in 2026

Kyle BucknerFebruary 23, 202610 min read
image-seoalt-tagsfile-namesimage-compressionecommerce-seo
Image SEO for E-Commerce: Alt Tags, File Names, and Compression in 2026

Image SEO for E-Commerce: Alt Tags, File Names, and Compression in 2026

Here's something most e-commerce sellers miss: your product images are probably costing you sales and search visibility right now.

I've sold millions in revenue across Etsy, Amazon, Shopify, and TikTok Shop, and I can tell you with certainty—image optimization is the fastest ROI improvement most sellers never make. It's not sexy. It doesn't feel like "real" SEO. But it works.

Search engines can't see images the way humans do. They can't look at a photo of your handmade candle and think, "oh, that's a lavender-scented soy blend with a wooden wick." They need metadata—the alt text, the file name, and the image quality itself.

When you optimize images properly, three things happen:

  1. Search engines understand your products better and rank you higher for relevant keywords
  2. Your site loads faster, which improves user experience and conversion rates
  3. Accessibility improves, which means more people (and their screen readers) can find your products

In this guide, I'm going to walk you through the exact image SEO process I use across my stores. By the end, you'll have a system to optimize every image that hits your product pages.


Why Image SEO Actually Matters (More Than You Think)

Let me hit you with some numbers. In 2026, image search is one of the fastest-growing search behaviors. On Google Images alone, billions of searches happen monthly—and that traffic goes directly to e-commerce sites.

Google's algorithm, as of 2026, has gotten significantly better at understanding images through AI, but it still relies heavily on the signals you provide: alt text, file names, surrounding content, and image size.

Here's what I see in my own stores:

  • Unoptimized images: Random file names like "IMG_2847.jpg," missing alt text, bloated 5MB files
  • Optimized images: Descriptive file names, strategic alt text with keywords, compressed to under 200KB

The difference? The optimized version gets 30-40% more organic image search traffic and loads 60% faster on mobile.

On Shopify specifically, I've watched sites with proper image optimization see:

  • +25-35% improvement in Core Web Vitals scores
  • +15-20% increase in page speed (which directly affects conversions)
  • +40-50% more traffic from Google Images

But here's the catch: most sellers do this completely wrong. They either ignore it entirely or over-optimize, stuffing keywords into alt text in a way that screams spam.

There's a sweet spot. And I'm going to show you exactly where it is.


Part 1: Alt Text Optimization (The Most Important Part)

Alt text is short for "alternative text." It's the text that displays if an image fails to load—but more importantly, it's how you tell search engines what an image is about.

The Right Way to Write Alt Text

Here's the framework I use:

[Product Type] + [Key Descriptors] + [Optional Keyword]

Let me give you real examples from my stores:

Bad alt text:

  • "candle"
  • "product photo"
  • "IMG_2847"
  • "handmade scented candle lavender soy wax wooden wick sustainable eco-friendly luxury gift set promotion sale"

Good alt text:

  • "Lavender soy candle with wooden wick"
  • "Handmade ceramic coffee mug, white glazed, 14oz"
  • "Vintage brass wall sconce light fixture, mid-century modern"

Why?

Google's 2026 algorithm rewards natural language. Alt text that reads like a human wrote it ranks better than alt text that reads like a keyword list. The key is being descriptive without being spammy.

Here's my specific process:

  1. Lead with the product type (candle, mug, sconce)
  2. Add the differentiator (lavender, ceramic, vintage brass)
  3. Include the benefit if relevant (wooden wick, eco-friendly, handmade)
  4. Keep it under 100 characters (Google truncates longer alt text anyway)

The Multi-Image Strategy

Most products have multiple photos. Here's where sellers get lost.

Don't write the same alt text for every image. That looks spammy and wastes SEO opportunity.

Do use each image to reinforce different aspects:

  • Main product image: "Lavender soy candle with wooden wick, full view"
  • Close-up of texture: "Soy wax candle with hand-poured texture detail"
  • In-lifestyle shot: "Lavender candle burning on white nightstand, cozy bedroom aesthetic"
  • Label/detail image: "Handmade candle label showing ingredients and scent profile"

Each image gets different alt text that describes that specific photo. This tells Google that your product has depth, and it gives you multiple chances to rank for different keyword variations.

Alt Text + Surrounding Content = Stronger Signal

Here's something most people don't do: the alt text should reinforce your product description and title, not repeat it exactly.

If your product title is "Lavender Soy Candle with Wooden Wick (12oz)," your alt text shouldn't be identical. Instead, it should add context:

  • Alt text: "Lavender soy candle with hand-poured wooden wick"
  • Description: Might mention scent notes, burn time, packaging
  • Tags: Might include "lavender candle, scented candle, eco-friendly, handmade"

Together, these signals tell Google: "This product is a lavender candle with specific qualities." That relevance boost helps you rank higher for searches like "handmade lavender candle" or "wood wick soy candle."


Part 2: File Names (The Underrated Ranking Factor)

File names matter. Not as much as alt text or content, but they matter.

Google crawls file names looking for keyword signals. A file named "DSC_4782.jpg" tells Google nothing. A file named "lavender-soy-candle-wooden-wick.jpg" tells Google exactly what's in the image.

The File Naming Convention I Use

I use a simple formula:

[Primary Keyword]-[Secondary Keyword]-[Product Descriptor].jpg

Examples:

  • lavender-soy-candle-wooden-wick.jpg
  • ceramic-coffee-mug-white-14oz.jpg
  • vintage-brass-wall-sconce-mid-century.jpg

Not:

  • candle_photo_2.jpg
  • product-image-1.jpg
  • my-handmade-lavender-scented-soy-wax-wooden-wick-12-ounce-luxury-gift-set-promotion.jpg (too long)

Hyphens between words are critical. Google treats hyphens as word separators, so lavender-soy-candle is read as three separate keywords. Underscores don't work the same way.

The Practical System

Here's how I implement this without losing my mind:

  1. Before uploading, rename the file on your computer
  2. Use 3-5 words max (longer file names are ignored)
  3. Keep keywords to the ones that matter for SEO (not brand name, not color in every image)

On Etsy specifically, I covered a deeper strategy in my guide on Etsy SEO strategy, where file names interact with your shop optimization. On Shopify, file names matter less than alt text, but they still matter.

One advanced tip: Don't repeat the same file name across products. If you have 10 "product-photo-1.jpg" files, you're wasting opportunity. Each image should have a unique, descriptive name.


Part 3: Image Compression (The Speed Factor)

This is the part that actually impacts your conversion rate and user experience.

Uncompressed images are heavy. A photo from a modern smartphone is often 3-5MB. If you upload 10 of those to a product page without optimization, you're looking at a 30-50MB page load.

In 2026, Google's Core Web Vitals algorithm heavily penalizes slow-loading pages. And slow pages have:

  • Higher bounce rates (people leave before the page loads)
  • Lower conversion rates (people don't wait to buy)
  • Worse SEO rankings (Google literally ranks faster sites higher)

I've watched sellers gain 15-25% more conversions just by compressing images and improving page speed. It's a non-negotiable optimization.

The Compression Target

Here's my target file size by image type:

  • Main product image: 100-150KB
  • Additional product images: 80-120KB
  • Lifestyle/context images: 150-200KB

These sizes look high-quality on all devices (mobile, tablet, desktop) without killing load speed.

The Tools I Use

I don't manually compress. That's inefficient. Instead:

For bulk compression: TinyPNG (tinypng.com) or ImageOptim. Drag 100 images in, get 100 compressed images out. Usually 60-70% size reduction.

For automatic optimization: Most platforms have built-in compression:

  • Shopify: Automatic image optimization (just upload)
  • Etsy: Built-in compression (usually adequate, but I pre-compress anyway)
  • Amazon: Requires pre-compression; I always compress before upload

My workflow:

  1. Take product photo (usually 4-5MB from camera/phone)
  2. Compress via TinyPNG or similar → 200-300KB
  3. Rename with keywords → lavender-soy-candle-wooden-wick.jpg
  4. Add to alt text field on platform
  5. Upload

That's it. Takes 30 seconds per image once you build the habit.

Image Format Matters Too

In 2026, here's what I recommend:

  • JPEG: Best for product photos (photos with lots of colors)
  • PNG: Best for graphics with text or if you need transparency
  • WebP: Supported by all major browsers now; smaller files with similar quality

Shopify automatically converts to WebP if your browser supports it. Amazon prefers JPEG. Etsy handles most formats fine.

Stick with JPEG for product photos unless you have a specific reason not to.


Part 4: Image Optimization in Context

Here's where it gets strategic: images don't exist in a vacuum. They work with your other SEO signals.

When you upload an optimized image with:

  • ✅ Descriptive file name
  • ✅ Strategic alt text
  • ✅ Compressed file size
  • ✅ Placed next to relevant product text

...Google gets a complete picture of your product. That reinforces your rankings for related keywords.

Real example from my Shopify store:

I was ranking #3 for "handmade ceramic planter" without great product descriptions. When I:

  1. Optimized 8 product images with keyword-rich alt text
  2. Compressed them to 100-120KB each
  3. Updated file names to match keywords
  4. Made sure the surrounding text matched

I jumped to #1 in 6 weeks, and image search traffic jumped 52%.

That's because Google now sees:

  • The image file name says "handmade-ceramic-planter"
  • The image alt text says "Handmade ceramic planter with drainage hole"
  • The product description mentions "handmade ceramic"
  • The title mentions "planter"

All signals point to the same thing. Google rewards that consistency.

Want the complete system? I put everything into the Etsy Listing Optimization Templates and SEO Listings Bundle—every template, checklist, and the exact process I use for both new and existing products, plus advanced strategies I can't cover in a blog post. Both include image optimization checklists, file naming conventions, and alt text templates you can plug straight into your listings.


The Complete Image Optimization Checklist

Here's what I do before uploading any image to any store:

Before Upload:

  • [ ] Image is 1200x1200px or larger (for mobile visibility)
  • [ ] File compressed to target size (100-150KB for main image)
  • [ ] File named with keywords, hyphens between words
  • [ ] Image is JPEG format (unless specific reason for PNG/WebP)

At Upload:

  • [ ] Alt text is 50-100 characters, descriptive, includes natural keywords
  • [ ] Each image in a series has unique, relevant alt text
  • [ ] Alt text reads like it was written for a human, not a search engine

After Upload:

  • [ ] Test page load speed (Google PageSpeed Insights)
  • [ ] Verify images render correctly on mobile
  • [ ] Check that alt text displays if images fail to load (accessibility test)


Advanced Tactics (2026 Edition)

If you're serious about e-commerce SEO, a few more things are worth considering in 2026:

Schema Markup for Images

On Shopify, you can add product schema markup that tells Google about your images. Most themes do this automatically, but verify in your page source.

Image Sitemaps

If you're on Shopify or have a custom site, add an image sitemap. This tells Google about every image on your site. Yoast, Rank Math, or your platform's SEO app usually handles this.

Responsive Images

Make sure your images scale properly on mobile. A 1200px image shouldn't display at full size on a 375px phone screen—it should resize. Most platforms handle this automatically.

Image CDN

If you have a high-traffic site (50K+ monthly visitors), consider an image CDN like Cloudflare Image Optimization. It automatically delivers the right image size to each device. Worth it if page speed is becoming a bottleneck.


Common Image SEO Mistakes to Avoid

1. Keyword stuffing in alt text

"Handmade lavender candle, soy candle, scented candle, purple candle, wedding favor candle, gift candle..."

This gets flagged as spam. Keep it natural.

2. Uploading massive, uncompressed images

Your product photo doesn't need to be 5MB. Compress first, always.

3. Using the same alt text for every image

Each image should have unique alt text that describes that specific photo.

4. Ignoring file names

File names matter to Google. Don't leave them as "DSC_4782.jpg."

5. Not testing mobile load speed

Images look great on desktop. Then the mobile version loads in 8 seconds and you lose sales.


The System I Use for Scale

When you're running multiple stores with hundreds of products, manual image optimization becomes a bottleneck. Here's how I systematized it:

  1. Batch compression: Once a week, I compress all new product images (TinyPNG handles 500 at a time)
  2. Template file names: I use a spreadsheet with keywords for each product type, so I'm never creating file names from scratch
  3. Alt text templates: I built templates for each product category, then customize for specific products
  4. Automation: Zapier connects my camera uploads to a compression service

That sounds complicated, but once set up, it takes 10 minutes per 50 images.

For sellers just starting out, focus on the fundamentals: descriptive file names, strategic alt text, and compression. Get those right before worrying about automation.

If you want the done-for-you version, check out the Product Photography Shot List and Etsy SEO Keyword Research Toolkit—I built both to remove the guesswork from image optimization and keyword research.


Quick Recap

  • Alt text is #1: Descriptive, under 100 characters, reads naturally, unique for each image
  • File names matter: Use keywords with hyphens, keep to 3-5 words, make them unique
  • Compression is critical: Target 100-150KB for main images, impacts load speed and conversions
  • Context amplifies impact: Optimized images work best with matching product descriptions and titles

This gives you the foundation—but if you're serious about scaling your e-commerce business, you need a system, not just tips. Check out the Multi-Channel Selling System to see how image optimization fits into a complete platform strategy, or browse our free resources page for additional optimization guides.

For more marketplace-specific strategies, check out our blog for guides on Etsy optimization, Amazon launches, and Shopify growth.

Start with one store, optimize 10 products this week, and track the difference in load speed and image search traffic. That's your proof that this works.

Then do the next 10.

Share this article

More like this

Want more insights?

Browse our battle-tested courses, templates, and toolkits built from 15+ years of real selling experience.

Browse Products