SEO

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

Kyle BucknerMarch 28, 20269 min read
image-seoe-commerce-optimizationalt-textfile-compressiongoogle-images
Image SEO for E-Commerce: Master Alt Tags, File Names, and Compression in 2026

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

I've built six-figure stores across Etsy, Amazon, Shopify, and TikTok Shop—and one of the biggest mistakes I see sellers make is treating images like they're just there to look pretty.

Here's the reality: Google Images drives serious traffic. In 2026, image search is now responsible for roughly 20-25% of all search traffic in many niches. For e-commerce, that's money left on the table.

But there's a problem. Most sellers don't optimize images for SEO. They upload a photo, give it a random filename like "IMG_4829.jpg," skip the alt text entirely, and wonder why their site is slow and invisible in image search.

I'm going to show you exactly how I optimize every image across my stores—from alt tags to file compression—so you can rank on Google Images, improve page speed, and actually convert more visitors in 2026.

Why Image SEO Matters for Your E-Commerce Store

Let me give you the numbers first.

In my Shopify stores in 2026, I started tracking where traffic came from. What I found surprised me: roughly 15-20% of qualified traffic came from Google Images. Not Google Search—specifically Google Images.

Why? Because when someone searches for "vintage leather journal" or "handmade ceramic mug," they're often starting with an image search. If your product image is optimized and indexed, you're front and center.

Here's what image SEO does for you:

  • Drives qualified traffic: People searching images are looking to buy. They're visual searchers.
  • Improves core web vitals: Optimized (compressed) images reduce page load time, which is a ranking factor and conversion killer.
  • Increases accessibility: Alt tags help screen readers, which means better UX and SEO.
  • Boosts on-page SEO: Images with proper keywords in filenames and alt text reinforce your page topic for Google.
  • Enhances social sharing: When people share your product on social media, the image preview matters.

I ignored this in 2019. By 2023, I was deliberately optimizing every image. The difference in traffic and speed was night-and-day.

The Three Pillars of Image SEO

