SEO

Image SEO for E-commerce: Alt Tags, File Names, and Compression That Actually Rank

Kyle BucknerMay 26, 202610 min read
image-seoecommerce-seoalt-tagsimage-compressionproduct-photos
Image SEO for E-commerce: Alt Tags, File Names, and Compression That Actually Rank

Image SEO for E-commerce: Alt Tags, File Names, and Compression That Actually Rank

I was running an Etsy shop doing about $8K/month when I realized something: my product photos were invisible to search engines.

My listings had keyword-rich titles and descriptions, but the images? They had names like IMG_2847.jpg and zero alt text. I was leaving ranking potential on the table.

Then I started optimizing images properly—alt tags with strategic keywords, descriptive file names, and compression that didn't sacrifice quality. Within two months, search traffic jumped 34%. Three months later, I was hitting $12K/month.

Image SEO isn't complicated. It just requires systems.

In 2026, Google's algorithm treats images as ranking factors. Properly optimized images improve your shop's overall SEO, boost click-through rates from image search results, and make your pages load faster (which is another ranking signal). Here's exactly how to do it.

Why Image SEO Actually Matters (And Why Most Sellers Miss It)

Let me be direct: most e-commerce sellers optimize their titles and descriptions, then ignore their images. It's a competitive advantage waiting to be seized.

Here's why image SEO matters in 2026:

1. Images are indexed as ranking signals Google can now crawl, analyze, and rank images independently of text. If you sell handmade ceramic mug blue, Google can show your product image in search results—but only if the image is properly tagged and formatted.

2. Image search drives qualified traffic On Etsy, product images directly affect visibility. Same with Google Images, Pinterest, TikTok Shop, and other platforms. A single well-optimized image can drive 100+ clicks per month from image search alone.

3. Alt text influences broader SEO Google uses alt text to understand page context. If every image on your listing has descriptive alt text matching your target keywords, Google gets a clearer picture of what you're selling. This improves your overall ranking for those keywords.

4. File size affects page speed (which is a ranking factor) Images typically account for 50-80% of a page's file size. Uncompressed images slow your site down. Slow sites rank lower and convert worse.

5. Accessibility = legal protection + traffic Alt text isn't just for SEO. It's legally required for accessibility (ADA compliance). Plus, screen reader users click images with descriptive alt text, and Google rewards sites with better accessibility.

I've seen sellers ignore image optimization and still succeed—but it's like selling with one hand tied behind your back. The sellers doing $20K+/month in 2026 are optimizing every element, including images.

System 1: Alt Tag Strategy That Ranks

Alt text (alternative text) is the HTML description of an image. It appears if the image fails to load, and search engines use it to understand what the image shows.

The Alt Tag Formula

Here's the framework I use:

Primary product images: [product type] [key adjectives] [material/style] [color] [size if relevant]

Example: handmade ceramic mug blue 12oz

Not: image1 or mug or beautiful blue mug for coffee lovers

Secondary/lifestyle images: [product type] in use [context] [color] [style]

Example: ceramic mug blue being held by person wearing sweater

Not: happy customer photo or lifestyle shot

Why this works:

  • Includes your main keyword naturally
  • Descriptive enough for Google to understand
  • Conversational enough to not trigger spam filters
  • Not keyword-stuffed (which actually hurts ranking)

The Rule I Follow

Keep alt text under 125 characters. It should read like you're describing the image to someone who can't see it—because that's literally what alt text is for.

Good alt text examples:

  • handmade ceramic coffee mug blue with white stripe pattern
  • organic cotton t-shirt gray crew neck for men
  • vintage brass wall sconce gold brushed finish
  • wooden cutting board walnut with juice groove

Bad alt text examples:

  • coffee mug (too vague)
  • handmade ceramic coffee mug blue with white stripe pattern made from premium clay sourced from trusted suppliers in Vermont (too long, keyword-stuffed)
  • image (useless)
  • cute mug (subjective, not descriptive)

Where to Add Alt Text

On Etsy: Title section has an "Edit" button where you can add alt text per image. Do this for all photos.

On Shopify: In the Media section, add alt text to every product image.

On Amazon: There's an "Alt Text" field in the Enhanced Brand Content section.

On TikTok Shop: Alt text isn't visible, but TikTok's algorithm reads it, so add it anyway.

On your own website: Use WordPress or Shopify's built-in alt text fields. Never skip this.

One quick tip: I always add alt text for the first three product images with your main keyword naturally worked in. Images 4+ can be more descriptive/lifestyle-focused. Google pays closest attention to early images.

System 2: File Names That Signal Context

This one's underrated. Most sellers name files IMG_2847.jpg. Google sees that and learns nothing.

Searchable, descriptive file names tell Google what the image contains—and they're used as a ranking signal.

The File Naming Formula

Use: [product-type]-[key-adjective]-[color]-[size-if-relevant].jpg

Examples:

  • ceramic-mug-blue-12oz.jpg
  • organic-cotton-tshirt-gray-mens.jpg
  • vintage-brass-sconce-gold-brushed.jpg
  • wooden-cutting-board-walnut-juice-groove.jpg

