Unlike Etsy, Shopify keeps your image filename in the URL permanently. That one technical difference makes Shopify image filename optimization one of the easiest long-term SEO wins most store owners are quietly ignoring.
On Etsy, a descriptive filename matters only in a narrow window before Etsy's system renames the file. On Shopify, a filename you choose today stays in your image's URL for the entire lifetime of the product listing. It becomes a permanent, crawlable signal that Google indexes, ranks, and associates with your product for as long as you keep it in your store.
This guide explains the technical reason Shopify filenames matter more, the exact formula to follow, real examples across common Shopify niches, and how to retroactively improve filenames on existing products.
Why Shopify Image Filenames Matter More Than on Other Platforms
Shopify Preserves Your Filename
When you upload an image to Shopify, it does not rename the file. Your original filename becomes the base of the image's CDN URL. Upload a file named sterling-silver-ring-minimalist-women.jpg and your store serves it at a URL containing exactly that string:
yourstore.myshopify.com/cdn/shop/files/sterling-silver-ring-minimalist-women.jpg
Every word in that filename is now part of a permanent, publicly accessible URL. Google crawls it, indexes it, and uses it as a signal for what the image depicts. A descriptive filename is a keyword-rich URL. A camera default name is dead weight in a URL that will exist as long as your product does.
The CDN URL Structure
Shopify generates multiple size variants of every uploaded image for use across different contexts — thumbnails, product pages, mobile displays, zoom views. Each variant URL is built from your original filename as its base:
/cdn/shop/files/your-filename_100x.jpg ← thumbnail
/cdn/shop/files/your-filename_400x.jpg ← product grid
/cdn/shop/files/your-filename_800x.jpg ← product page
/cdn/shop/files/your-filename_1200x.jpg ← zoom
The keyword value in your filename carries through to every one of these derivative URLs. One good filename decision multiplies across the entire set of size variants Shopify generates.
Why This Changes the Strategy
On Etsy, filename optimization is a speculative tactic. You rename the file hoping Google crawls it before Etsy's processing replaces it — a brief window with no guarantee. The effort is worth making, but the impact is limited.
On Shopify, filename optimization is a durable investment. The filename you choose is the filename Google indexes. There is no processing window to race. The signal is permanent, and it compounds over time as the URL accumulates crawls, clicks, and ranking history.
This makes Shopify filename optimization genuinely high-value — not a marginal tactic but a foundational one.
The Shopify Filename Formula
The Core Structure
[material]-[product-type]-[style]-[color]-[occasion].jpg
Applied to a real Shopify product: organic-cotton-tshirt-women-oversized-white.jpg
This structure covers the dimensions of how buyers search: what it is made of, what it is, how it looks, and who it is for. Each element adds a distinct keyword layer to a single URL.
Why This Order Matters
Put the most valuable keyword first. Google weights earlier words in a URL more heavily than later ones — the same principle that makes slug structure matter for page URLs applies to image filenames. For most products, material or product type is the primary search term buyers lead with.
Consistent ordering also makes your filenames scannable in a file manager or Shopify media library: all cotton products group together, all linen products group together, all ceramic products group together — which simplifies catalog management alongside SEO.
Character and Format Rules
- Hyphens only — Shopify's URL convention uses hyphens throughout; image filenames should match
- All lowercase — prevents case-sensitivity edge cases across CDN variants
- No spaces, underscores, or special characters — these create URL encoding issues (
%20,_,%26) - Under 60 characters — enough for 5 to 7 meaningful keywords; longer filenames add diminishing returns
Filename Examples by Shopify Category
The best filenames are specific enough to describe a real product, keyword-rich enough to match buyer searches, and short enough to remain clean in a URL.
Fashion and Apparel
organic-cotton-tshirt-women-oversized-white.jpg
merino-wool-sweater-men-crew-neck-navy.jpg
linen-midi-dress-women-wrap-sage-summer.jpg
ribbed-cotton-joggers-women-high-waist-oatmeal.jpg
Home Goods
ceramic-vase-handmade-matte-white-minimalist.jpg
linen-throw-pillow-cover-natural-18x18.jpg
marble-coffee-table-round-white-gold-legs.jpg
bamboo-cutting-board-large-handle-kitchen.jpg
Beauty and Skincare
vitamin-c-serum-30ml-brightening-vegan.jpg
gentle-foaming-cleanser-sensitive-skin-150ml.jpg
rosehip-face-oil-organic-anti-aging-30ml.jpg
spf-50-tinted-moisturizer-light-medium.jpg
Electronics Accessories
wireless-charging-pad-15w-fast-charge-black.jpg
phone-case-iphone-15-clear-shockproof-magsafe.jpg
laptop-stand-adjustable-aluminum-portable.jpg
usb-c-cable-braided-6ft-fast-charge-white.jpg
Pet Products
adjustable-dog-harness-mesh-breathable-small.jpg
cat-scratching-post-sisal-72-inch-multi-level.jpg
stainless-steel-dog-bowl-non-slip-large.jpg
organic-catnip-toy-mouse-crinkle-felt.jpg
Notice that every example names the material or primary category first, followed by specific descriptors a buyer would actually include in a search query. For guidance on how to write alt text to complement these filenames across different product types, see how to write alt text for every product type.
Filenames and Shopify's SEO URL Structure
How Filenames Affect Your Image URLs
Shopify's CDN URL structure means your image filename is not just metadata — it is the URL itself. A buyer or crawler who sees your image in Google Images and inspects the URL will see exactly the filename you chose. A descriptive, keyword-rich filename produces a URL that signals relevance. A generic or default filename produces a URL that tells Google nothing.
This distinction matters for how Google evaluates image search relevance. When the filename, the alt text, and the surrounding page content all describe the same product in consistent terms, the cumulative signal is stronger than any single element alone.
The Variant Image Strategy
Each product variant should have a filename that reflects its specific attributes. Using the same base filename across variants produces near-duplicate URLs that compete with each other rather than targeting distinct searches.
linen-dress-women-sage-green.jpg ← ranks for "sage green linen dress"
linen-dress-women-dusty-blue.jpg ← ranks for "dusty blue linen dress"
linen-dress-women-terracotta.jpg ← ranks for "terracotta linen dress"
Each variant URL becomes its own distinct Google Images ranking opportunity. Buyers searching for a specific colorway find the variant image that matches their search — not a generic image that applies to all three.
Filename Mistakes That Hurt Shopify SEO
Mistake 1: Default Camera and Phone Names
IMG_4521.jpg, 20260615_143022.jpg, DSC_0034.jpg
On Etsy, a camera default name is a wasted pre-upload window. On Shopify, it is a permanent, meaningless URL that Google indexes and associates with your product indefinitely. The cost compounds over time.
Mistake 2: Generic Single Words
shirt.jpg, vase.jpg, serum.jpg
A single generic word is better than a camera default but still leaves most of the SEO potential unused. It cannot rank for specific searches. It provides no differentiation across your catalog. And on Shopify, that generic filename is permanent — making it a missed opportunity that lasts as long as the product listing does.
Mistake 3: SKU Codes and Internal References
sku-48291x.jpg, item-ref-2094b.jpg
Internal product codes mean nothing to Google and nothing to buyers. They contain zero keyword value. Keep SKUs in your product admin records, not in publicly indexed image URLs.
Mistake 4: Duplicate Filenames Across Products
Using sequential placeholders across an entire catalog — product-1.jpg, product-2.jpg, product-3.jpg — creates a set of permanent URLs with no descriptive content. Each one is a squandered CDN URL that will exist in Google's index for the life of your store.
Mistake 5: Underscores Instead of Hyphens
organic_cotton_tshirt.jpg vs organic-cotton-tshirt.jpg
Google treats hyphens as word separators in URLs. Underscores do not carry the same guarantee. Shopify's own URL structure uses hyphens for product slugs, collection slugs, and page slugs — image filenames should follow the same convention.
How to Rename Images Before Uploading to Shopify
Method 1: Manual Renaming
On Windows: right-click the file, choose Rename, type the new name, press Enter. On Mac: single-click the filename, type the new name, press Return.
Time: 10 to 15 seconds per file. Practical for stores with 10 to 20 products. For larger catalogs or ongoing product photography, manual renaming becomes a bottleneck.
Method 2: Batch Renaming Tools
Windows: PowerToys PowerRename supports regex-based batch renaming, useful for stripping camera prefixes or adding consistent product category prefixes across groups of files.
Mac: Automator's Rename Finder Items action handles sequential numbering and prefix/suffix additions. The Finder also supports basic batch rename natively via right-click.
The limitation is the same as with Etsy: batch tools apply consistent rules rather than unique descriptive names. They cannot analyze an image of a ceramic vase and generate ceramic-vase-handmade-matte-white-minimalist.jpg. They can only apply the patterns you specify in advance.
Method 3: AI-Powered Renaming
For Shopify catalogs where filenames are permanent, getting them right matters more than on any other platform. ImgSEO analyzes each product image visually and generates a descriptive, SEO-optimized filename from the image content. Upload a batch of product photos and download them with optimized filenames already applied — no manual typing, no pattern rules to configure.
Given that Shopify preserves filenames indefinitely, the return on AI-generated filenames is higher here than on platforms that strip them.
Renaming Existing Shopify Product Images
The Retroactive Opportunity
One advantage Shopify provides that most platforms do not: you can improve your existing image filenames. Re-upload an image with a new, descriptive filename through the Shopify admin, add it to the product, and remove the old image. The new CDN URL contains the optimized filename going forward.
This is not available on Etsy (where filenames are replaced on upload regardless) and is impractical on many hosted platforms. On Shopify, retroactive filename optimization is a real option.
When It Is Worth Doing
Prioritize by traffic impact:
- Bestsellers first — high-traffic products get the most return from improved filenames because more visitors and crawls flow through those URLs
- New collections always — establish correct filenames from day one for every new product launch; retrofitting later is extra work
- Low-traffic old products last — products with minimal traffic can wait; the return on updating them is low in the short term
How to Update Without Breaking Links
Re-uploading with a new filename creates a new CDN URL. The old URL may briefly return a 404 before Google de-indexes it. This is an acceptable short-term tradeoff for the long-term SEO gain of a descriptive, permanent URL. For very high-traffic product images where a brief 404 would be disruptive, schedule the swap during a low-traffic period.
Filenames Combined with Shopify's Built-in SEO Tools
Shopify Alt Text Field
Every image uploaded to Shopify has an alt text field in the admin. Optimized filename plus descriptive alt text creates two reinforcing signals — the URL-level keyword and the on-page descriptive label. Both should describe the same product with consistent but not identical phrasing.
For a complete Shopify image SEO setup covering filenames, alt text, and structured data, see the Shopify SEO guide.
Shopify Image Sitemap
Shopify automatically generates an XML sitemap that includes product images. Google uses this sitemap to discover and index your store's image catalog. A descriptive filename strengthens the sitemap entry Google processes — it adds a URL-level signal to the image's sitemap record.
The Three-Layer Shopify Image SEO Stack
The strongest Shopify image SEO setup combines three signals:
- Filename — permanent URL-level signal; indexed directly by Google
- Alt text — platform-level descriptive signal; added through Shopify admin
- Embedded metadata — file-level XMP signal; travels inside the image file itself
Each layer is independent. Each adds signal. All three together create the most complete, redundant, and durable image SEO profile available on the Shopify platform.
The Bottom Line
Shopify keeps your image filename in the CDN URL permanently. That single fact makes filename optimization on Shopify fundamentally different from — and more valuable than — the same tactic on platforms that strip filenames on upload.
The formula is the same across platforms: material, product type, style, color, occasion, separated by hyphens, all lowercase, under 60 characters. The stakes are higher on Shopify because the result is a permanent URL that Google indexes and ranks for the life of your store, not a signal that disappears the moment a platform finishes processing your upload.
You can improve existing filenames by re-uploading — start with your highest-traffic products. For new uploads, optimize from day one.
ImgSEO generates SEO-optimized filenames automatically alongside alt text and embedded metadata for every product photo, in batch. Try it free and see what your Shopify product images look like with every filename signal working correctly.
For more on correcting filename problems across an existing catalog, see how to fix bad image filenames for SEO.
