Image SEO for E-Commerce: The Complete Guide to Alt Tags, File Names & Compression
If you're not optimizing your product images for SEO, you're leaving money on the table.
I learned this the hard way. Back when I was scaling my first Etsy store, I'd upload product photos with names like "photo_123.jpg" and generic alt text (if I bothered with alt text at all). I thought it didn't matter.
Then I noticed something strange: my competitors were ranking on Google Images for the same keywords I was targeting. Their images were getting clicks. Mine weren't.
That's when I realized—Google doesn't just index your text. It indexes your images. And if you're not giving Google clear signals about what your images are, you're invisible.
In 2026, image search is bigger than ever. According to recent data, 42% of all Google searches include an image intent. For e-commerce, that number is even higher. And here's what most sellers don't know: image optimization is one of the easiest SEO wins you can grab right now. Most of your competitors aren't doing it.
Let me walk you through exactly how to optimize every image on your store—from file names to compression—and start capturing that image search traffic.
Why Image SEO Matters for E-Commerce (More Than You Think)
Let's be honest: Google Images is a goldmine for e-commerce.
When someone searches for "handmade wooden cutting board" or "vintage leather wallet," they're often searching on Google Images, not the main search engine. They want to see the product before they click.
Here's what happens when you optimize images:
- You rank higher on Google Images — which drives free, high-intent traffic straight to your product pages
- You improve page load speed — which boosts your SEO ranking on the main search results AND improves conversion rates
- You provide better accessibility — which helps both users with screen readers and Google's crawlers understand what your products are
- You stand out in visual search — In 2026, visual search (Google Lens, Pinterest Lens, etc.) is growing fast. Optimized images help here too
I've tested this across multiple stores. When I started optimizing images properly, I saw:
- 15-20% increase in organic traffic from Google Images within 3 months
- 2-3 second faster page load times (compression was the big win here)
- Higher click-through rates from search results (better alt text means better snippets)
The best part? You don't need to be a technical person. This is straightforward stuff. Let's break it down.
Part 1: File Names—Your First SEO Signal
Your image file name is the first thing Google looks at. It's literally metadata that tells Google what the image contains.
Here's the mistake I see all the time:
Bad file names:
- photo_123.jpg
- IMG_4892.JPG
- product.png
- image1.jpg
Good file names:
- handmade-wooden-cutting-board-12-inch.jpg
- vintage-leather-wallet-brown-rfid.jpg
- ceramic-coffee-mug-white-gloss-finish.jpg
See the difference? The bad names tell Google nothing. The good names tell Google exactly what the product is.
Here's my file naming framework (I call it the "Keyword-Descriptor-Spec" system):
[Primary Keyword]-[Descriptor]-[Specific Detail].jpg
Example breakdown:
- Primary Keyword: wooden-cutting-board (your main search term)
- Descriptor: handmade-sustainable (what makes it unique)
- Specific Detail: 12-inch-acacia (the specific variant)
Full name: handmade-sustainable-wooden-cutting-board-12-inch-acacia.jpg
Does this seem long? It is. And that's perfect. Google rewards descriptive file names.
File Naming Rules to Follow:
- Use hyphens, not underscores — Google reads hyphens as word separators. Underscores don't work the same way
- Use lowercase — Not required, but it's cleaner and consistent
- Keep it under 75 characters — Long is good, but not too long
- Use keywords naturally — Don't keyword stuff. "wooden-wooden-wooden-cutting-board.jpg" will actually hurt you
- Include one primary keyword — This is what you want to rank for
- Use dashes between words — wooden-cutting-board, not woodencuttingboard
I typically rename my images before uploading them to my store. On Etsy, Shopify, and Amazon, you can bulk rename them. On Etsy specifically, you can rename them through the listing editor (though I recommend doing it before upload to keep things clean).
Pro tip: Set up a naming convention in your product photography workflow. If you're shooting a new product, name it correctly the moment you download it from your camera. This saves you hours of renaming later.
Part 2: Alt Text—Your Most Powerful SEO Tool
Alt text (short for "alternative text") is the text that appears when an image fails to load. It's also what screen readers read aloud to visually impaired users.
But here's what most sellers don't realize: alt text is huge for SEO.
Google uses alt text to understand what an image shows, especially if Google's image recognition can't figure it out on its own. It's one of the few places where you can literally tell Google what your image contains.
This is where most people mess up. Here's what I see:
Bad alt text:
- "image"
- "product photo"
- "photo"
- (empty)
Good alt text:
- "Handmade wooden cutting board with handles, 12-inch acacia wood"
- "Vintage brown leather wallet with RFID blocking and coin pocket"
- "Ceramic coffee mug with white gloss finish, 12 oz capacity"
The difference is massive. Good alt text is actually a mini-description of the product.
My Alt Text Framework:
I use what I call the "Keyword-Descriptor-Benefit" approach:
[Product] [descriptor adjectives] with [key features/benefits]
Example:
- "Handmade sustainable wooden cutting board with handles and eco-friendly finish"
- "Vintage leather phone wallet with RFID protection and multiple card slots"
- "Non-toxic ceramic dinner plate in matte white, dishwasher safe"
This is 1-2 sentences. Not a paragraph. Not 3+ sentences. Google actually penalizes overly long alt text because it looks spammy.
Alt Text Best Practices:
Include your primary keyword (but only once):
- ✅ "Handmade wooden cutting board with handles and sustainable acacia"
- ❌ "Wooden cutting board wooden cutting board with wooden handles"
Describe what's actually in the image:
- ✅ "Vintage leather wallet in brown with visible stitching and patina"
- ❌ "Get 30% off leather wallets today!"
Be specific about size, color, and material when relevant:
- ✅ "12-inch handmade ceramic bowl in sage green with speckled glaze"
- ❌ "A bowl"
Don't keyword stuff:
- ✅ "Wooden cutting board, sustainable, with handles"
- ❌ "Wooden cutting board wooden cutting board wooden cutting board sustainable handles"
Don't repeat your product title exactly:
- Your title might be: "Handmade Wooden Cutting Board 12 Inch Acacia – Eco-Friendly – Free Shipping"
- Your alt text should be different: "Handmade wooden cutting board with handles, sustainable acacia wood, 12 inches"
Alt text is probably the single easiest SEO win you can get. I've seen sellers jump 10-15 positions in Google Images just by adding proper alt text to their existing listings.
Want the complete system? I put everything into the SEO Listings Bundle — including pre-written alt text templates for every product category, a checklist for optimizing images, and the exact format I use for file names and descriptions. You get plug-and-play templates that work across Etsy, Shopify, and Amazon.
Part 3: Image Compression—The Speed & Ranking Factor
Here's something I see hurt sellers constantly: uncompressed images.
Big, bloated image files slow down your website. And in 2026, page speed is a direct ranking factor for Google. Slow pages rank lower. Period.
But it goes deeper than that. When your pages load slowly, fewer people stick around. Your bounce rate goes up. Your conversion rate goes down.
I tested this on my Shopify store: When I compressed all my product images, I saw:
- 2.8 second average page load time reduction (from 5.2s to 2.4s)
- 7% increase in conversion rate (people actually waited for the images to load)
- Better Google ranking (within 2 months, I saw 5-10 position improvements in organic search)
Image compression is one of the highest ROI optimizations you can do.
How to Compress Images Without Losing Quality
There are two approaches:
1. Compress before uploading (my preferred method)
I use free tools like:
- TinyPNG/TinyJPG (tinypng.com) — Removes unnecessary data while keeping visual quality
- ImageOptim (Mac) or FileOptimizer (Windows) — Local, batch compression
- Squoosh (squoosh.app) — Google's free compression tool with excellent control
Here's my workflow:
- Take the photo
- Export as JPG (not PNG, unless you need transparency)
- Run it through TinyPNG
- Check the file size
File size targets for e-commerce:
- Product images: 100-200 KB (most common)
- Hero/banner images: 150-300 KB (they're bigger, but still compressed)
- Thumbnail images: 50-100 KB
I aim for the smallest file size where the image still looks sharp at full size. TinyPNG typically compresses images 40-60% with zero visible quality loss.
2. Use automatic compression (Shopify, Etsy, Amazon)
All major platforms automatically compress images now (as of 2026). BUT:
- Etsy still lets you upload uncompressed images, which can slow things down
- Shopify's compression is good, but manually compressing first gives you more control
- Amazon's compression is excellent, but I still pre-compress for best results
My recommendation: Always compress before uploading. It takes 2-3 extra minutes per product, but it's worth it.
Image Format Matters Too
In 2026, you have multiple format options:
- JPG: Best for product photos (photographs). Standard choice. Smaller file sizes.
- PNG: Best when you need transparency (like a logo on a white background). Larger files.
- WebP: Newer format. 25-35% smaller than JPG. Not universally supported yet, but growing.
My recommendation: Use JPG for 95% of your product images. Use PNG only if you absolutely need transparency.
Responsive Images (The Advanced Move)
In 2026, most customers browse on mobile. A 2000px wide product image is massive on mobile and wastes bandwidth.
The smart move: Create multiple image sizes and let the browser pick the right one.
Recommended sizes:
- Thumbnail: 300px wide
- Mobile view: 500px wide
- Desktop view: 1000-1200px wide
- Zoom/Detail view: 1500-2000px wide
Shopify does this automatically. Etsy and Amazon don't, but you can still upload multiple images and customers can click to zoom.
If you're serious about this, I'd recommend checking out the Shopify Store Accelerator — it covers image optimization for the Shopify platform specifically, including how to set up responsive images properly.
Part 4: Putting It All Together—Your Image SEO Checklist
Here's what a fully optimized product image looks like:
File name: handmade-ceramic-coffee-mug-white-12oz-glossy.jpg
File size: 150 KB (compressed)
Alt text: "Handmade ceramic coffee mug with white gloss finish, 12 oz capacity, microwave safe"
Image format: JPG
Dimensions: 1000px wide (primary image), compressed to 150 KB
That's it. That's a properly optimized image.
But here's the thing: if you have 50 products with 5 images each, that's 250 images to optimize. Doing this manually takes forever.
The Checklist (Steal This):
Before uploading:
- [ ] File name is descriptive with primary keyword (e.g., product-type-descriptor-spec.jpg)
- [ ] File name uses hyphens, not underscores
- [ ] Image is compressed (aim for 100-200 KB)
- [ ] File format is JPG (unless transparency needed)
- [ ] Image is at least 1000px wide for details
During upload:
- [ ] Alt text describes the product with keyword included
- [ ] Alt text is 1-2 sentences (not 1 word, not 3+ sentences)
- [ ] Alt text describes what's visible in the image
- [ ] No alt text stuffing (keyword only appears once)
After uploading:
- [ ] Check that image loads quickly on mobile
- [ ] Verify alt text is displaying correctly (in case of image failure)
- [ ] Test on Google Images to see if it indexes
If you're launching a new store or relisting old products, this checklist should be your standard operating procedure. Build it into your product photography and listing workflow.
Common Image SEO Mistakes to Avoid
Mistake #1: Same alt text for all images
I see sellers add the exact same alt text to every image of a product:
- Image 1 alt text: "Handmade wooden cutting board"
- Image 2 alt text: "Handmade wooden cutting board"
- Image 3 alt text: "Handmade wooden cutting board"
Wrong. Each image should have unique alt text describing what's different in that image:
- Image 1: "Handmade wooden cutting board from above, showing full 12-inch surface"
- Image 2: "Close-up of handmade wooden cutting board handles and stitching detail"
- Image 3: "Handmade wooden cutting board in use cutting vegetables, lifestyle shot"
Google rewards variety. Different alt text for different images is better SEO.
Mistake #2: Uploading massive, uncompressed images
I once analyzed a Shopify store with pages that took 7+ seconds to load. The culprit? Uncompressed 4MB images.
Compressed, those images would have been 200-300 KB. Same visual quality. 15x smaller file size.
Don't be that person.
Mistake #3: Using generic file names
"product.jpg" tells Google nothing. "photo.jpg" tells Google nothing. "image.jpg" tells Google nothing.
Be specific. Google rewards it.
Mistake #4: Ignoring image captions (when relevant)
On your own blog or product descriptions, you can add captions to images. Google uses captions as another signal.
Example:
[Image of handmade wooden cutting board]
<figcaption>Handmade wooden cutting board made from sustainable acacia, includes serving handles</figcaption>
Captions are extra context that helps Google (and users) understand what they're looking at.
Mistake #5: Not updating old images
If you have an older store with hundreds of listings from 2024-2025 with no alt text or poorly named images, go back and fix them.
I did a full image audit on one of my older stores and re-optimized 200+ images. That single project boosted organic traffic 22% in 3 months.
How to Audit Your Existing Images
If you already have listings live, here's how to find what's broken:
Step 1: Check for missing alt text
- On Etsy: Go to each listing, click "Edit", scroll to images, check if alt text is filled in
- On Shopify: Product → Images → check each image's alt text field
- On Amazon: Use the image manager to check alt text on each image
Step 2: Check file names
- Right-click any product image on your site → "Inspect" (or "Inspect Element")
- Look at the file name in the src attribute
- Is it descriptive or generic? If it's photo_123.jpg, it needs updating
Step 3: Test page speed
- Go to PageSpeed Insights (pagespeed.web.dev)
- Enter your product page URL
- Check the "Opportunities" section for image compression suggestions
Step 4: Use Google Search Console
- Go to Google Search Console → Image Reports
- See which images are indexed and ranking
- Notice which product images get the most impressions
The images getting the most impressions? Those are your priority. Optimize those first for maximum ROI.
The Bottom Line: Image SEO is Underrated
In 2026, image SEO is one of the easiest, highest-ROI optimizations most sellers ignore.
Your competitors probably aren't doing this. Their file names are generic. Their alt text is missing or vague. Their images are massive and slow.
Which means you have a massive opportunity.
Start today:
- Rename your image files using the Keyword-Descriptor-Spec format
- Write descriptive alt text that includes your primary keyword
- Compress your images (aim for 100-200 KB)
- Test your page speed and watch it improve
Do these four things consistently, and I guarantee you'll see results in 30-60 days.
This gives you the foundation—but if you're serious about ranking higher and converting more customers, you need a complete image optimization system, not just tips. The SEO Listings Bundle includes everything: alt text templates for every category, file naming checklists, compression guides, and the exact same framework I've used to drive 6-figure stores. It's the playbook I wish I had when I started.
For more on improving your store's SEO overall, check out our comprehensive blog and grab our free resources on marketplace optimization.