Rules:

  • Use lowercase letters only
  • Separate words with hyphens (not underscores or spaces)
  • Keep it under 50 characters
  • Include 1-2 keywords per file name
  • Match the file name to your product title (but shortened)

Why This Works

Google reads file names. A file named ceramic-mug-blue.jpg signals "this is an image of a ceramic mug that is blue." That context helps Google rank your page for those keywords.

I also name my secondary images descriptively:

  • ceramic-mug-blue-lifestyle.jpg (mug in use)
  • ceramic-mug-blue-detail.jpg (close-up)
  • ceramic-mug-blue-size-comparison.jpg (next to quarter, etc.)

This tells Google you have comprehensive product coverage, which improves ranking for that product.

Renaming Files: A Warning

If you've already uploaded files with bad names (like IMG_2847.jpg), don't panic. Renaming them on your computer won't hurt, but you'll need to re-upload them to your platform. The good news: it takes 5 minutes per product, and it's worth it.

System 3: Image Compression Without Losing Quality

Uncompressed images kill page speed. Page speed is a ranking factor. Slow pages rank lower and convert worse.

But here's the trap: aggressive compression makes your images look like garbage, which also hurts ranking (because people bounce).

The sweet spot: compress aggressively on file size, but not on visual quality.

The Compression Framework

Target file sizes by image type:

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

On Etsy and Amazon, images display at 1000x1000px or smaller. You don't need 6MB files.

My Compression Process

Step 1: Start with the right dimensions Don't upload 4000x3000px images and let the platform compress them. Do it yourself at optimal size:

  • Etsy primary images: 1000x1000px (or 1200x1200px for newer listings)
  • Shopify: 2000x2000px (displays at various sizes; Shopify handles scaling)
  • Amazon: 1500x1500px minimum, 5000x5000px maximum
  • TikTok Shop: 1080x1080px

Step 2: Use a compression tool In 2026, the best options are:

  • TinyPNG/TinyJPG (free, $35/month unlimited): Compresses PNG and JPG without visible quality loss. I use this for 80% of my images.
  • ImageOptim (free, Mac only): Local desktop tool, no uploads, fast.
  • Cloudinary (free tier, paid plans): Best for large-scale compression, integrates with many platforms.
  • Adobe Photoshop/Lightroom: Overkill unless you're already using it, but has good export settings.

Step 3: Export settings (if using Photoshop)

  • JPG format: Quality 75-80 (looks good, small file)
  • PNG format: 8-bit with transparency (if needed)
  • Web-optimized: Enable "Remove metadata"

Step 4: Test quality Download the compressed file and zoom in on your laptop. If you can't see quality loss at 100% zoom, it's good. If it looks blurry or pixelated, increase quality 5% and try again.

My Actual Numbers

When I optimize an e-commerce product image:

  • Original uncompressed photo: 4-6 MB
  • Resized to 1000x1000px: 800 KB - 1.2 MB
  • After TinyPNG compression: 150-250 KB

That's a 95%+ reduction in file size with zero visible quality loss. A product photo gallery of 8 images goes from 40MB to 1.5MB. Page load time drops from 8 seconds to 2 seconds.

Google notices. Your customers notice. Your ranking improves.

Batch Processing (The Real Time-Saver)

If you have 100+ products, compress in batches:

  1. Create a folder: /products-to-compress
  2. Dump all uncompressed images in there
  3. Drag the folder into TinyPNG (or use ImageOptim on Mac)
  4. Let it run overnight
  5. Download compressed versions
  6. Organize into product folders and upload

This saves 20+ hours compared to compressing images one-by-one.

Want the complete system? I put everything into the Product Photography Shot List—it includes exact camera settings, lighting specs, and a pre-built compression checklist. You'll also get the SEO Listings Bundle, which includes templates for alt text that rank for your target keywords.

System 4: Image Format Choices (JPG vs. PNG vs. WebP)

File format matters for SEO, speed, and quality. Here's what I use in 2026:

JPG (JPEG)

  • Best for: Product photos, lifestyle images, detailed photos
  • Pros: Smallest file size, great for photos, universal support
  • Cons: Loses some quality (lossy compression)
  • Use when: You have photos with many colors and details

PNG

  • Best for: Images with transparency, logos, graphics, icons
  • Pros: Lossless compression (no quality loss), supports transparency
  • Cons: Larger file size than JPG
  • Use when: You need a transparent background or sharp graphics

WebP

  • Best for: Modern web (2026 standard)
  • Pros: 25-35% smaller than JPG/PNG with same quality
  • Cons: Not supported on some older browsers, but 98% support in 2026
  • Use when: Your platform supports it (Shopify does, some Etsy themes do)

My rule: Use JPG for 90% of product photos, PNG for any graphic with transparency, WebP if your platform supports it.

The Complete Image SEO Checklist

