Cách Name Images cho SEO
Vì sao descriptive image file names quan trọng cho image tìm kiếm, cách name image files với từ khóa và hyphens, và — đó part hầu hết các hướng dẫn skip — vì sao bạn không nên bulk-rename images đó là đã được lập chỉ mục.
Ngôn ngữ
Image file names là một real nhưng light tín hiệu cho image tìm kiếm — Google đọc đó filename alongside alt text, xung quanh text, và đó image itself. Best practice: ngắn, descriptive, hyphenated, lowercase names on new images (my-new-black-kitten.jpg beats IMG00023.JPG). Đó part hầu hết các hướng dẫn skip: không bulk-rename images đó là đã được lập chỉ mục và xếp hạng. Mueller warned điều này takes months cho Google để re-see them và đó payoff là 'minimal, maybe không visible effect tại all' nếu của bạn alt text và context là đã good — và renaming thay đổi đó URL, so bạn inherit các chuyển hướng, 404s, và bộ nhớ đệm churn cho an unmeasurable gain. Filenames complement alt text; they không replace điều này. Và đó extension không proof of format — Nội dung-Loại và đó decoded bytes là điều gì thực ra quan trọng cho một conversion hoặc migration.
Evidence for this claim Google says image filenames can provide very light clues about image subject matter and recommends short, descriptive names. Scope: Current Google Images filename guidance; a weak contextual clue, not a guaranteed ranking effect. Confidence: high · Verified: Google Search Central: Use descriptive image filenames Evidence for this claim Google recommends simple, descriptive URL structures and hyphens between words rather than underscores. Scope: General Google URL-structure guidance applicable to image URLs. Confidence: high · Verified: Google Search Central: URL structure best practicesTóm tắt — Name của bạn image files điều gì đó mô tả Điều gì trong picture, sử dụng thực words separated by hyphens:
golden-retriever-puppy.jpg, khôngIMG_0042.jpg. Làm điều này cho new images. không go lại và rename all của bạn old ones — đó gây ra nhiều hơn headaches hơn nó worth, cho benefit bạn’ll không bao giờ notice.
Điều gì image file name là (và Vì sao điều này quan trọng little)
mỗi image trên trang web củ bạn có file name — bit tại end của nó URL, như
sunset.jpg hoặc IMG00023.JPG. công cụ tìm kiếm có thể’t “see” của bạn photo way bạn
làm, so nó looks cho clues về Điều gì image hiển thị. file name là một của những điều đó
clues.
nó nhỏ clue. Google leans nhiều hơn on của bạn alt text và words khoảng image hơn on file name. nhưng descriptive name là free để nhận right on new images, và nó mostly helps bạn hiển thị lên trong image tìm kiếm (Google Images, Google Lens) thay vì regular web kết quả.
naming rules
- Mô tả image.
black-kitten.jpgtells Google (và anyone ai sees URL) Điều gì picture là.IMG00023.JPGhoặcimage1.jpgtells them không có gì. - sử dụng hyphens giữa words. Ghi
red-running-shoes.jpg, khôngred_running_shoes.jpghoặcredrunningshoes.jpg. Google xử lý hyphen as space giữa words; underscore glues words together. - giữ nó lowercase và ngắn. một vài descriptive words là plenty. bạn không cần sentence.
- không stuff từ khóa.
shoes-buy-shoes-cheap-shoes-red-shoes.jpglooks spammy và không help. Một honest mô tả là goal.
điều phần lớn mọi người nhận sai
không rename images bạn’ve đã published. nó tempting để go lại và cho của bạn toàn bộ image library “tốt hơn” names. không. Renaming file thay đổi của nó web address, mà có nghĩ là hỏng links, các chuyển hướng để thiết lập, và weeks (đôi khi months) của bạn images looking sai trong Google Images trong khi Google slowly notices thay đổi. Google itself có đã nói payoff là basically không có gì nếu của bạn alt text là đã decent. Nhận name right on new images và leave old ones alone.
Một nhiều hơn điều worth knowing: file extension (.jpg, .png, .webp) là chỉ
label bạn gave file — nó không bảo đảm Điều gì format nó thực ra là. đó
kỹ thuật detail, không điều gì đó để worry về day để day, nhưng nó matters nếu bạn’re
bao giờ converting hoặc migrating images.
điều này piece sits dưới my Image SEO hub — cho Cách file names fit alongside alt text, formats, và trang speed, bắt đầu ở đó. Muốn chính xác Google quotes, hyphens-so với- underscores mechanics, và chuyển hướng/bộ nhớ đệm details on renaming? Chuyển để Nâng cao tab.
Evidence for this claim Google says image filenames can provide very light clues about image subject matter and recommends short, descriptive names. Scope: Current Google Images filename guidance; a weak contextual clue, not a guaranteed ranking effect. Confidence: high · Verified: Google Search Central: Use descriptive image filenames Evidence for this claim Google recommends simple, descriptive URL structures and hyphens between words rather than underscores. Scope: General Google URL-structure guidance applicable to image URLs. Confidence: high · Verified: Google Search Central: URL structure best practicesTL;DR — Image file names là một real nhưng light tín hiệu cho image tìm kiếm — Google đọc them alongside alt text, xung quanh text, và đó image itself, không as một standalone xếp hạng lever. Best practice: ngắn, descriptive, hyphenated, lowercase names on new images (Google canonical ví dụ là
my-new-black-kitten.jpgoverIMG00023.JPG). Đó underused, cao-giá trị point: không bulk-rename đã-được lập chỉ mục images. Mueller warned điều này takes Google months để re-see them và đó effect là “minimal effect, maybe no visible effect at all” (bản dịch) «minimal effect, maybe không visible effect tại all» nếu alt text và context là đã good — và vì renaming thay đổi đó URL, bạn inherit 301s, 404 risk, và CDN/bộ nhớ đệm của trình duyệt churn cho an unmeasurable gain. File names complement alt text; they không replace điều này.
Điều gì “image file name SEO” (bản dịch) «image file name SEO» thực ra có nghĩa là
Bắt đầu với boundary, không technique: Google own cách diễn đạt calls filename
“very light” clue, và không có gì ở đây promises xếp hạng lift — perfect file name là
nhỏ hygiene win, không lever bạn pull cho traffic. Trong đó boundary, naming
image file Đối với SEO có nghĩ là giving nó name đó mô tả của nó subject trong thực words —
golden-retriever-puppy.jpg thay vì IMG00023.JPG — so name itself là
usable clue về Điều gì image hiển thị. Google đọc đó name as một của several
yếu các tín hiệu, alongside alt text, text xung quanh image, và pixels
themselves, để hoạt động out Điều gì image depicts. payoff là mostly trong Google
Images và Lens xếp hạng, không chung web-tìm kiếm xếp hạng.
giữ quy mô honest: Đây là light tín hiệu. My Image SEO hub frames toàn bộ topic as hai tách biệt jobs — xếp hạng trong image tìm kiếm, và giữ các trang fast — và file names sit firmly on image-tìm kiếm side, well dưới alt text trong importance. perfect file name sẽ không rescue image với không alt text và không relevant trang khoảng nó.
cốt lõi naming rules
Descriptive over generic
Google Image SEO thực hành tốt nhất
put đó rule plainly: “When possible, use filenames that are short, but descriptive.
For example, my-new-black-kitten.jpg is better than IMG00023.JPG.” (bản dịch) «Khi có thể, dùng filenames đó là ngắn, nhưng descriptive. Ví dụ, my-new-black-kitten.jpg là tốt hơn IMG00023.JPG.» Và đây là
rõ ràng về đó chế độ lỗi: “Avoid using generic filenames like image1.jpg,
pic.gif, 1.jpg when possible.” (bản dịch) «Tránh dùng generic filenames như image1.jpg, pic.gif, 1.jpg khi có thể.» Đó reasoning là đó “the filename can give
Google very light clues about the subject matter of the image” (bản dịch) «đó filename có thể cho Google very light clues về đó subject quan trọng of đó image» — “very light,” nhưng
không zero, và một generic name throws đó clue away cho free.
Hyphens so với. underscores
Dùng hyphens để tách biệt words: black-kitten.jpg, không black_kitten.jpg. Đó
mechanics là worth understanding thay vì repeating as folklore. MỘT hyphen là
đọc as một word boundary — Google parses black-kitten as đó hai words “black”
và “kitten.” An underscore joins đó tokens — black_kitten là hơn có khả năng để
là đọc as đó single string “black_kitten.” (bản dịch) «black_kitten.» So red-running-shoes.jpg communicates
three words; red_running_shoes.jpg communicates điều gì đó closer để một.
MỘT caveat on provenance: Google Image SEO trang không spell out “hyphens, not underscores” (bản dịch) «hyphens, không underscores» trong những literal words cho filenames cụ thể. Đó trực tiếp nguồn là rộng hơn: Google URL structure hướng dẫn khuyến nghị hyphens over underscores as word separators trên URLs generally, không as an image-cụ thể rule với của nó own measured effect size. Older Matt Cutts-era commentary on đó giống nhau word-separator behavior là nơi đó SEO-blog folklore version of này rule xuất hiện từ, và đây là hiện tại near-universal practice. Treat điều này as inherited, URL-wide convention thay vì một filename-cụ thể Google quote — nhưng đó underlying mechanism (hyphen = boundary, underscore = joined) là chính xác và safe để follow. Bạn sẽ không là penalized cho underscores; hyphens chỉ communicate hơn.
Lowercase và ngắn
giữ names lowercase và khoảng three để eight words as practical rule của thumb —
Google không publish fixed ideal word count, so treat đó range as sensible
convention, không measured ngưỡng. Some các máy chủ treat Photo.JPG và photo.jpg
as khác files (case-sensitive paths có thể resolve để hai distinct các URL, không một),
so lowercasing tránh đó surprise. Ngắn-nhưng-descriptive beats dài-và-exhaustive.
Từ khóa sử dụng không có stuffing
Bao gồm đó words đó genuinely mô tả đó image — đó là đó point. Điều cần tránh
là cramming: red-shoes-buy-red-shoes-cheap-red-shoes.jpg đọc as spam và helps
không có gì. Một nuance để là precise về: Google rõ ràng từ khóa-stuffing warning là
được viết so với alt text, không file names — “Avoid filling alt attributes with
keywords (also known as keyword stuffing) as it results in a negative user
experience.” (bản dịch) «Tránh filling alt các thuộc tính với từ khóa (cũng known as từ khóa stuffing) as điều này dẫn đến một negative người dùng experience.» Đó ngành reasonably extends đó giống nhau “don’t overdo it” (bản dịch) «không overdo điều này» logic để file
names, nhưng không misattribute đó warning: Google literal line targets đó alt
thuộc tính.
Localize file names on translated các trang
Nếu bạn chạy localized versions of một trang, Google suggests matching đó file names: “If you localize your images, remember to also translate the filenames, keeping in mind the URL encoding guidelines.” (bản dịch) «Nếu bạn localize của bạn images, remember để cũng translate đó filenames, giữ trong mind đó URL encoding guidelines.» Vì đó file name là part of đó URL, non-Latin hoặc accented characters cần proper URL encoding.
extension không phải proof của thực tế format
file name extension là label, không bảo đảm. .jpg, .png, và .webp là
Điều gì bạn được gọi là file — họ không prove Điều gì bytes là thực ra bên trong nó hoặc
Điều gì format trình duyệt hoặc crawler sẽ treat nó as. Hai khác các tín hiệu quan trọng nhiều hơn:
- **
Content-Typephản hồi header** là Điều gì máy chủ declares file để là Khi nó requested. nó nên match thực tế encoded bytes — MDN’s nội dung-Loại reference documents điều này declaration, và notes đó Khi máy chủ gửiX-Content-Type-Options: nosniff, mismatched hoặc bị thiếuContent-Typecó thể nguyên nhân tài nguyên để là blocked outright thay vì guessed tại. - ** decoded bytes themselves** là ground truth. các trình duyệt fall lại để
sniffing thực tế byte signature Khi
Content-Typelà bị thiếu hoặc generic — MIME Sniffing tiêu chuẩn là spec đó defines Cách “supplied” loại (extension, header) và “computed” loại (Điều gì bytes thực ra là) có thể diverge, và mà một wins trên thực tế.
Practical takeaway: nếu bạn convert image (chẳng hạn, .png để .webp cho compression)
nhưng không rename file hoặc cập nhật máy chủ declared loại, Bạn có thể end lên với
.png-named file whose header và bytes chẳng hạn webp, hoặc vice versa. đó thực,
checkable mismatch — không SEO xếp hạng factor on của nó own, nhưng kỹ thuật-hygiene
item worth auditing alongside naming. (Format lựa chọn và compression themselves là
covered trong my Image Formats và
Image Optimization các hướng dẫn,
không ở đây.)
nên bạn rename images đó là đã được lập chỉ mục?
Đây là câu hỏi nearly mỗi naming hướng dẫn skips, và nó nơi thực money là — vì honest câu trả lời là thường không.
Điều gì Mueller và Sassman đã nói
On Google Tìm kiếm Off đó Record podcast (recapped by Search Engine Journal), Lizzi Sassman và John Mueller worked qua chính xác này. Mueller confirmed đó tín hiệu là real nhưng minor: descriptive file names là được khuyến nghị, nhưng “I don’t think you would see a significant change if you already do the other things around images, like the alt texts, the text surrounding the image.” (bản dịch) «I không think bạn sẽ see một significant thay đổi nếu bạn đã làm đó other điều khoảng images, như đó alt texts, đó text xung quanh đó image.» His verdict on đó upside of một rename: “That probably would have minimal effect, maybe no visible effect at all.” (bản dịch) «Đó probably sẽ có minimal effect, maybe không visible effect tại all.»
Đó bigger warning đã là về đang làm điều này trong bulk. Google re-crawl images infrequently — “when we crawl images, we tend not to crawl them as often, because usually, they don’t change a lot” (bản dịch) «khi we crawl images, we tend không để crawl them as thường, vì thường, they không thay đổi một lot» — so một mass rename lingers. Mueller own estimate đã là hedged ngay cả trong đó original conversation: “if you changed all of them at once, my guess is… I don’t know, over a period of a couple of months at least, it’ll be kind of annoying in Image Search.” (bản dịch) «nếu bạn changed all of them tại khi, my guess là… I không know, over một period of một couple of months ít nhất, điều này’ll là kind of annoying trong Image Tìm kiếm.» Treat “a couple of months” (bản dịch) «một couple of months» as Mueller rough, trong-đó-moment guess thay vì một measured hình — đây là reported qua SEJ recap of đó podcast, không một chính transcript I’ve independently re-verified, so không repeat điều này as một precise recovery window. Đó direction (chậm, multi-week-để-multi-month disruption) là đó durable takeaway; đó chính xác number không. Sassman flagged đó operational side cũng — “room for human error… to miss a broken link” (bản dịch) «room cho human lỗi… để miss một hỏng link» khi bạn là hunting xuống mọi nơi an image là embedded.
Các chuyển hướng, 404s, và bộ nhớ đệm implications
Ở đây mechanical reason bulk renaming là costly, và nó piece đối thủ các hướng dẫn leave out. Renaming image file thay đổi của nó URL. đó có knock-on effects:
- old URL hiện tại 404s trừ khi bạn thêm 301 chuyển hướng từ old path để new.
- CDN và trình duyệt caches có thể giữ serving old path (hoặc bộ nhớ đệm new 404) cho trong khi, so thay đổi không propagate cleanly.
- Google re-crawl images slowly (theo Mueller trên), so “trước” version có thể sit trong Google Images cho weeks để months sau khi bạn’ve moved on.
Gary Illyes được diễn đạt đó chung tín hiệu mất mát từ image URL migrations as “in line with web search results, which is a few weeks” (bản dịch) «trong line với web kết quả tìm kiếm, mà là vài weeks» — đó là về migrating image URLs broadly, không renaming cụ thể, nhưng đây là đó giống nhau category of tạm thời disruption. Put đó pieces together và một site-wide rename là real engineering hoạt động và weeks of Image Tìm kiếm churn trong exchange cho an effect Mueller called “maybe no visible effect at all.” (bản dịch) «maybe không visible effect tại all.»
Khi rename là thực ra worth nó
Không bao giờ — chỉ không as một standalone SEO project. Rename opportunistically khi bạn là đã touching đó file: một trang rebuild, một CMS migration, một redesign đó là thay đổi image URLs anyway. Tại đó point đó chuyển hướng và bộ nhớ đệm hoạt động là đã on của bạn plate, so sửa một bad file name là nearly free. Đó mistake là spinning lên một dedicated “rename everything for SEO” (bản dịch) «rename mọi thứ cho SEO» initiative cho marginal, unmeasurable upside.
Treat mỗi rename as URL migration, và audit nó như một
renamed image file là new URL. Bất cứ khi nào bạn làm rename — opportunistically hoặc nếu không — chạy qua giống nhau checklist bạn’d sử dụng cho bất kỳ URL migration, không chỉ naming checklist:
- New name quality: descriptive, hyphenated, lowercase — đó rules trên.
- Reachability: làm đó new URL thực ra resolve (200, không một typo’d path)?
- Chuyển hướng: làm đó old URL 301 để đó new một, so không có gì 404s?
- References: đã làm mỗi liên kết nội bộ, sitemap entry, và CMS trường đó pointed tại đó old path nhận đã cập nhật để đó new một, hoặc là bạn relying on đó chuyển hướng để paper over stragglers?
- Declared so với. thực tế loại: làm đó máy chủ
Content-Typecho đó new URL match đó real decoded bytes (see “The extension isn’t proof of the actual format” (bản dịch) «Đó extension không proof of đó thực tế format» trên)? MỘT rename là cũng một reasonable moment để catch một stale mismatch bạn inherited.
Naming, format, và compression là tách biệt jobs — điều này checklist covers naming và URL stability chỉ. Format và codec choices belong trong Image Formats; compression và phân phối belong trong Image Optimization.
bạn probably có thể’t đo lường nó
Worth saying plainly: ngay cả khi bạn làm rename, expect không để là able để prove điều này đã làm bất cứ điều gì. Mueller “minimal, maybe no visible effect at all” (bản dịch) «minimal, maybe không visible effect tại all» cuts cả hai ways — nếu đó gain là invisible trong đó SERPs, điều này’ll là invisible trong của bạn analytics cũng. không xây dựng một business case khoảng một file-name thay đổi.
Cách file names relate để alt text
File names và alt text là related nhưng không interchangeable, và nó worth giữ them straight:
- Alt text là stronger, chính tín hiệu cho image tìm kiếm và là bắt buộc cho accessibility. file name là nhiều nhẹ hơn clue.
- Screen readers fall lại để reading thô file name aloud chỉ Khi alt text là bị thiếu hoặc hỏng — mà là thực accessibility argument cho descriptive names, nhưng fallback, không main event. (đầy đủ treatment trong my alt text hướng dẫn.)
So good file name không phải substitute cho alt text; nó complementary, weaker tín hiệu đó happens để cũng help accessibility fallback case. Làm cả hai — ghi proper alt text và name file descriptively — thay vì treating một as covering cho khác.
trước khi / sau khi các ví dụ
| Bad | Tốt hơn | Vì sao |
|---|---|---|
IMG00023.JPG | my-new-black-kitten.jpg | Descriptive words, lowercase, hyphenated |
image1.jpg | blue-ceramic-coffee-mug.jpg | Generic → mô tả subject |
DSC_0491.png | mount-rainier-sunrise.png | Camera default → thực words |
red_running_shoes.jpg | red-running-shoes.jpg | Underscores → hyphens (word boundaries) |
Product-Photo-FINAL-v2.jpg | walnut-dining-table.jpg | Workflow cruft → sạch mô tả |
shoes-buy-shoes-cheap-shoes.jpg | red-trail-running-shoes.jpg | Stuffing → một honest mô tả |
phổ biến mistakes để tránh
- Bulk-renaming existing, được lập chỉ mục image library cho marginal SEO gain — weeks của Image Tìm kiếm disruption plus chuyển hướng/404/bộ nhớ đệm hoạt động.
- Renaming không có thêm 301, leaving old URL để 404.
- Underscores thay vì hyphens — không penalized, nhưng weaker word phân tích cú pháp.
- Generic names (
image1.jpg,pic.gif,1.jpg,DSC_0491.jpg). - Từ khóa-stuffed names đó đọc as spam.
- Treating file name as replacement cho alt text — nó nhẹ hơn của hai các tín hiệu và không cover accessibility.
- Forgetting để translate/encode file names on localized các trang.
- Trusting extension as proof của thực format. Vì sao nó sai:
.jpg,.png, và.webplà labels, không bảo đảm — máy chủContent-Typeheader và thực tế decoded bytes là Điều gì trình duyệt hoặc crawler thực ra dùng, và format conversion đó skips updating một của những điều đó tạo thực, checkable mismatch. Điều gì để làm thay vì: Khi bạn convert hoặc rename file, kiểm tra đó extension, declaredContent-Type, và decoded bytes all agree.
FAQs
Làm image file name ảnh hưởng SEO? Slightly, và mostly cho image tìm kiếm. Google đọc nó as rất light clue alongside alt text, xung quanh text, và image itself. nó không standalone xếp hạng lever.
Hyphens hoặc underscores? Hyphens. Google đọc hyphen as word boundary và underscore as joining words vào một token, so hyphens communicate nhiều hơn.
Là điều này bad để rename images sau họ là được lập chỉ mục? Trong bulk, thường có — Mueller warned điều này có thể là “annoying in Image Search” (bản dịch) «annoying trong Image Tìm kiếm» cho một couple of months, và bạn take on chuyển hướng/404/bộ nhớ đệm hoạt động cho an effect he called “minimal, maybe no visible effect at all.” (bản dịch) «minimal, maybe không visible effect tại all.» Rename opportunistically during một rebuild, không as một standalone project.
Cách nhiều words nên file name có? Khoảng three để eight — ngắn nhưng descriptive. Đủ để mô tả subject, không sentence.
Có thể I put từ khóa trong đó file name? Có, nếu they genuinely mô tả đó image. không stuff. Google rõ ràng từ khóa-stuffing warning targets alt text, nhưng đó giống nhau “don’t overdo it” (bản dịch) «không overdo điều này» logic áp dụng.
Làm file name quan trọng nếu I đã có good alt text? Barely. Mueller: bạn sẽ không see significant thay đổi từ file names nếu của bạn alt text và xung quanh context là đã good. Làm file names right on new images; không expect them để move needle on của họ own.
Điều gì happens để Google Images thứ hạng nếu I rename my files trong bulk? Tạm thời disruption — đó old versions linger cho một stretch (Mueller own estimate, “a couple of months,” (bản dịch) «một couple of months,» là một rough guess từ một recap, không một measured hình) vì Google re-crawl images slowly, và bạn là managing các chuyển hướng và caches đó toàn bộ time.
Làm file extension prove Điều gì format image thực ra là? Không. .jpg,
.png, và .webp là labels bạn chose, không bảo đảm của encoded bytes.
máy chủ Content-Type header và thực tế decoded bytes là Điều gì các trình duyệt và
các crawler rely on — treat extension as naming convention, và kiểm tra
Content-Type và bytes riêng nếu bạn’re auditing conversion hoặc migration.
AI summary
condensed take on Nâng cao version:
- Image file names là một real nhưng light tín hiệu, mostly cho image tìm kiếm (Google Images / Lens). Google đọc đó name alongside alt text, xung quanh text, và đó image itself — đây là không một standalone xếp hạng lever.
- Naming rules: descriptive over generic (
my-new-black-kitten.jpgbeatsIMG00023.JPG); hyphens, không underscores (hyphen = word boundary, underscore = joined token — sourced từ Google chung URL-structure hướng dẫn, không an image-cụ thể rule); lowercase và ngắn (≈3–8 words as convention, không một Google- measured ngưỡng); bao gồm real từ khóa nhưng không stuff. - Từ khóa-stuffing nuance: Google rõ ràng stuffing warning targets alt text, không file names — đó “don’t overdo it” (bản dịch) «không overdo điều này» logic extends by convention, nhưng không misattribute đó quote.
- Extension ≠ thực tế format.
.jpg/.png/.webplà labels; đó máy chủContent-Typeheader và đó decoded bytes là đó real các tín hiệu một trình duyệt hoặc crawler dùng. MỘT conversion đó không cập nhật all three tạo một checkable mismatch (format/compression themselves trực tiếp trong đó Image Formats và Image Optimization các hướng dẫn, không ở đây). - Đó big underused point — không bulk-rename được lập chỉ mục images. Mueller: “minimal effect, maybe no visible effect at all” (bản dịch) «minimal effect, maybe không visible effect tại all» nếu alt text/context là đã good, và một mass rename là “annoying in Image Search” (bản dịch) «annoying trong Image Tìm kiếm» cho một stretch — Mueller own “couple of months” (bản dịch) «couple of months» là một rough guess từ một phụ recap, không một verified hình.
- Renaming là một URL migration → audit new-name quality, reachability, các chuyển hướng, references, và declared-so với-thực tế loại together, không naming alone. 301s needed, 404 risk, CDN/bộ nhớ đệm của trình duyệt churn. Illyes được diễn đạt image-URL-migration tín hiệu mất mát as “a few weeks.” (bản dịch) «vài weeks.»
- Rename opportunistically (trang rebuilds, migrations), không bao giờ as một standalone SEO project. Expect không để là able để đo lường đó gain.
- File names complement alt text; they không replace điều này. Alt text là đó stronger chính tín hiệu và bắt buộc cho accessibility; screen readers fall lại để đó thô file name chỉ khi alt text là bị thiếu.
Tài liệu chính thức
Chính-nguồn tài liệu từ các công cụ tìm kiếm.
- Google Images thực hành tốt nhất — cốt lõi reference, including descriptive-filename rule,
my-new-black-kitten.jpgví dụ, avoiding generic names, alt-text từ khóa-stuffing warning, và localized-filename URL encoding. - Let Talk Image SEO (Tìm kiếm Off Record, Google, Oct 2022) — Lizzi Sassman và John Mueller on image naming, alt text, crawl frequency, và Vì sao bulk-renaming được lập chỉ mục images có minimal upside.
Bing / Microsoft
- Bing có không hiện tại, cụ thể công khai hướng dẫn on file-name formatting (hyphens/underscores, length) comparable để Google Image SEO trang. Bing relies on file names và alt text để understand images theo của nó chung image hướng dẫn, nhưng có không usable verbatim Bing quote on điều này hẹp point — genuine khoảng trống thay vì omission.
Quotes từ nguồn
On—record statements từ Google. nơi nguồn trang exposes text, link là deep link đó jumps để quoted passage.
Google tài liệu — file-name rule
- “The filename can give Google very light clues about the subject matter of the image.” (bản dịch) «Đó filename có thể cho Google very light clues về đó subject quan trọng of đó image.» Nhảy đến trích dẫn
- “When possible, use filenames that are short, but descriptive. For example,
my-new-black-kitten.jpgis better thanIMG00023.JPG.” (bản dịch) «Khi có thể, dùng filenames đó là ngắn, nhưng descriptive. Ví dụ,my-new-black-kitten.jpglà tốt hơnIMG00023.JPG.» Nhảy đến trích dẫn - “Avoid using generic filenames like
image1.jpg,pic.gif,1.jpgwhen possible.” (bản dịch) «Tránh dùng generic filenames nhưimage1.jpg,pic.gif,1.jpgkhi có thể.» Nhảy đến trích dẫn - “If you localize your images, remember to also translate the filenames, keeping in mind the URL encoding guidelines.” (bản dịch) «Nếu bạn localize của bạn images, remember để cũng translate đó filenames, giữ trong mind đó URL encoding guidelines.» Nhảy đến trích dẫn
Google tài liệu — từ khóa-stuffing warning (scoped để alt text)
- “Avoid filling
altattributes with keywords (also known as keyword stuffing) as it results in a negative user experience.” (bản dịch) «Tránh fillingaltcác thuộc tính với từ khóa (cũng known as từ khóa stuffing) as điều này dẫn đến một negative người dùng experience.» Nhảy đến trích dẫn
John Mueller & Lizzi Sassman, Google — không bulk-rename được lập chỉ mục images (Tìm kiếm Off Record, qua công cụ tìm kiếm Journal recap)
- Descriptive file names là worth đang làm, nhưng đó marginal upside là nhỏ: renaming “probably would have minimal effect, maybe no visible effect at all” (bản dịch) «probably sẽ có minimal effect, maybe không visible effect tại all» nếu alt text và xung quanh context là đã trong place.
- On re-crawl slowness và đó cost of một mass rename: images là được crawl ít hơn thường “because usually, they don’t change a lot,” (bản dịch) «vì thường, they không thay đổi một lot,» so nếu “you changed all of them at once… over a period of a couple of months at least, it’ll be kind of annoying in Image Search.” (bản dịch) «bạn changed all of them tại khi… over một period of một couple of months ít nhất, điều này’ll là kind of annoying trong Image Tìm kiếm.» SEJ recap
Gary Illyes, Google — image URL migration tín hiệu mất mát
- Tín hiệu mất mát từ image URL migrations là “in line with web search results, which is a few weeks.” (bản dịch) «trong line với web kết quả tìm kiếm, mà là vài weeks.» Coverage
nên I rename điều này image file hiện tại?
bài viết hướng dẫn splits vào three genuinely khác paths depending on liệu image là new, đã được lập chỉ mục, hoặc về để là touched cho unrelated reason. Hoạt động qua câu hỏi dưới để land on right một.
What should I do about this image's file name?
phổ biến mistakes để tránh
Seven concrete mistakes mọi người làm Khi naming image files, mỗi với Vì sao nó sai và Điều gì để làm thay vì.
- Bulk-renaming an existing, được lập chỉ mục image library cho một marginal SEO gain. Vì sao đây là sai: Mueller called đó upside “minimal effect, maybe no visible effect at all” (bản dịch) «minimal effect, maybe không visible effect tại all» nếu alt text và context là đã good, và một mass rename gây ra weeks để months of Image Tìm kiếm disruption. Điều cần làm thay vì: leave được lập chỉ mục images alone trừ khi bạn là đã touching them cho một sản phẩm khác reason.
- Renaming không có thêm một 301 chuyển hướng, leaving đó old URL để 404. Vì sao đây là sai: đó file name là part of đó URL, so renaming breaks đó old address cho anyone hoặc bất cứ điều gì vẫn pointing tại điều này. Điều cần làm thay vì: set lên một 301 từ đó old path để đó new một mỗi khi bạn rename một trực tiếp image.
- Dùng underscores thay vì hyphens —
red_running_shoes.jpg. Vì sao đây là sai: Google đọc một hyphen as một word boundary nhưng an underscore as joining words vào một token, so underscores communicate ít hơn (bạn sẽ không là penalized, nhưng bạn lose một free tín hiệu). Điều cần làm thay vì: luôn tách biệt words với hyphens. - Generic names như
image1.jpg,pic.gif,1.jpg, hoặcDSC_0491.jpg. Vì sao đây là sai: Google own hướng dẫn says để tránh generic filenames “when possible” (bản dịch) «khi có thể» vì they tell Google (và anyone reading đó URL) không có gì về đó subject. Điều cần làm thay vì: mô tả điều gì là thực ra trong đó picture, e.g.mount-rainier-sunrise.png. - Từ khóa-stuffed names như
shoes-buy-shoes-cheap-shoes-red-shoes.jpg. Vì sao đây là sai: điều này đọc as spam và không help — một honest mô tả là đó goal. Điều cần làm thay vì: dùng vài real words đó mô tả đó image và dừng. - Treating đó file name as một replacement cho alt text. Vì sao đây là sai: đó file name là đó nhẹ hơn of đó hai các tín hiệu, và alt text là bắt buộc cho accessibility — một screen reader chỉ falls lại để reading đó thô file name khi alt text là bị thiếu hoặc hỏng. Điều cần làm thay vì: ghi proper alt text và cho đó file một descriptive name; không let một stand trong cho đó other.
- Forgetting để translate hoặc encode file names on localized các trang. Vì sao đây là sai: Google explicitly says để translate filenames on localized images và để giữ URL encoding guidelines trong mind, since đó file name là part of đó URL. Điều cần làm thay vì: translate đó descriptive words trong đó file name cho mỗi localized version và URL-encode non-Latin hoặc accented characters.
Ready-để-copy prompts cho naming image files
Paste image context vào AI assistant để nhận several hyphenated, non-stuffed file name candidates đó follow điều này bài viết naming rules.
Prompt: generate file name candidates từ image context
Paste trong Điều gì image hiển thị, của nó planned alt text, và xung quanh trang topic. Expect lại three để five ngắn, hyphenated, lowercase file name options với không từ khóa stuffing.
I need a file name for an image on my website. Here's the context:
- What the image shows: [describe the subject, e.g. "a golden retriever puppy
sitting on a wood floor"]
- Planned alt text: [paste the alt text you're using, e.g. "Golden retriever
puppy sitting on a hardwood floor"]
- Page topic / surrounding text: [one sentence on what the page is about]
Give me 3-5 candidate file names that:
- Use real words separated by hyphens, not underscores
- Are lowercase and roughly 3-8 words long
- Describe the subject without stuffing keywords
- Don't duplicate the exact alt text word-for-word, but stay consistent with it
Format each as a ready-to-use filename with the .jpg extension.Prompt: kiểm tra batch của existing file names cho naming-rule violations
Paste trong list của hiện tại image file names. Expect lại flagged list noting mà ones sử dụng underscores, là generic, hoặc look từ khóa-stuffed — không có bất kỳ khuyến nghị để rename images đó là đã được lập chỉ mục và trực tiếp.
Here is a list of image file names currently on my site:
[paste file names, one per line]
For each one, tell me if it:
- Uses underscores instead of hyphens
- Is generic (like image1.jpg, pic.gif, DSC_0491.jpg)
- Looks keyword-stuffed
Don't recommend renaming any of these if they're already live and indexed —
just flag which naming-rule issues each one has, so I know what to do
differently on new images going forward. Tự kiểm tra: naming images Đối với SEO
Five nhanh các câu hỏi on Cách name image files. Pick câu trả lời cho mỗi, sau đó kiểm tra.
Nhật ký thay đổi
Đã cập nhật 8 thg 8, 2026.
Tóm tắt biên tập và chi tiết thay đổi đã ghi nhận.Chi tiết thay đổi
-
Ghi chú thay đổi chi tiết hiện chỉ có bằng tiếng Anh.
Không thể so sánh đầy đủ — không có bản lưu trước đó cho lần sửa đổi này.
Đã cập nhật 18 thg 7, 2026.
Tóm tắt biên tập và chi tiết thay đổi đã ghi nhận.Chi tiết thay đổi
-
Ghi chú thay đổi chi tiết hiện chỉ có bằng tiếng Anh.
Không thể so sánh đầy đủ — không có bản lưu trước đó cho lần sửa đổi này.