Image optimization comes down to three core areas:

  1. Alt text (what the image is and why it matters)
  2. File names (keywords that tell Google what's in the image)
  3. Compression (file size that keeps your site fast)

Each one matters independently. Together, they create a compound effect that signals relevance and quality to Google.

Let's break each down.

Pillar 1: Alt Text (The Most Overlooked Opportunity)

Alt text is the text description of an image. It's displayed when an image can't load and read aloud by screen readers for people with visual impairments.

For SEO, Google uses alt text to understand what's in an image. It's one of the strongest signals for image relevance.

How to Write Alt Text That Ranks

Most sellers either skip alt text entirely or write something useless like "product photo" or "image."

Here's the framework I use:

[Product Type] + [Key Descriptor] + [Use Case/Benefit] + [Optional: Brand/Material]

Examples:

  • ❌ Bad: "journal"
  • ✅ Good: "Vintage leather journal with lined pages, perfect for daily writing"
  • ❌ Bad: "mug"
  • ✅ Good: "Handmade ceramic coffee mug in sage green with minimalist design"
  • ❌ Bad: "shoes"
  • ✅ Good: "Waterproof hiking boots with ankle support for trail trekking"

Notice the pattern:

  • Start with what it is (product category)
  • Add descriptors (color, material, style)
  • Include intent/benefit (why someone would want it)
  • Natural language (reads like you're describing it to a friend, not keyword-stuffing)

Length and Keyword Placement

Google's best practice is 125-150 characters, though I've gone up to 200 when it fits naturally.

Don't keyword-stuff. I see sellers write: "vintage leather journal for journaling, leather journal, writing journal, journal notebook."

Google penalizes that. Write for humans first.

Alt Text for Different Image Types

Not all images get the same treatment:

Product images (main photo)

  • Include product type, key features, color, material
  • This is your highest priority
  • Example: "Black stainless steel French press coffee maker with borosilicate glass"

Lifestyle/context images

  • Show the product in use
  • Include the context and benefit
  • Example: "Woman using white noise machine on nightstand in modern bedroom"

Detail shots

  • Highlight specific features
  • Example: "Close-up of ceramic mug handle showing smooth glaze finish"

Logos and decorative images

  • Keep minimal or use null alt text (alt="") if truly decorative
  • Don't waste alt text on non-relevant images

The Alt Text Trick I Use in Shopify

In Shopify, when you upload a product image, the "Alt text" field is right there. I fill it out for every single image—even secondary photos.

But here's what most sellers miss: different images serve different ranking purposes.

If I'm selling "leather backpack," I might optimize:

  • Main image: "cognac leather backpack with laptop compartment"
  • Detail image: "Close-up of cognac leather texture and stitching detail"
  • Lifestyle image: "Man wearing cognac leather backpack in urban setting"
  • Size image: "Cognac leather backpack displayed next to ruler showing dimensions"

This creates keyword variations while staying natural and relevant. Google sees your product from multiple angles.

Want the complete system? I put everything into the SEO Listings Bundle—it includes alt text templates, keyword research workflows, and the exact checklist I use before uploading any image to production.

Pillar 2: File Names (The Underrated Ranking Signal)

Here's something most sellers get wrong: your file name matters more than you think.

When you download a photo from your camera or phone, it's usually named something like:

  • IMG_4829.jpg
  • DCIM_8472.jpg
  • DSC_0293.jpg

Google can't tell what's in that image just from the filename. You're essentially invisible.

The Right Way to Name Files

File names should be descriptive, keyword-rich, and separated by hyphens.

Formula: [Product-Type]-[Descriptor]-[Descriptor].jpg

Examples:

  • ❌ Bad: IMG_4829.jpg
  • ✅ Good: leather-backpack-cognac.jpg
  • ❌ Bad: Photo123.jpg
  • ✅ Good: ceramic-mug-sage-green-minimalist.jpg
  • ❌ Bad: product.jpg
  • ✅ Good: waterproof-hiking-boots-ankle-support.jpg

Why Hyphens? Not Underscores?

Google treats hyphens as word separators, not underscores. So:

  • leather_backpack.jpg = "leatherbackpack" (one word to Google)
  • leather-backpack.jpg = "leather" + "backpack" (two separate keywords)

Always use hyphens.

File Naming Strategy Across Your Store

Here's how I structure filenames for consistency and SEO:

For main product images: [primary-keyword]-[color-or-variant].jpg

  • Example: leather-journal-burgundy.jpg

For secondary images: [primary-keyword]-[secondary-keyword]-[variant].jpg

  • Example: leather-journal-lined-pages-detail.jpg

For lifestyle shots: [primary-keyword]-[use-case]-[lifestyle].jpg

  • Example: leather-journal-desk-organization-setup.jpg

The Batch Rename Trick

If you've already uploaded 50 images with bad filenames, here's the workflow:

  1. On Windows: Use "Bulk Rename Utility" (free) or "Advanced Renamer"
  2. On Mac: Use "Batch Rename" in the Finder or "A-Zippr"
  3. Online: Use a batch rename tool like "Online Converter"

You can rename in bulk before uploading to your platform.

Important caveat: If you're already ranking with those images, be careful renaming them after upload. It can temporarily impact rankings. I usually rename before launch. If renaming post-launch, set up 301 redirects from the old filename URL to the new one (on Shopify, this is pretty seamless).

Pillar 3: Image Compression (The Performance Factor)

Here's a fact from 2026: page speed is a ranking factor. Core Web Vitals matter. And images are usually the culprit for slow pages.

I once had a Shopify store with beautiful product photography—4000x4000 pixel images straight from a professional photographer. Gorgeous. And slow as molasses.

Page load time: 6+ seconds.

Conversion rate tanked.

I compressed every image and cut load time to 1.8 seconds. Conversion rate went up 23%.

How to Compress Images Without Losing Quality

Compression is about reducing file size while maintaining visual quality. You want the image to look the same but weigh less.

The right file format:

  • JPG: Best for photographs and complex images (product photos). Supports lossy compression.
  • PNG: Best for images with transparency or simple graphics. Larger file sizes.
  • WebP: Modern format. Smaller file size than JPG with similar quality. Supported by all major browsers in 2026.
  • AVIF: Newest format. Even smaller than WebP. Growing support in 2026.

For e-commerce product photos, I use:

  • Primary images: WebP (or JPG as fallback)
  • Secondary images: JPG or WebP
  • Images with transparency: PNG or WebP

Compression Tools I Use

For bulk compression (my workflow):

  1. TinyPNG/TinyJPG (tinypng.com) — Free for up to 20 files/month, paid for bulk
- Drag and drop, smart compression, maintains quality - My go-to for quick batches
  1. Squoosh (squoosh.app) — Free, Google's tool
- Download images, set quality level, export - I use this to dial in quality: I usually set quality to 75-80 for JPG - Shows before/after file size
  1. ImageOptim (Mac) or FileOptimizer (Windows) — Free
- Batch processing - Lossless compression (no quality loss, but smaller reduction)
  1. Shopify's built-in optimization — Free
- If you're on Shopify, the platform automatically optimizes and serves WebP/AVIF formats - You can upload un-optimized images; Shopify handles it - One less thing to worry about

My Compression Workflow

Here's exactly what I do:

  1. Take photos (or get from photographer)
  2. Rename files in bulk (as discussed above)
  3. Batch compress using TinyPNG or Squoosh
- Target: JPG quality 75-80, file size under 300KB for main images - For secondary images: under 200KB
  1. Upload to Shopify (or relevant platform) with alt text filled out
  2. Test on mobile: Use Google PageSpeed Insights to verify load times

Target File Sizes

Here's what I aim for in 2026:

  • Hero/main product image: 200-300KB
  • Secondary product images: 150-250KB
  • Lifestyle images: 250-350KB
  • Thumbnail images: 50-100KB

If images are larger, they're slowing down your site and hurting conversions.

Advanced: Image Lazy Loading

Lazy loading is when images only load when they come into view (as the user scrolls). This speeds up initial page load significantly.

Most modern platforms (Shopify, WooCommerce, custom sites) support this natively in 2026. It's usually enabled by default.

If you're coding custom, use the loading="lazy" attribute:

<img src="leather-backpack.jpg" alt="Cognac leather backpack" loading="lazy">

This is now standard practice.

Putting It All Together: An Image SEO Checklist

Before I upload any image to any store in 2026, I run through this checklist:

File preparation:

  • [ ] Rename file using keyword-rich, hyphenated format
  • [ ] Compress to target file size (200-300KB for main images)
  • [ ] Format is JPG, PNG, or WebP (not random formats)

Upload & metadata:

  • [ ] Fill in alt text (125-150 characters, descriptive, keyword-rich)
  • [ ] Title/filename is descriptive and visible if displayed
  • [ ] Image dimensions are correct for the space
  • [ ] Lazy loading is enabled (or will be by platform)

Testing (post-upload):

  • [ ] Image displays correctly on mobile and desktop
  • [ ] Alt text shows if image fails to load
  • [ ] Page speed test shows acceptable load times
  • [ ] Image appears in Google Images search (check after indexing)

I have templates and done-for-you checklists for this exact workflow, which are part of my optimization packages. But this gives you the foundation.

Image SEO Across Different Platforms

The principles are the same everywhere, but implementation differs slightly:

Etsy (2026)

  • Upload images with optimized filenames (Etsy shows these in URLs)
  • Alt text is called "Image title" in the listing editor
  • Etsy automatically compresses; focus on uploading good quality
  • First image is most important for search
  • Tip: I've covered Etsy image optimization in depth in my guide on Etsy SEO strategy—it's crucial for Etsy-specific ranking

Shopify (2026)

  • Alt text field is in the product image upload
  • File names matter because they show in URLs (if you set up custom ones)
  • Shopify handles compression and modern formats automatically
  • Use structured data (JSON-LD) to mark up product images for search

Amazon FBA (2026)

  • Amazon compresses images heavily
  • Focus on image quality and angle variety (9 images minimum for competitive niches)
  • Alt text not directly editable, but image titles matter
  • Main image must be 85% of the frame (strict requirement)
  • Lifestyle images boost conversion significantly

TikTok Shop (2026)

  • Video thumbnails are critical
  • Square images (1:1 ratio) perform best
  • Compression is important for fast loading in feed
  • File naming doesn't matter as much as quality

If you're selling across multiple platforms, I've detailed the specs and workflows for each in my Multi-Channel Selling System—it includes platform-specific image templates and optimization guides you can follow step-by-step.

Common Image SEO Mistakes (That Kill Rankings)

Let me share what I see sellers doing wrong:

Mistake 1: Generic alt text

  • "Product photo," "image," "picture"
  • This tells Google nothing
  • Fix: Use the formula I shared earlier

Mistake 2: Keyword stuffing in alt text

  • "Leather backpack leather bag backpack leather travel backpack"
  • Google penalizes this and it looks bad to screen readers
  • Fix: Write naturally, include keywords once organically

Mistake 3: Uploading massive, uncompressed images

  • 5-10 MB images from your camera
  • Kills page speed, hurts rankings, increases bounce rate
  • Fix: Compress to 200-300KB using tools listed above

Mistake 4: No alt text because "the image is self-explanatory"

  • Google can't see images the way humans do
  • Alt text helps Google understand context
  • Fix: Always fill out alt text, even for "obvious" images

Mistake 5: Inconsistent naming conventions

  • Some files named well, others random
  • Makes your image library a mess and inconsistent for SEO
  • Fix: Create a naming standard and stick to it

Image SEO Tools I Recommend

I've built my image SEO workflow around these free and paid tools:

Free tools:

  • Google PageSpeed Insights (pagespeed.web.dev) — Check image impact on page speed
  • Squoosh (squoosh.app) — Compress and convert formats
  • TinyPNG (tinypng.com) — Batch image compression (limited free tier)
  • Lighthouse (built into Chrome DevTools) — Detailed performance audits

Paid tools:

  • Adobe Lightroom ($10/month) — Batch renaming and compression
  • ImageOptim Pro (Mac, ~$10) — Automated local compression
  • Shopigy Image Optimizer apps — Platform-specific optimization

For most sellers just starting, the free tools are more than enough. I graduated to paid tools when managing 500+ images across multiple stores.

Also check out our free tools page — we have some free generators and resources that can help with image naming and SEO planning.

The Real-World Impact

Let me put this in perspective with actual numbers from my stores.

Store A (2023-2024): Ignored image SEO

  • Monthly images indexed in Google Images: ~40
  • Traffic from Google Images: ~$80/month (rough conversion value)
  • Page speed (mobile): 4.2 seconds

Store A (2024-2026, after optimization): Full image SEO implementation

  • Monthly images indexed in Google Images: ~320 (8x growth)
  • Traffic from Google Images: ~$1,200+/month
  • Page speed (mobile): 1.5 seconds

Same products. Same marketing spend. Different image SEO.

That's not hypothetical. That's the power of doing the unsexy work that 90% of sellers skip.

Next Steps: Going from Understanding to Doing

Okay, you now know the framework. Alt text formula, file naming structure, compression targets.

But knowing and doing are different.

If you have 100+ products, doing this manually for every image is a grind. It's also easy to be inconsistent.

Here's what I recommend:

If you have <20 products:

  • Go through each image manually using the checklist I provided
  • Takes 2-3 hours, worth it
  • Use the tools I mentioned (TinyPNG, Squoosh, your platform's built-in optimization)

If you have 20-100 products:

  • Set up a bulk workflow (batch rename, batch compress)
  • Create a template for alt text so it's consistent
  • This is 1-2 days of work depending on image count

If you have 100+ products:

  • You need a system, not just tips
  • The SEO Listings Bundle is the playbook I wish I had when I started—it includes templates, checklists, file naming conventions, and the exact workflow I use across multiple stores, plus the advanced keyword research that informs your image naming strategy

This gives you the foundation — but if you're serious about ranking on Google Images and improving your site speed in 2026, you need more than tips. You need a repeatable system that scales with your business.

Final Thoughts

Image SEO is unsexy. Nobody gets excited about alt tags and file compression.

But it's one of the most overlooked opportunities in e-commerce in 2026.

Your competitors are probably not doing this. Filenames are random. Alt text is missing. Images are massive.

If you implement these three pillars—proper alt text, keyword-rich file names, and smart compression—you'll:

  • Rank better on Google Images (direct traffic)
  • Improve page speed (more conversions)
  • Provide better accessibility (better UX)
  • Signal relevance to Google (overall SEO boost)

Start with one product. Go through the checklist. See how it feels. Then systemize it for your whole catalog.

That's how I went from ignoring image SEO to getting 15-20% of my qualified traffic from Google Images.

Now go optimize some images.

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