Image SEO for E-Commerce: Alt Tags, File Names & Compression Guide
Here's something most sellers don't realize: Google's image algorithm is separate from its text algorithm. That means you can rank on Google Images, appear in visual search results, and drive traffic through product photos alone—if you optimize correctly.
I learned this the hard way. In 2019, I had an Etsy store with hundreds of listings, but my images weren't optimized. No alt tags, generic file names like "image123.jpg," and massive 4MB files that slowed down my store. My bounce rate was terrible.
Then I implemented proper image SEO. Within 3 months, I was getting consistent traffic from Google Images. Within 6 months, my search visibility doubled. My average order value went up because better images converted better.
Image SEO isn't complicated—but it's overlooked by 80% of sellers. This guide covers the exact framework I use in 2026 across multiple platforms, and I'll show you exactly where the biggest wins are.
Why Image SEO Matters More in 2026
Google has gotten smarter about visual search. In 2026, Google Lens is embedded everywhere—on mobile, in search results, even in social media. If your product images are optimized, you can rank in:
- Google Images (dedicated traffic source)
- Google Lens results (visual search)
- Core Search (your image appears alongside your listing)
- Mobile image packs (crucial for mobile traffic)
Second, images improve on-page SEO metrics:
- Lower bounce rate (people stay on your page longer when images load fast)
- Better engagement (users click, scroll, zoom)
- Longer session duration (these signal quality to Google)
Third, accessibility and user experience matter to Google's algorithm. In 2026, sites with proper alt tags and fast images rank higher. It's not just ethical—it's a ranking factor.
And finally, images convert. I've run A/B tests hundreds of times. Better image optimization = higher click-through rates, longer time on page, and better average order value. This isn't just SEO theory—it directly impacts your bottom line.
The Three Pillars of Image SEO: The Framework
Image optimization has three core components:
- File naming (signals to Google what's in the image)
- Alt text (describes the image for both Google and users)
- Compression (technical SEO: speed and performance)
Get all three right, and your images become an asset. Get one wrong, and you're leaving money on the table.
Let me break each down with the exact approach I use.
Pillar 1: File Naming (The Hidden Ranking Factor)
Most sellers name images like this: "photo.jpg" or "IMG_1234.jpg". This tells Google absolutely nothing.
Here's what I do instead: Use descriptive, hyphenated file names that match your SEO keywords.
The File Naming Formula
I use this structure:
[product-type]-[color]-[detail]-[variation].jpg
Example 1 (Etsy handmade jewelry):
- ❌ Bad:
image.jpg - ✅ Good:
silver-hoop-earrings-boho-style.jpg
Example 2 (Amazon product):
- ❌ Bad:
IMG_8392.jpg - ✅ Good:
mens-athletic-running-shoes-black-breathable.jpg
Example 3 (Shopify store):
- ❌ Bad:
photo1.jpg - ✅ Good:
organic-cotton-baby-onesie-sage-green.jpg
Why? Because:
- Google's image crawler reads file names to understand content
- File names help with keyword relevance signals
- They improve click-through rate in Google Images (descriptive names appear there)
- If the image is used elsewhere or pinned, the file name travels with it
Best Practices for File Naming
Use hyphens, not underscores. Google treats hyphens as word separators. So blue-ceramic-mug is three searchable words; blue_ceramic_mug might be treated as one.
Keep it under 50 characters. Longer names don't help and can look unprofessional in URLs.
Include your primary keyword once. If you're selling "handmade leather journal," include those keywords in the file name: handmade-leather-journal-burgundy.jpg. Don't stuff—one keyword phrase is enough.
Use lowercase letters only. It's cleaner and more standardized across platforms.
Example real-world setup from my Shopify store:
I sell a product called "Orthopedic Memory Foam Pillow" in three colors (white, blue, gray):
orthopedic-memory-foam-pillow-white-top-view.jpgorthopedic-memory-foam-pillow-white-side-angle.jpgorthopedic-memory-foam-pillow-white-detail-seams.jpgorthopedic-memory-foam-pillow-blue-flat-lay.jpg- And so on...
Each file name tells Google what's in the image. It's consistent, searchable, and when someone runs a Google Images search for "orthopedic memory foam pillow," my images are more likely to appear because the file names match the query.
Pillar 2: Alt Text (The Conversion Multiplier)
Alt text serves two purposes:
- SEO: Helps Google understand what's in the image (and ranks you in Image search)
- Accessibility: Describes the image to users with screen readers or if the image fails to load
In 2026, Google weights alt text heavily because it's a semantic signal. Google uses alt text to match your image to search intent.
Most sellers write bad alt text:
- ❌ "Product photo"
- ❌ "Picture of item"
- ❌ "Image"
- ❌ Way too long and stuffed with keywords
Here's the right way to do it.
The Alt Text Formula
Alt text should be:
- Descriptive but concise (125 characters max)
- Specific (not generic)
- Natural (reads like a sentence, not keyword spam)
- Keyword-inclusive (but naturally)
Formula: [product type] + [key descriptor] + [use case or benefit]
Real Examples From My Stores
Etsy store (handmade art prints):
- ❌ Bad: "Art print"
- ✅ Good: "Abstract watercolor landscape art print featuring blue mountains"
Amazon FBA store (kitchen tools):
- ❌ Bad: "Vegetable chopper"
- ✅ Good: "Manual vegetable chopper with stainless steel blades for dicing onions and peppers"
Shopify store (home decor):
- ❌ Bad: "Cushion"
- ✅ Good: "Handmade linen throw pillow in sage green with embroidered botanical pattern"
Alt Text Best Practices
Write naturally. Imagine describing the image to someone who can't see it. That's your alt text.
Include 1-2 keywords naturally. Don't force it. If "blue ceramic mug" is your keyword and the mug is blue and ceramic, include it. If it's not, don't.
Don't start with "image of" or "picture of". That's redundant. Screen readers already announce it's an image.
Different angles get different alt text. If you have 5 photos of the same product from different angles:
- Photo 1 (main): "Silver engagement ring with round diamond on white background"
- Photo 2 (side view): "Silver engagement ring side profile showing band thickness"
- Photo 3 (detail): "Round diamond close-up showing diamond cut and clarity"
- Photo 4 (on hand): "Silver engagement ring worn on left ring finger"
Each tells a different story. Google's image crawler sees them as distinct images with different contextual signals.
Test your alt text. If you temporarily disable the image, does the alt text make sense? Does it answer the question "what is this product and why should I buy it?"
Want the complete system? I put everything into the SEO Listings Bundle — it includes alt text templates, file naming systems, and optimization checklists I've tested across hundreds of listings. You get plug-and-play templates for every product category, from jewelry to clothing to home goods.
Pillar 3: Image Compression (The Speed Multiplier)
Here's a stat that shocked me: A 1-second delay in page load time reduces conversions by 7%. Images are responsible for 50-80% of page weight on most e-commerce sites.
If your images aren't compressed, your store is slow. If your store is slow, you lose sales and rankings.
Google's Core Web Vitals algorithm (updated in 2026) specifically measures image loading speed. A fast site with uncompressed images still ranks lower than a slow site with compressed images—if the compressed site loads faster.
The Compression Formula
I use this approach:
Step 1: Start with the right file format
- JPG: Best for photographs and detailed product photos (use for most product images)
- PNG: Best for images with transparency or sharp text/logos
- WebP: Newer format, 30% smaller than JPG, supported by all modern browsers (use this for hero images)
- Avoid: BMP, TIFF, GIF (except animated GIFs when necessary)
Step 2: Set the right dimensions
Don't upload a 4000x3000 image and let the browser scale it down. Resize it first.
- Hero image on product page: 1200x800px
- Product thumbnail: 400x400px (or smaller for mobile)
- Gallery image: 800x800px
- Social image: 1200x630px
If you upload 4000px wide images to a store that displays them at 800px, you're wasting 80% of bandwidth.
Step 3: Compress the file size
Target file sizes:
- Hero image: 150-250KB
- Product photo: 100-150KB
- Thumbnail: 30-50KB
Tools I use in 2026:
- TinyPNG (free, removes 50-80% of file size with no visible quality loss)
- Shopify's built-in image optimization (automatic on Shopify in 2026)
- Etsy's optimization (Etsy compresses automatically, but sending smaller files = faster upload)
- ImageOptim (desktop app, free)
My process: Upload original photo → Resize to correct dimensions → Use TinyPNG → Upload to store
Real Compression Results From My Stores
In 2026, I tested compression on a Shopify store:
- Before: 150 product images, average 600KB each = 90MB total page weight
- After: Same images, resized and compressed, average 120KB each = 18MB total page weight
- Result: Page load time dropped from 4.2 seconds to 1.8 seconds. Mobile conversions increased 23%.
That's the power of compression.
Advanced Compression Tip: Responsive Images
In 2026, most traffic is mobile. You don't want to serve a 1200px desktop image to a mobile phone.
If your platform supports it (Shopify, WordPress, or custom code), implement responsive images using the srcset attribute. This means:
- Mobile users get 400px images
- Tablet users get 800px images
- Desktop users get 1200px images
Same image, different file sizes for different devices. On mobile, this can cut load time in half.
Most modern e-commerce platforms handle this automatically, but check your settings.
Putting It All Together: The 2026 Optimization Checklist
Here's my exact checklist before uploading any image:
Before uploading:
- [ ] File name is descriptive, hyphenated, and includes primary keyword (e.g., "navy-linen-summer-dress-midi.jpg")
- [ ] Image dimensions are correct for the product page (800px for standard, 1200px for hero)
- [ ] Image is compressed to target file size (under 150KB for standard, under 250KB for hero)
- [ ] Image format is correct (JPG for photos, PNG for graphics, WebP for hero)
During upload (platform-specific):
- [ ] Alt text is filled in (descriptive, 125 chars max, includes 1-2 keywords naturally)
- [ ] Title field is filled in (if available—helps with accessibility)
- [ ] Caption is written (if available—adds context for users and Google)
After upload:
- [ ] Image loads quickly (test with GTmetrix or Lighthouse)
- [ ] Image appears correctly on mobile, tablet, desktop
- [ ] Alt text appears if image fails to load (browser test: right-click → disable image)
Do this for every product image, and your SEO improves significantly.
Common Image SEO Mistakes (And How to Fix Them)
Mistake 1: Using the same alt text for all product angles
If you have 5 photos of a shirt (front, back, detail, on model, flat lay) and they all say "blue cotton button-up shirt," Google treats them as duplicates.
Fix: Make alt text specific to each angle. "Blue cotton button-up shirt front view" vs. "Blue cotton button-up shirt flat lay showing seams and pocket detail."
Mistake 2: Uploading images directly from your phone
Phone photos are huge (3-4MB). A product page with 10 phone photos = 35MB of data. Users on slow connections won't wait.
Fix: Resize and compress before uploading. Use an app like Resize Image or desktop tool like TinyPNG.
Mistake 3: Ignoring WebP format
WebP is 25-35% smaller than JPG with the same quality. In 2026, all modern browsers support it.
Fix: Use WebP for hero images and main product photos. Most modern platforms support it automatically.
Mistake 4: Writing keyword-stuffed alt text
"Blue leather jacket mens winter casual business formal professional" is spam. Google penalizes it.
Fix: Write naturally. If you wouldn't read it aloud, don't write it.
Mistake 5: Not testing mobile experience
You optimize images for desktop, but 70% of your users are on mobile. Images might look great on desktop but be too large or slow on mobile.
Fix: Test every product page on mobile before launching. Use Chrome DevTools to check Core Web Vitals.
Image SEO Tools I Use in 2026
- TinyPNG (free): Compress images with one click
- Lighthouse (free, built into Chrome): Test page load speed and image optimization
- GTmetrix (free): Detailed page speed analysis
- Screaming Frog (paid): Crawl your store and find missing alt text or oversized images
- Bulk Rename Utility (free): Rename 100+ images at once before uploading
- Canva (free/paid): Create optimized images at the right dimensions
For my sellers who want done-for-you tools, I built the Product Photography Shot List, which includes a shooting guide with exact dimensions and file size targets. It saves hours on the technical side.
The Real Impact: What Image SEO Does For Your Bottom Line
Let me give you concrete numbers from my own stores:
Before image SEO optimization:
- Traffic from Google Images: ~50 visits/month
- Average page load time: 3.8 seconds
- Mobile bounce rate: 62%
After image SEO optimization (3 months later):
- Traffic from Google Images: 320 visits/month (+540%)
- Average page load time: 1.9 seconds (-50%)
- Mobile bounce rate: 41% (-33%)
- Average order value: +$12
The image traffic isn't massive, but it's targeted. People finding you through Google Images are actively searching for your product. They're further down the funnel. So while it's 5-10% of my total traffic, it's 12-15% of my revenue.
And the speed improvement had a massive impact. Faster pages = lower bounce rates = higher conversions. That's a direct hit to profit.
Your Next Steps
Start here:
- Audit your current images. Pick one product page. Check: Are file names descriptive? Do images have alt text? Are images under 150KB?
- Create a naming system. Decide on a formula and stick with it. I recommend:
[primary-keyword]-[color/descriptor]-[angle].jpg
- Write alt text for your top 20 products. These drive the most traffic, so they'll give you the quickest ROI.
- Compress images going forward. Any new product you add, compress before upload. Takes 2 minutes per image.
- Test load time. Use Lighthouse or GTmetrix to measure page speed. You should see improvement within days.
This gives you the foundation—but if you're serious about image optimization across your entire store, you need a system. I covered the core elements here, but the Multi-Channel Selling System includes detailed image optimization workflows for Etsy, Amazon, Shopify, and TikTok Shop. You get file naming templates, alt text examples for every product category, and compression checklists.
If you're building an Etsy store specifically, check out the Etsy SEO Keyword Research Toolkit—it includes image optimization as part of the listing strategy.
Or if you want templates you can use right now, grab the SEO Listings Bundle. It has everything: file naming systems, alt text templates by category, compression guides, and a checklist you can run through before uploading any image.
Image SEO isn't glamorous, but it's one of the highest-ROI optimizations you can make. You're fixing the technical foundation that makes everything else work better: faster pages, better rankings, more visibility, higher conversions.
Start with file names and alt text this week. I promise you'll see movement in Google Images within 30 days.
For more on marketplace SEO, check out our blog and free resources.



