Product image SEO: alt text and filenames that help Google understand your photos
Google does not look at your product photo the way a buyer does. It reads the filename, the alt text and the words around the image, so name and describe each shot for what it actually shows.
SEO ảnh sản phẩm: alt text và tên file giúp Google hiểu ảnh của bạn
Google không nhìn ảnh sản phẩm như khách mua. Nó đọc tên file, alt text và chữ xung quanh ảnh, nên hãy đặt tên và mô tả mỗi ảnh đúng với thứ ảnh đó thể hiện.
How filenames and alt text help Google understand a product photo
A product photo carries three text signals Google can read. The filename is read first, because it is part of the image URL: IMG_3847.jpg says nothing, while navy-canvas-tote-bag.jpg says what the file shows before the page even loads. The alt text is the main description: what screen readers announce, what shows if the image fails to load, and what Google reads as the image's text content. The surrounding text is the third signal: the heading above, the caption below and the first words after it tell Google what the image belongs to. Changing format is part of the same job: a free image converter can save the same shot as JPG, PNG or WebP, and the new extension becomes part of the filename Google reads.
Alt text also serves buyers, not only search engines. A buyer using a screen reader hears your alt text instead of seeing the photo, and a buyer on a slow connection reads it while the image loads. That is why the best alt text is a plain description of what the image shows, in the words a buyer would use, not a list of search terms.
One limit matters: filenames and alt text help Google understand an image, they do not make a weak page rank on their own. A well-named photo on a page with no useful copy, a wrong price or a slow load still loses to a complete page.
A filename formula: keyword + variant + SKU, without keyword stuffing
Use one formula for every product image: keyword, then variant, then SKU, in lowercase, with hyphens between words. For example, navy-canvas-tote-bag-large-TB204.jpg: the keyword says what it is, the variant says which one, and the SKU makes the file unique. Keep it short, about four to six descriptive words before the SKU, and under 80 characters where you can. Rename the file before you upload it, because renaming after upload changes the image URL and breaks old links unless you redirect them.
Keyword stuffing is the line not to cross. A filename like tote-bag-canvas-bag-navy-bag-cheap-bag.jpg repeats the keyword until it stops describing the product, and Google ignores or penalises that pattern. The same rule applies to alt text: one natural mention of the keyword, in a sentence that describes the image, is enough. If a word adds no information about what the image shows, leave it out.
Two details save trouble later. First, use hyphens, not underscores or spaces: search engines read hyphens as word separators, and spaces in filenames break links. Second, keep one naming rule across the whole catalogue, including lifestyle and detail shots, and add the view at the end where it helps: main, detail, lifestyle or scale.
Alt text differs for main, detail, and lifestyle photos — here is how
The main image alt text answers the whole product in one sentence: what it is, its colour and material, and its view. For example: Navy canvas tote bag with leather handles, front view on a white background. That sentence works in image search, in a screen reader and as fallback text, because it says the product, the variant and the shot in one breath.
The detail shot alt text answers one feature, not the whole product. Name the feature and what it proves: Close-up of the navy canvas tote bag's reinforced stitching and leather handle attachment. A buyer who cannot see the photo learns exactly what the detail shot is for, and Google learns that this image is about stitching, not just about the bag. The lifestyle shot alt text answers use and setting: Navy canvas tote bag carried on a shoulder at a street market, showing everyday size. The setting is part of the description here, because the shot exists to show scale and use, and the alt text should say so.
Two special cases complete the set. A scale shot, with a hand or a familiar object beside the product, should name the reference: Navy canvas tote bag beside a laptop, showing size. A decorative image, such as a divider that adds no product information, should carry empty alt text, so screen readers skip it. Write each alt text for the shot in front of you.
Tên file và alt text giúp Google hiểu ảnh sản phẩm ra sao
Một ảnh sản phẩm mang ba tín hiệu chữ mà Google đọc được. Tên file được đọc trước, vì nó nằm trong URL của ảnh: file tên IMG_3847.jpg không nói gì, trong khi navy-canvas-tote-bag.jpg nói rõ file thể hiện gì ngay trước khi trang tải xong. Alt text là mô tả chính: là thứ trình đọc màn hình đọc lên, là thứ hiển thị khi ảnh tải lỗi, và là thứ Google đọc như nội dung chữ của ảnh. Chữ xung quanh là tín hiệu thứ ba: tiêu đề phía trên ảnh, chú thích phía dưới và những chữ đầu tiên sau ảnh đều cho Google biết ảnh thuộc về đâu.
Alt text cũng phục vụ khách mua, không chỉ công cụ tìm kiếm. Khách dùng trình đọc màn hình nghe alt text thay vì nhìn ảnh, và khách dùng kết nối chậm đọc nó trong lúc ảnh đang tải. Vì vậy alt text tốt nhất là mô tả giản dị về thứ ảnh thể hiện, bằng từ ngữ khách sẽ dùng, không phải danh sách từ khóa. Viết cho người trước, tín hiệu tìm kiếm sẽ theo sau, vì Google ưu tiên chính sự rõ ràng mà khách cần.
Một giới hạn cần nhớ: tên file và alt text giúp Google hiểu ảnh, chứ không tự làm trang yếu lên hạng. Ảnh đặt tên tốt trên trang không có nội dung hữu ích, giá sai hay tải chậm vẫn thua trang đầy đủ. Hãy coi việc đặt tên là bước hoàn thiện trên listing tốt, không phải thứ thay thế listing tốt.
Công thức đặt tên file: từ khóa + biến thể + mã SKU, không nhồi từ khóa
Hãy dùng một công thức cho mọi ảnh sản phẩm: từ khóa, rồi biến thể, rồi mã SKU, viết thường, nối bằng dấu gạch ngang. Ví dụ, navy-canvas-tote-bag-large-TB204.jpg: từ khóa nói đó là gì, biến thể nói đó là loại nào, và mã SKU làm file duy nhất trong danh mục. Giữ tên ngắn, khoảng bốn đến sáu từ mô tả trước mã SKU, và cố giữ dưới 80 ký tự khi có thể. Hãy đổi tên file trước khi tải lên, vì đổi tên sau khi tải sẽ đổi URL ảnh và làm hỏng liên kết cũ cùng bản đã lập chỉ mục, trừ khi bạn chuyển hướng chúng.
Nhồi từ khóa là ranh giới không nên vượt qua. Tên file như tote-bag-canvas-bag-navy-bag-cheap-bag.jpg lặp từ khóa tới mức không còn mô tả sản phẩm, và Google sẽ bỏ qua hoặc phạt kiểu đó. Quy tắc tương tự áp dụng cho alt text: một lần nhắc từ khóa tự nhiên, trong câu mô tả ảnh, là đủ. Nếu một từ không thêm thông tin về thứ ảnh thể hiện, hãy bỏ nó.
Hai chi tiết giúp tránh rắc rối sau này. Thứ nhất, dùng dấu gạch ngang, không dùng gạch dưới hay khoảng trắng: công cụ tìm kiếm đọc gạch ngang như dấu tách từ, và khoảng trắng trong tên file làm hỏng liên kết. Thứ hai, giữ một quy tắc đặt tên cho cả danh mục, kể cả ảnh lifestyle và ảnh chi tiết, và thêm góc chụp ở cuối khi cần: main, detail, lifestyle hay scale. Danh mục đặt tên thống nhất vừa dễ tìm với bạn vừa dễ tìm với Google, và người tiếp theo chỉnh sửa listing cũng tìm được đúng file.
Alt text cho ảnh chính, ảnh chi tiết và ảnh lifestyle viết khác nhau thế nào
Alt text ảnh chính trả lời toàn bộ sản phẩm trong một câu: đó là gì, màu và chất liệu nào, góc chụp nào. Ví dụ: Navy canvas tote bag with leather handles, front view on a white background. Câu đó dùng được trong tìm kiếm ảnh, trong trình đọc màn hình và làm chữ dự phòng, vì nó nói sản phẩm, biến thể và góc chụp trong một hơi.
Alt text ảnh chi tiết trả lời một đặc điểm, không phải toàn bộ sản phẩm. Hãy nêu đặc điểm và điều nó chứng minh: Close-up of the navy canvas tote bag's reinforced stitching and leather handle attachment. Khách không nhìn thấy ảnh vẫn biết chính xác ảnh chi tiết dùng để làm gì, và Google biết ảnh này nói về đường may, không chỉ về chiếc túi. Alt text ảnh lifestyle trả lời công dụng và bối cảnh: Navy canvas tote bag carried on a shoulder at a street market, showing everyday size. Bối cảnh là một phần mô tả ở đây, vì ảnh tồn tại để thể hiện tỷ lệ và công dụng, và alt text nên nói rõ điều đó.
Hai trường hợp đặc biệt hoàn thiện bộ ảnh. Ảnh tỷ lệ, với bàn tay hay vật quen thuộc đặt cạnh sản phẩm, nên nêu vật tham chiếu: Navy canvas tote bag beside a laptop, showing size. Ảnh trang trí, như dải phân cách hay họa tiết nền không thêm thông tin sản phẩm, nên để alt text trống, để trình đọc màn hình bỏ qua thay vì đọc một mô tả vô nghĩa. Viết mỗi alt text cho đúng ảnh trước mắt, và trang sẽ đọc như một bộ ảnh riêng biệt, không phải một mô tả lặp lại năm lần.
Steps
- Make the photo in Product Studio from the real product photo: background removal costs 1 image credit on success, and backgrounds, sizes and downloads cost no extra credits.
- Rename the downloaded file before you upload it, using keyword, variant and SKU, in lowercase, with hyphens between words.
- Write the main image alt text as one sentence: what the product is, its colour and material, and its view.
- Write different alt text for detail and lifestyle shots: the detail shot names the feature, the lifestyle shot names the use and the setting.
- Leave decorative images with empty alt text, and never repeat the page title word for word in every alt text on the page.
- Check the published page: the filename, alt text and nearby heading must agree about the same product, variant and view.
Các bước
- Tạo ảnh trong Product Studio từ ảnh sản phẩm thật: tách nền tốn 1 lượt ảnh khi thành công, còn nền, kích thước và lượt tải không tốn thêm lượt.
- Đổi tên file đã tải về trước khi tải lên, theo công thức từ khóa, biến thể và mã SKU, viết thường, nối bằng dấu gạch ngang.
- Viết alt text ảnh chính thành một câu: sản phẩm là gì, màu và chất liệu nào, góc chụp nào.
- Viết alt text khác nhau cho ảnh chi tiết và ảnh lifestyle: ảnh chi tiết nêu đặc điểm, ảnh lifestyle nêu công dụng và bối cảnh.
- Để ảnh trang trí với alt text trống, và đừng bao giờ lặp nguyên tiêu đề trang trong mọi alt text trên trang.
- Kiểm tra trang đã đăng: tên file, alt text và tiêu đề gần đó phải thống nhất về cùng sản phẩm, biến thể và góc chụp.
5 examples you can copy into your shop
These are filename and alt text pairs, not image prompts: rename the file first, then paste the alt text into your shop editor for that shot.
navy-canvas-tote-bag-large-TB204-main.jpg— Navy canvas tote bag with leather handles, front view on a white background.navy-canvas-tote-bag-large-TB204-detail.jpg— Close-up of the navy canvas tote bag's reinforced stitching and leather handle attachment.navy-canvas-tote-bag-large-TB204-lifestyle.jpg— Navy canvas tote bag carried on a shoulder at a street market, showing everyday size.navy-canvas-tote-bag-large-TB204-scale.jpg— Navy canvas tote bag beside a laptop, showing size.navy-canvas-tote-bag-black-TB205-main.jpg— Black canvas tote bag with leather handles, front view on a white background.
5 ví dụ sao chép ngay vào gian hàng
Đây là các cặp tên file và alt text, không phải prompt tạo ảnh: đổi tên file trước, rồi dán alt text vào trình chỉnh sửa gian hàng cho đúng ảnh.
navy-canvas-tote-bag-large-TB204-main.jpg— Navy canvas tote bag with leather handles, front view on a white background.navy-canvas-tote-bag-large-TB204-detail.jpg— Close-up of the navy canvas tote bag's reinforced stitching and leather handle attachment.navy-canvas-tote-bag-large-TB204-lifestyle.jpg— Navy canvas tote bag carried on a shoulder at a street market, showing everyday size.navy-canvas-tote-bag-large-TB204-scale.jpg— Navy canvas tote bag beside a laptop, showing size.navy-canvas-tote-bag-black-TB205-main.jpg— Black canvas tote bag with leather handles, front view on a white background.
Tips
- Fix your best-selling products first: their images earn the most search traffic, so one naming pass there beats a whole catalogue done at random.
- Keep a one-line naming sheet for the shop: formula, separator, SKU position and view words, so every editor names files the same way.
- Write alt text from the image, not from the product title: the title sells the product, the alt text describes the shot.
- Check image search for your own product after a month: if the wrong variant appears, the filename or alt text disagrees with the page.
Mẹo
- Sửa sản phẩm bán chạy nhất trước: ảnh của chúng kiếm nhiều lượt tìm kiếm nhất, nên một lần đặt tên ở đó hơn cả danh mục làm ngẫu nhiên.
- Giữ một bảng quy tắc đặt tên một dòng cho gian hàng: công thức, dấu tách, vị trí SKU và từ chỉ góc chụp, để mọi người đặt tên file giống nhau.
- Viết alt text từ ảnh, không từ tiêu đề sản phẩm: tiêu đề bán sản phẩm, alt text mô tả ảnh chụp.
- Sau một tháng, hãy tìm kiếm ảnh cho chính sản phẩm của bạn: nếu biến thể sai xuất hiện, tên file hoặc alt text đang mâu thuẫn với trang.
Common mistakes
- Uploading camera filenames and planning to rename later: later rarely comes, and renaming live files breaks their URLs.
- Copying the page title into every alt text, so five different shots all describe themselves the same way.
- Stuffing keywords into filenames and alt text until neither describes the image anymore.
- Writing alt text for a lifestyle shot as if it were the main shot, and losing the scale and use information the shot exists to show.
Lỗi thường gặp
- Tải lên tên file của máy ảnh rồi tính đổi tên sau: sau đó hiếm khi tới, và đổi tên file đang chạy sẽ làm hỏng URL của chúng.
- Sao chép tiêu đề trang vào mọi alt text, khiến năm ảnh khác nhau đều tự mô tả giống hệt nhau.
- Nhồi từ khóa vào tên file và alt text tới mức không cái nào còn mô tả ảnh nữa.
- Viết alt text cho ảnh lifestyle như thể đó là ảnh chính, và làm mất thông tin tỷ lệ và công dụng mà ảnh tồn tại để thể hiện.
Frequently asked questions
Do filenames really matter for image SEO?
Yes, as one signal among several. A descriptive filename tells Google what the file shows before the page loads, while a camera name like IMG_3847 tells it nothing. It does not replace alt text or good page copy.
How long should alt text be?
One sentence is usually enough: what the image shows, plus the variant or feature that matters for that shot. If you need two sentences to describe it honestly, write two; if you are adding words only for keywords, stop.
Should every image on a product page have the same alt text?
No. Repeating one alt text across main, detail and lifestyle shots wastes the chance to describe each shot, and reads as stuffing. Write each alt text for what that image actually shows.
Does renaming a file after upload help?
Rename before upload, not after. Once a file is live, changing its name changes its URL, so old links and indexed copies break unless you redirect them. Fix the name at the source and re-upload.
Câu hỏi thường gặp
Tên file có thật sự quan trọng với SEO ảnh không?
Có, như một tín hiệu trong nhiều tín hiệu. Tên file mô tả cho Google biết file thể hiện gì trước khi trang tải xong, trong khi tên máy ảnh như IMG_3847 không nói gì. Nó không thay thế alt text hay nội dung trang tốt.
Alt text nên dài bao nhiêu?
Một câu thường là đủ: ảnh thể hiện gì, cộng biến thể hay đặc điểm quan trọng với ảnh đó. Nếu cần hai câu mới mô tả trung thực, hãy viết hai câu; nếu bạn thêm chữ chỉ vì từ khóa, hãy dừng lại.
Mọi ảnh trên trang sản phẩm có nên dùng cùng alt text không?
Không. Lặp một alt text cho ảnh chính, ảnh chi tiết và ảnh lifestyle làm mất cơ hội mô tả từng ảnh, và đọc như nhồi từ khóa. Hãy viết mỗi alt text cho đúng thứ ảnh đó thể hiện.
Đổi tên file sau khi tải lên có giúp ích không?
Hãy đổi tên trước khi tải lên, không phải sau. Khi file đã chạy, đổi tên sẽ đổi URL, nên liên kết cũ và bản đã lập chỉ mục sẽ hỏng trừ khi bạn chuyển hướng chúng. Hãy sửa tên ở nguồn rồi tải lại.
Try it now
Take one product, rename its five files with the formula, write five different alt texts, and publish. That one set is the template for the catalogue.
Thử ngay
Hãy lấy một sản phẩm, đổi tên năm file theo công thức, viết năm alt text khác nhau, rồi đăng lên. Bộ đó chính là mẫu cho cả danh mục.