Shopify Image SEO: Alt Text, File Names, and Speed
Shopify image SEO comes down to three habits: a descriptive file name, one honest sentence of alt text, and an upload near display size. Google ranks the words around a photo, not the pixels, and Shopify’s CDN already handles formats and compression. Build the three habits once and every upload after that works on its own.
Below is what Google reads, the alt text formula I use, and the one speed lever Shopify leaves in your hands.
Key Points
- Google ranks images by the words around them: the file name, the alt text, and the copy on the page.
- Shopify’s CDN serves WebP or AVIF on its own, so a format-converter app solves a problem you do not have.
- Images make up about 40% of the median page’s weight, and upload size is the lever you still control.
- Google Lens handles nearly 20 billion visual searches a month, and 20% of them are shopping-related.
- Shopify allows 512 characters of alt text and recommends 125 or fewer, so one sentence is the whole job.
What Google Reads in Your Images
Google reads the words around your images, not the pixels themselves. Its image best practices name the inputs it ranks on: a short descriptive file name, alt text with no keyword stuffing, and placement next to text about the same thing. Google’s own example is that my-new-black-kitten.jpg beats IMG00023.JPG.
Most stores upload IMG_4032.jpg with empty alt text and forfeit all three signals at once. The fix costs seconds per photo, and it is the reason a great product shot with a junk file name loses to an average shot with an honest one.
The same page carries a detail most guides skip. Google indexes images from the src attribute of an img tag, and it does not index CSS background images at all. A theme that loads product photos as CSS backgrounds has made them invisible to Google Images. A quick view-source on your homepage will tell you whether yours does. Fixing the markup is part of how to do Shopify SEO properly, and it is a five-minute theme edit on most stores.
Name the File Before It Touches Shopify
Naming the file before it touches Shopify matters most, since Shopify sets the file name at upload and the only way to change it later is to delete the image and upload it again. Say what the photo shows, in lowercase, with hyphens between words, and stop there.
| What most stores upload | What to upload instead |
|---|---|
| IMG_4032.jpg | green-waterproof-trail-shoe-side.jpg |
| final_v3_edited.png | oak-standing-desk-walnut-top.png |
| product-1.jpg | 12oz-ceramic-mug-navy.jpg |
| banner2.jpg | fall-hiking-boots-collection.jpg |
Beyond the name, keep the words honest. A file called best-cheap-running-shoes.jpg on a photo of a blue trail shoe tells Google nothing true about the picture, and Google’s guidance treats stuffed names the same way it treats stuffed alt text. Name the file what the photo shows, and nothing else.
From there, the same words belong in the copy near the image. Google says it uses the text around a picture to understand it, so a product photo sitting under a heading that names the product is worth more than the same photo in a bare gallery. Your file name, your alt text, and your product title should agree with each other, and when they do, Google has three votes for the same answer. The same rule runs the grid, which is why collection page SEO starts with the copy above the images and not the images themselves.
How Do You Write Alt Text That Works?
You write alt text that works by describing the image in one honest sentence for someone who cannot see it. Screen readers speak that sentence out loud, and Google treats it as the image’s clearest label, so accessibility and SEO want the same words here. Shopify’s alt text guidance allows 512 characters and recommends 125 or fewer, which is one sentence.
The one-sentence formula
The formula is what it is, what it looks like, and which angle: “green waterproof trail running shoe, side view” beats “shoe” and beats “buy trail running shoes online cheap”. Include the product name when the shot shows the whole product, and skip it on detail shots of a zipper or a sole. Never paste one description across all six product photos, since each angle shows something different and Google can tell.
Also keep keywords out of the formula. Google warns that stuffing alt attributes with keywords creates a negative user experience, and it names the alt attribute as a text alternative for people first. Write it for the shopper on a screen reader and the search engine gets what it needs.
When to leave alt text empty
Leave alt text empty on purpose for decorative images, the dividers, background textures, and icon flourishes your theme loads on every page. An empty alt attribute tells a screen reader to skip the image, and Google gains nothing from “decorative-swoosh” repeated 40 times. Empty is a decision, not a gap, and it only applies to images that carry no meaning.
Batch the back catalog
Batching the back catalog is the only way a store with 800 products finishes. Do your top 20 products by hand, since an hour of honest descriptions covers most of the pages shoppers actually land on. Then export the product CSV, fill the image alt text column in a spreadsheet, and re-import. The alt pass is a standing line in my Shopify SEO checklist for that reason, and it is the item stores skip most.
Let Shopify Handle Formats and Compression
Shopify handles image formats and compression on its own. Its CDN detects what each browser supports and serves WebP or AVIF automatically, and the image_url docs confirm it picks the best format and size per request without you converting anything by hand. Upload the best version you have and the platform compresses it on delivery.
The same filter explains why a theme can show one upload at six sizes. It resizes on request, never upscales past the original, and accepts a quality setting from 10 to 90, so a well-built theme asks for a 400-pixel thumbnail in the grid and a 2048-pixel version on the product page from one file. Your job ends at the upload.
Even so, most image SEO guides tell you to install a converter app. Shopify already did that job. The app takes a slot, adds a script, and squeezes out a difference that is noise on a store already sized right. Most SEOs will argue an app gets you a little more, and for most stores the little more is not worth the script it adds. Removing converter apps is one of the first things I do in SEO services for Shopify work, and nobody has missed one yet. Shopify owns formats and compression, and you own dimensions and restraint.
What the CDN cannot do is shrink your ambition. A 6000-pixel hero or a ten-image carousel still arrives heavy in any format, and Shopify’s product media limits cap uploads at 5000 by 5000 pixels and 20 MB anyway. The platform’s own recommendation for a square product image is 2048 by 2048, which is a useful number to remember at upload time.
Keep Uploads From Killing Your Page Speed
Uploads kill your page speed when they arrive bigger than any screen will show them. Images already make up about 40% of the median page’s weight, at 1,054 KB on desktop and 900 KB on mobile per the 2024 Web Almanac, and the CDN compresses your file but cannot uninvite four thousand extra pixels. Whether speed moves rankings at all is a fair question, and I answer it in does site speed affect rankings, but the short version is that it moves conversions first and rankings second.
Upload near display size
Uploading near display size is the one speed lever Shopify leaves in your hands. Match the upload to the largest size your theme will show, with a little headroom for retina screens:
| Where the image shows | Upload width |
|---|---|
| Product grid and collection thumbnails | 1,000 to 1,200 px |
| Product page main image | 2,048 px square |
| Full-width homepage hero | 2,000 to 2,400 px |
| Blog post inline image | 1,200 to 1,600 px |
Shopify never upscales, so an upload smaller than the slot shows blurry on large screens, and one much larger just wastes bytes on every load.
Trim the carousel
Trimming the carousel is the second lever. Keep product galleries to five or six images and hero carousels to three, and cut the decorative extras your theme loads on every page. The Web Almanac’s median desktop page carries over a megabyte of images, so a store that halves that number feels the difference on the first tap. The same trim pays twice on collection pages, since the grid loads faster and the page has room for copy that ranks.
Check the LCP number
Checking the LCP number tells you whether the work landed. Google’s Core Web Vitals threshold for Largest Contentful Paint is 2.5 seconds at the 75th percentile of page loads, and on most Shopify stores the largest element is the hero or the main product image. Run your homepage and one product page through PageSpeed Insights, note the LCP element it names, and size that one image first.
While you are in the report, check that the LCP image is not lazy-loaded. Most Shopify themes add loading=”lazy” to every image below the fold, which is right, and a few apply it to the hero too, which delays the one image Google times. The hero and the main product image load eagerly, and everything under them waits. Upload near display size, load the first image eagerly, and let the CDN do the rest.
Your Product Photos Are Becoming the Storefront
Your product photos are becoming the storefront. Google Lens now handles nearly 20 billion visual searches a month, and 20% of them are shopping-related. A shopper photographs a jacket on a stranger, and whoever’s images and product data match best gets the click.
On top of that, Google sets a bar for the photos themselves. The Merchant Center image requirements recommend 1500 by 1500 pixels or larger, set a 500 by 500 minimum for all products from January 2027, and ban watermarks, promotional text, and logo overlays. Clean product photos are feed compliance now, not just taste.
The same clean set feeds your structured data, since Google’s merchant listing markup requires an image and asks for 16:9, 4:3, and 1:1 versions. And it is what AI assistants lean on when they recommend products, so the work here overlaps with getting ChatGPT to recommend your products. One white-background shot plus two real lifestyle images per product covers your pages, your feed, Lens, and the AI answer.
Image SEO Questions I Get Every Week
Does Shopify need an image sitemap?
Shopify does not need a separate image sitemap, since the sitemap it generates for every store already lists product images alongside the product URLs. Google’s image guidance recommends an image sitemap for pictures it might not find by crawling, and on a Shopify store the crawl finds them through the product pages. Submit the main sitemap in Search Console once and the images ride along, and the Shopify product schema pass hands Google the same image a second way.
Should you re-upload old images with better names?
Re-uploading old images with better names is worth it for your top 20 products and not for the other 780. A file name is one of three signals, and the alt text and the surrounding copy are the other two, so a bestseller with a junk name and honest alt text is already two-thirds of the way there. Fix the names on the pages that get traffic, leave the long tail alone, and name every new upload properly from today.
Do image SEO apps help?
Image SEO apps help on one job, bulk alt text and file renaming for a large back catalog, and they do nothing useful on compression or format. The rename feature is real, since Shopify has no native way to rename a file after upload, and an app that rewrites the alt text from your product titles beats 800 empty fields. Just review what it wrote on your top 20 products, since a title-stuffed alt reads worse than an honest one and Google notices the pattern.
Want Every Upload Working for You?
Shopify image SEO is three habits and one theme check. Name the file what it shows, write one honest sentence of alt text, upload near display size, and confirm your theme loads product photos as real img tags. Shopify handles the formats and the compression, and Google handles the rest once it can read the words.
If you want a second set of eyes on it, book a call and I will pull your top 20 product pages, show you which images are empty, oversized, or invisible to Google, and hand you the fix order. For the ongoing work, my Shopify SEO services cover images with everything else on the page.
Sources:
- Google Search Central: Google Images SEO best practices
- Shopify Help Center: Adding alt text to product media
- Shopify.dev: image_url filter
- Shopify Help Center: Product media types and limits
- HTTP Archive: 2024 Web Almanac, Page Weight
- Google: Visual search and Lens shopping
- Google Merchant Center Help: image_link requirements
