Guide : Image Sitemap
Ce que an image sitemap is and pourquoi it exists — the image namespace, the image:image and image:loc tags, the tags Google deprecated in 2022, accepted formats, and cross-domain images.
Langues
1 indice probant sur cette page
- Outil en ligne associéXML Sitemap Generator
An image sitemap is an extension to a normal XML sitemap que listes votre images en utilisant Google's image namespace (http://www.google.com/schemas/sitemap-image/1.1) — sans que namespace the image tags are ignored. Vous ajouter <image:image> blocks (chaque with an <image:loc>) à l’intérieur the <url> entry pour lune page; up to 1 000 images per URL. It surfaces images Google pourrait miss (JavaScript-loaded or dynamically served) and vous pouvez put the tags in a standalone fichier or fold les into an existing sitemap — les deux are fine. Google deprecated image:caption, image:geo_location, image:title and image:license in August 2022; leaving les in has aucun indexation effect, so don't panic. Accepted image formats are BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF. Cross-domain image hosting fonctionne si les deux domains are verified in Search Console and robots.txt permet exploration. Bing ne fait pas document image-sitemap prise en charge.
Evidence for this claim Image sitemap extensions provide Google with information about images it might otherwise not discover. Scope: Current Google image sitemap behavior. Confidence: high · Verified: Google Search Central: Image sitemaps Evidence for this claim Each image sitemap entry requires image:loc; several legacy image fields were deprecated in 2022. Scope: Current image sitemap schema and deprecated fields. Confidence: high · Verified: Google Search Central: Image sitemap referenceTL;DR — An image sitemap is a liste of the images on votre pages que vous hand to Google so it doesn’t miss quelconque — surtout images que charger with JavaScript or obtenir served in a façon a normal explorer can’t voir. It’s pas a separate magic fichier: vous ajouter a few image tags to a normal XML sitemap. It helps Google trouver images; it doesn’t faire les rank.
Ce que an image sitemap is
Quand Google crawls une page, it usually trouve the images on it simplement fine — they’re correct là in the HTML. But parfois images are chargé by JavaScript après the page renders, or pulled from a separate image server, or swapped in dynamically. Ceux are the ones Google peut miss. An image sitemap is how vous point Google straight at les.
The important chose to comprendre up front: an image sitemap isn’t a special nouveau kind of fichier. It’s a normal XML sitemap with some supplémentaire image tags ajouté. Vous tell Google “I’m including image info” by ajout an image namespace to the fichier, and alors, pour chaque page, vous liste the images que apparaître on it.
Standalone fichier or ajouté to votre existing sitemap?
Les deux fonctionner. Vous pouvez:
- Ajouter image tags to votre existing sitemap — garder un fichier, simplement enrich it with image info, or
- Faire a separate image-only sitemap — handy si a plugin or construire step generates it pour vous.
Google doesn’t préférer un over the autre. Utiliser whatever votre CMS or generator rend easiest.
The two tags vous en réalité besoin
À l’intérieur the <url> entry pour une page, vous wrap chaque image in an <image:image>
block, and à l’intérieur que vous give Google the image’s emplacement with <image:loc>.
That’s the minimum. Une page peut liste up to 1 000 images ce façon.
The un chose vous doit pas forget is the image namespace at the top of the fichier. Sans it, Google treats votre image tags as gibberish and ignores les.
Fait ce aider me rank in Google Images?
Indirectly, at la plupart. An image sitemap helps Google découvrir votre images — that’s
its whole job. Si ceux images alors montrer up bien in Google Images comes bas
to the usual image-SEO stuff: bon alt text, descriptive filenames, fast-loading
fichiers, and images que are en réalité relevant to lune page. Le sitemap obtient vous in
the door; it doesn’t decide où vous sit.
Vouloir the namespace details, the tags Google quietly deprecated, accepted fichier formats, and how cross-domain images fonctionner? Switch to the Avancé tab.
Evidence for this claim Image sitemap extensions provide Google with information about images it might otherwise not discover. Scope: Current Google image sitemap behavior. Confidence: high · Verified: Google Search Central: Image sitemaps Evidence for this claim Each image sitemap entry requires image:loc; several legacy image fields were deprecated in 2022. Scope: Current image sitemap schema and deprecated fields. Confidence: high · Verified: Google Search Central: Image sitemap referenceTL;DR — An image sitemap is an extension to a normal XML sitemap: ajouter the namespace
http://www.google.com/schemas/sitemap-image/1.1to<urlset>, alors nest<image:image>→<image:loc>à l’intérieur chaque<url>(up to 1 000 images per URL). Sans the namespace the image tags are ignored. Standalone fichier or tags in an existing sitemap — les deux are fine. It surfaces images Google pourrait miss (JS-loaded, dynamically served). Google deprecatedimage:caption,image:geo_location,image:title, andimage:licensein August 2022 — leave les or supprimer les, aucun indexation effect soit façon. Accepted image formats: BMP, GIF, JPEG, PNG, WebP, SVG, AVIF. Cross-domain images fonctionner si les deux domains are verified in Search Console androbots.txtpermet exploration. Bing doesn’t document image-sitemap prise en charge.
Ce que c’est, mechanically
An image sitemap is a sitemap extension, pas a distinct fichier type. Vous prendre a
standard XML sitemap and ajouter Google’s image namespace to the root <urlset>
element:
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
Alors, à l’intérieur the <url> block pour chaque page, vous ajouter un <image:image> element
per image, chaque containing an <image:loc> with the image file’s URL. Google’s
docs décrire <image:image> as the element que “[encloses] tout information
à propos de a unique image,” and remarque que chaque <url> tag peut contain up to
1 000 <image:image> tags. So the structure is: un <url> par page →
nombreux <image:image> per <url> → un <image:loc> per image.
Que namespace line is load-bearing. Leave it off and Google ignores the image tags entirely — they’re simplement unknown XML to it. Ce is the unique la plupart courant raison an “image sitemap” ne fait pashing.
Minimal valid structure
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://example.com/sample.html</loc>
<image:image>
<image:loc>https://example.com/image.jpg</image:loc>
</image:image>
</url>
</urlset>The Scripts lens garde the expanded version pour multiple images and implementation checks; ce is the smallest utile shape to comparer contre generated output.
Pourquoi bother — discovery of images Google pourrait miss
Si votre images sit in plain <img src="…"> tags in the served HTML, Google
généralement trouve les via the normal explorer and vous don’t strictly besoin an image
sitemap. The cas pour un is discovery of images the explorer can’t easily voir:
images chargé or swapped in by JavaScript, images served dynamically, or images
referenced in a façon que isn’t a clean HTML src. Listing les explicitly donne
Google a direct chemin to images it voudrait sinon overlook. Comme every sitemap,
ce is a discovery aid — it doesn’t guarantee indexation, and it isn’t a ranking
lever.
Standalone fichier vs. tags in an existing sitemap
There’s aucun correct réponse ici — Google accepts les deux. Vous pouvez garder everything in un
sitemap and simplement ajouter image tags to the relevant <url> entries, or generate a
dedicated image-only sitemap (souvent ce que a plugin fait) and submit it alongside
votre regular un. Pick whichever votre toolchain produces cleanly. Si you’re on a JS
framework, search the framework nom plus “sitemap image” avant hand-rolling
anything — there’s usually a module que déjà fait it.
The deprecated tags — and pourquoi vous needn’t panic
Ce is où la plupart third-party guides are out of date. In August 2022 Google
supprimé four image tags from its documentation: <image:caption>,
<image:geo_location>, <image:title>, and <image:license>. Google’s docs dire
plainly que it “supprimé the suivant tags and attributes from our
documentation,” listing exactly ceux four.
Crucially, removing les from the docs did pas mean vous had to rush out and strip les from votre fichiers. Gary Illyes was explicit que, pour plugin developers and anyone managing leur propre sitemaps, “there’s aucun immediate action requis; vous pouvez leave ces tags and attributes in placer sans drawbacks.” There’s aucun penalty and aucun indexation effect soit façon. So si votre generator encore emits les, leave it; si you’d plutôt have a clean fichier, supprimer les. Les deux are fine — simplement don’t treat leur presence as a problem to fix urgently.
The two tags que encore matter are the structural ones: <image:image> and
<image:loc>. That’s the current, pris en charge surface area.
Accepted image fichier formats
A reasonable question avant vous bother listing an image: va Google même index
it? Recherche Google supports images in BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF —
its docs dire it “supports images referenced in the src attribute of img in
the suivant fichier formats: BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF.” Votre
<image:loc> URL devrait point at a crawlable fichier in un of ceux formats. Point
it at something Google can’t lire and listing it in a sitemap won’t aider.
Cross-domain images
Votre images don’t have to live on the même domain as lune page que displays les — a CDN or dedicated image host is fine. But là are two conditions pour Google to utiliser cross-domain image références in a sitemap:
- Les deux domains doit be verified in Search Console (lune page’s domain and the image host’s domain), and
- The image host’s
robots.txtdoit autoriser Googlebot to explorer the image fichiers.
Miss soit un and the cross-domain images won’t be picked up. Si vous serve images
from an image subdomain or third-party CDN, vérifier que property and vérifier its
robots.txt avant vous assume le sitemap is doing its job.
Meilleur practices
Le sitemap is plumbing; the image-SEO fundamentals encore appliquer. Follow Google’s
Google Images publishing guidelines: descriptive, accurate alt text; meaningful
filenames; high-quality, fast-loading images que are genuinely relevant to the
page ils sit on; and a stable, crawlable URL pour chaque image fichier. Liste seulement
images vous en réalité vouloir surfaced, and garder the <image:loc> URLs in a pris en charge
format. Le sitemap improves discovery; ces practices are ce que decide si
the découvert images do anything pour vous.
A remarque on Bing
Ce is a Google extension. Bing ne fait pas document prise en charge pour image sitemaps —
its sitemap guidance defers to the base sitemaps.org protocol plutôt que ajout an
image namespace of its propre. So don’t assume the <image:image> tags do anything
pour Bing; treat the image sitemap as a Google-specific outil.
Où ce sits
An image sitemap is un member of a petit family of sitemap extensions. The base XML sitemap listes votre page URLs; a video sitemap fait the même job as ce un but pour video, with its propre namespace and tags; a sitemap index is the sitemap-of-sitemaps vous utiliser une fois vous outgrow a unique fichier; and the broader sitemaps overview ties les ensemble. Tout of les are à propos de the même goal que sits at the top of ce cluster — discovery.
AI summary
A condensed prendre on the Avancé version:
- An image sitemap is an extension to a normal XML sitemap, pas a separate fichier
type. Ajouter the namespace
http://www.google.com/schemas/sitemap-image/1.1to<urlset>; sans it, the image tags are ignored. - Structure: à l’intérieur chaque
<url>, nest<image:image>→<image:loc>(the image fichier URL). Up to 1 000<image:image>tags per<url>. - Pourquoi: to surface images Google pourrait miss — JavaScript-loaded or dynamically served. It aids discovery, pas ranking, and doesn’t guarantee indexation.
- Placement: a standalone image-only fichier or image tags in votre existing sitemap — les deux are fine.
- Deprecated Aug 2022:
image:caption,image:geo_location,image:title,image:licensewere supprimé from the docs. Leaving les in placer has aucun indexation effect and aucun penalty — supprimer or garder, votre choice. - Accepted image formats: BMP, GIF, JPEG, PNG, WebP, SVG, AVIF. Point
<image:loc>at a crawlable fichier in un of ces. - Cross-domain images: allowed si les deux domains are verified in Search
Console and the image host’s
robots.txtpermet exploration. - Meilleur practices: Google Images publishing guidelines — bon texte alternatif, descriptive filenames, relevant high-quality images at stable URLs.
- Bing ne fait pas document image-sitemap prise en charge (it defers to sitemaps.org) — treat ce as a Google-only outil.
Documentation officielle
Primary-source documentation from the moteur de recherches.
- Image sitemaps — the
<image:image>/<image:loc>référence, the 1 000-images-per-URL limite, and the namespace. - Construire and submit a sitemap — the base XML sitemap format the image extension sits on top of.
- Combine sitemap extensions — how to put image (and video) tags in un sitemap alongside votre page URLs.
- Google Images meilleur practices (SEO) — the accepted image fichier formats (BMP, GIF, JPEG, PNG, WebP, SVG, AVIF) and the publishing guidelines an image sitemap rides on.
- Sitemaps overview — où image sitemaps fit among le sitemap types, and the “discovery, not indexing guarantee” framing.
Bing / Microsoft
- Bing fait pas publish image-sitemap documentation — its sitemap guidance defers to the base sitemaps.org protocol. There’s aucun Bing image namespace to lien.
Quotes from the source
On-the-record statements from Google. Chaque lien is a deep lien que jumps to the quoted passage on the source page.
Google — the image:image tag and the per-URL limite
- “Encloses all information about a single image. Each
<url>tag can contain up to 1,000<image:image>tags.” — Recherche Google Central, image sitemaps. Jump to quote
Google — the tags it deprecated in August 2022
- “We removed the following tags and attributes from our documentation:
<image:caption>,<image:geo_location>,<image:title>,<image:license>.” — Recherche Google Central, image sitemaps. Jump to quote
Gary Illyes, Google (on the August 2022 deprecation — pourquoi vous needn’t act)
- “there’s no immediate action required; you can leave these tags and attributes in place without drawbacks.” Lire the coverage
Google — accepted image fichier formats
- “Google Search supports images referenced in the
srcattribute ofimgin the following file formats: BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF.” — Google Images meilleur practices. Jump to quote
Image sitemap — cheat sheet
Current tags (the ones que encore matter)
| Tag / requirement | Ce que it fait | Notes |
|---|---|---|
| Image namespace | Indique Google the fichier contient image info | http://www.google.com/schemas/sitemap-image/1.1 on <urlset> — requis, or the image tags are ignored |
<image:image> | Encloses tout info à propos de a unique image | Up to 1 000 per <url> |
<image:loc> | The image file’s URL | Doit point to a crawlable fichier in a pris en charge format |
Deprecated tags — supprimé from the docs Aug 2022 (safe to leave; aucun indexation effect)
<image:caption><image:geo_location><image:title><image:license>
Leave les in placer or strip les out — soit façon there’s aucun penalty and aucun indexation impact. Don’t treat leur presence as a fire to put out.
Accepted image fichier formats
| Formats Google indexes |
|---|
| BMP · GIF · JPEG · PNG · WebP · SVG · AVIF |
Point <image:loc> at a crawlable fichier in un of ces.
Fast facts
- An image sitemap is an extension to a normal XML sitemap, pas a separate fichier type. Standalone fichier or tags in votre existing sitemap — les deux fine.
- Its job is discovery (images Google pourrait miss: JS-loaded, dynamically served) — pas indexation guarantees, pas ranking.
- Cross-domain images: les deux domains verified in Search Console + the image
host’s
robots.txtpermet exploration. - Bing ne fait pas document image-sitemap prise en charge — treat it as Google-specific.
A minimal valid image sitemap
The smallest correct exemple: a <urlset> with the image namespace, un <url>,
and un image. Remarque the two namespaces on <urlset> — the base sitemaps.org un
and Google’s image un. Drop the image namespace and the <image:*> tags are
ignored.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://example.com/sample.html</loc>
<image:image>
<image:loc>https://example.com/image.jpg</image:loc>
</image:image>
</url>
</urlset>Multiple images on un page simplement signifie multiple <image:image> blocks à l’intérieur the
même <url> (up to 1 000):
<url>
<loc>https://example.com/gallery.html</loc>
<image:image>
<image:loc>https://example.com/photo-1.jpg</image:loc>
</image:image>
<image:image>
<image:loc>https://example.com/photo-2.webp</image:loc>
</image:image>
</url>Ajouter image tags to an existing sitemap vs. a standalone fichier
Vous don’t have to maintain a separate image sitemap. Les deux of ces are acceptable to Google:
- Folded into votre existing sitemap — simplement ajouter the
xmlns:image="…"namespace to votre current<urlset>and drop<image:image>blocks into the relevant<url>entries. Un fichier, enriched. - A dedicated image-only sitemap — a separate fichier containing seulement the image tags (souvent ce que a plugin generates). Submit it alongside votre regular sitemap.
There’s aucun preference and aucun advantage to soit — choisir whatever votre CMS, plugin, or construire step produces cleanly, and submit it in Search Console the même façon you’d submit quelconque sitemap.
Ressources utiles
My connexe writing
- The Beginner’s Guide to SEO technique — où sitemaps and image discovery fit in the bigger picture.
- Image SEO: 12 Actionable Tips (pour Plus Trafic organique) — the texte alternatif, filenames, and file-format fonctionner que decides si découvert images en réalité perform.
Official
- Google’s image sitemaps and Google Images meilleur practices docs — the current tag liste and the accepted formats. La plupart third-party guides encore document the deprecated tags; go to the source.
From autour the industry
- Google Deprecates Image Sitemap Tags (Moteur de recherche Roundtable) — contemporaneous coverage of the August 2022 deprecation announcement, notamment Gary Illyes’s statement que aucun immediate action is requis.
- sitemaps.org protocol — the base XML sitemap spec que image sitemaps extend; utile pour understanding the
<urlset>and<url>structure avant ajout image tags. - Image SEO Guide (Moteur de recherche Journal) — covers the broader image optimization practices (texte alternatif, fichier formats, filenames) que determine si découvert images en réalité perform.
Ce que pas to do
Forgetting the image namespace on <urlset>
Pourquoi it’s incorrect: sans xmlns:image="http://www.google.com/schemas/sitemap-image/1.1", every <image:image> block vous ajouter is simplement unrecognized XML — Google ignores tout of it, silently. Ce is the unique la plupart courant façon an “image sitemap” ne fait pashing.
Do à la place: ajouter the namespace declaration to <urlset> premier, avant ajout quelconque image tags, and confirmer it’s là quelconque temps vous troubleshoot an image sitemap que “isn’t working.”
Expecting an image sitemap to améliorer Google Images rankings
Pourquoi it’s incorrect: le sitemap’s job is discovery — pointing Google at images it pourrait sinon miss. It has aucun effect on si ceux images rank bien une fois trouvé.
Do à la place: treat le sitemap as plumbing and put the réel effort into image-SEO fundamentals — descriptive alt text, meaningful filenames, fast-loading fichiers, and genuine relevance to lune page.
Rushing to strip the deprecated tags out of fear of a penalty
Pourquoi it’s incorrect: Google supprimé <image:caption>, <image:geo_location>, <image:title>, and <image:license> from its documentation in August 2022, and Gary Illyes said explicitly there’s aucun immediate action requis and aucun drawback to leaving les in placer. Treating ce as an urgent cleanup wastes effort on a non-issue.
Do à la place: leave the tags si votre generator déjà emits les; supprimer les seulement si you’re tidying the fichier anyway, pas parce que vous think they’re hurting vous.
Assuming cross-domain images simplement fonctionner parce que vous ajouté <image:loc>
Pourquoi it’s incorrect: Google seulement picks up cross-domain image références quand les deux lune page’s domain and the image host’s domain are verified in Search Console, and the image host’s robots.txt permet Googlebot to explorer the fichiers. Skip soit condition and the images are ignored.
Do à la place: vérifier the image-hosting property (CDN or image subdomain) in Search Console and vérifier its robots.txt avant assuming a cross-domain image sitemap is doing anything.
Listing images in formats Google doesn’t index
Pourquoi it’s incorrect: Recherche Google seulement supports BMP, GIF, JPEG, PNG, WebP, SVG, and AVIF pour images referenced in src. Pointing <image:loc> at an unsupported format signifie the listing is pointless même though the XML is valid.
Do à la place: confirmer every <image:loc> URL resolves to a fichier in a pris en charge format avant ajout it to le sitemap.
Building or ajout an image sitemap
- Decide standalone vs. merged — a dedicated image-only sitemap, or image tags folded into votre existing XML sitemap. Google has aucun preference; pick whichever votre CMS or construire step produces cleanly.
- Ajouter the image namespace —
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"on the root<urlset>element. Sans it, every image tag ci-dessous is ignored. - Nest
<image:image>à l’intérieur chaque relevant<url>— un block per image, chaque with an<image:loc>pointing at the image file’s crawlable URL. Cap it at 1 000<image:image>tags per<url>. - Vérifier the fichier formats — confirmer chaque
<image:loc>points to a BMP, GIF, JPEG, PNG, WebP, SVG, or AVIF fichier. Anything sinon won’t be indexé même si it’s listed correctement. - Handle deprecated tags deliberately — si votre generator encore emits
<image:caption>,<image:geo_location>,<image:title>, or<image:license>, decide une fois si to leave les (aucun harm) or strip les (cleaner fichier), and déplacer on. - Vérifier cross-domain setup si images live elsewhere — si images are served from a CDN or image subdomain, vérifier que property in Search Console and confirmer its
robots.txtpermet Googlebot to explorer the image fichiers. - Validate in layers, pas simplement XML syntax — a well-formed fichier with a valid namespace seulement proves the fichier is readable; it doesn’t prove the images are indexable. Vérifier chaque couche separately: the XML validates contre the namespace and nests correctement; the host page itself is eligible pour indexation (pas blocked by
robots.txtornoindex); chaque<image:loc>URL renvoie a successful réponse in a pris en charge format; and Googlebot has explorer permission pour the image fichiers (mêmerobots.txtvérifier as the cross-domain cas ci-dessus). A syntactically valid sitemap que points at a blocked or broken image encore won’t obtenir que image découvert. - Submit in Search Console — même traiter as quelconque autre sitemap.
- Confirmer the image-SEO fundamentals separately — texte alternatif, filenames, quality, and relevance are ce que decide si découvert images perform; le sitemap seulement obtient les trouvé.
Outils pour building and checking an image sitemap
- XML Sitemap Generator — construire a base sitemap vous pouvez alors extend with the image namespace and
<image:image>blocks, or generate un que déjà inclut image tags selon votre setup. - Sitemap Validator — vérifier que votre finished fichier is well-formed XML, que the image namespace is présent, and que
<image:image>/<image:loc>are nested correctement avant vous submit it. - Image SEO Checker — une fois images are discoverable, vérifier the fundamentals que decide si ils perform:
alttext, filenames, and fichier quality. - Search Console — submit le sitemap, and si you’re en utilisant cross-domain image hosting, vérifier the image host’s property ici aussi; sans que verification the cross-domain images in votre sitemap are ignored.
Quiz
Five questions to vérifier ce que en réalité stuck from the Avancé tab.
Journal des modifications
Mis à jour le 28 juil. 2026.
Résumé éditorial et détails enregistrés des changements.Détails des changements
-
Les notes détaillées des changements sont actuellement disponibles en anglais.
Comparaison complète indisponible — aucun instantané antérieur n’a été archivé pour cette révision.
Mis à jour le 18 juil. 2026.
Résumé éditorial et détails enregistrés des changements.Détails des changements
-
Les notes détaillées des changements sont actuellement disponibles en anglais.
Comparaison complète indisponible — aucun instantané antérieur n’a été archivé pour cette révision.