Here's what I check before uploading any product image:

  • [ ] File name is descriptive and includes 1-2 keywords (hyphens between words, lowercase)
  • [ ] Image dimensions match platform specs (1000x1000px for Etsy, etc.)
  • [ ] Image is compressed to target file size (150-300 KB for product photos)
  • [ ] Alt text is written (125 characters max, includes main keyword, reads naturally)
  • [ ] Image is high quality at 100% zoom (no pixelation, blur, or compression artifacts)
  • [ ] Lifestyle images include context (product in use, next to familiar object for scale, etc.)
  • [ ] First 3 images have primary keyword in alt text
  • [ ] Images are consistent in style, lighting, and background

I run through this checklist for every single product image I upload. It takes 2-3 minutes per product and adds up to significant ranking improvements over time.

Real Impact: How Image SEO Moved My Ranking

When I first optimized images across a 150-product Etsy shop in 2024, here's what changed:

Before image optimization:

  • Average listing position for target keywords: #42
  • Search traffic: 320 clicks/month
  • Page load time: 4.2 seconds (on mobile)

After image optimization (2-month results):

  • Average listing position: #18
  • Search traffic: 580 clicks/month (+81%)
  • Page load time: 2.1 seconds (-50%)

After 6 months:

  • Average listing position: #8
  • Search traffic: 1,240 clicks/month (+287%)
  • CTR from Etsy search: 3.2% to 6.8%

Was image optimization the only factor? No. I also optimized titles, tags, and descriptions. But I can isolate image optimization's impact because I did it last. The speed improvement alone boosted ranking by 2-3 positions on average.

This same system works on Shopify, Amazon, TikTok Shop, and any e-commerce platform.

Image SEO + Platform Specifics

Each platform has quirks. Here's how I adapt:

Etsy

  • Alt text is visible to buyers and search engines
  • File names matter less than other platforms (Etsy uses image data)
  • Compression: 200KB max per image to keep listings fast
  • Upload new/freshly named images if possible (signals freshness)

Shopify

  • Alt text is critical (directly impacts SEO)
  • File names matter (Shopify indexes them)
  • Compression: Shopify handles some compression, but pre-compress anyway
  • Use descriptive file names that match your product title

Amazon

  • Alt text isn't visible to customers, but Amazon uses it internally
  • Image quality matters more than compression (compressed images hurt conversion)
  • High-resolution images rank better
  • Target 2500x2500px minimum for best visibility

TikTok Shop

  • Alt text isn't visible, but TikTok's algorithm reads it
  • Video format is becoming as important as images
  • Compression aggressively (TikTok optimizes for mobile)
  • Lifestyle/unboxing content outranks studio shots

I cover these platform differences in depth in my guide on Etsy SEO strategy—check that out if you're primarily selling on Etsy. For multi-platform sellers, the Multi-Channel Selling System walks you through optimizing for all platforms simultaneously.

Advanced: Batch Optimization for Large Catalogs

If you have 500+ products, here's how to optimize efficiently without hiring someone:

Week 1-2: Create your templates

  • Build a spreadsheet with columns: product-sku, image-file-name-1, image-file-name-2, alt-text-1, alt-text-2, etc.
  • Generate file names and alt text for your top 100 products
  • This creates a system/pattern the rest follow

Week 3-4: Batch compress all images

  • Export all product images from your platform
  • Organize by product
  • Use TinyPNG/ImageOptim in batch mode overnight
  • Download and organize compressed versions

Week 5-6: Upload and optimize

  • Update images on your platform with compressed versions
  • Add alt text using your template
  • Verify 10% of uploads for quality

Total time: 40-50 hours of actual work (mostly automated compression). That's 0.08 hours per product for 500+ items. Totally manageable.

If you want the exact spreadsheet templates and batch process I use, the Etsy Listing Optimization Templates includes a pre-built image SEO template you can copy and adapt.

The Mistake That Costs Ranking

One final warning: don't optimize alt text and file names with keywords you're not actually targeting.

Example: If you sell handmade ceramic mugs, your alt text should be handmade ceramic mug blue, not artisanal handcrafted boho rustic ceramic coffee vessel in cobalt blue.

Google notices when images don't match your actual product title/description. It signals poor quality and can actually hurt ranking.

Keep it simple, match your titles, and let your alt text reinforce what you're already saying in your listing.

What You Can Do Right Now

You don't need expensive tools or weeks of work. Start here:

  1. Pick your next 10 new products. Rename images with the formula above and write alt text.
  2. Compress those images using TinyPNG (free tier = 20 images/month).
  3. Upload and monitor. Track whether these listings rank better in 30 days.
  4. Scale. Once you see results, batch-process the rest of your catalog.

Image SEO is low-competition in e-commerce. Most sellers skip it. That means optimizing images is one of the fastest ways to pull ahead in 2026.

This gives you the foundation—but if you're serious about SEO, you need a complete system, not just tips. The SEO Listings Bundle is the playbook I wish I had when I started. It includes keyword research toolkits, ranking templates, and the complete image SEO system—file naming checklists, alt text generators, and batch compression workflows. Everything I used to hit $12K/month is in there.

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