Build line
Image sitemap generator
One row per page: the page URL, then as many image URLs as you like. Rows for the same page are merged into a single <url> with image:image entries.
Comma, tab or semicolon separated. Quote cells that contain commas. Everything is built in your browser.
0<url> entries
0images
✓no errors
172 Bsize
Paste rows or load the example to see the XML build live.
What an image sitemap entry looks like
Google's image extension adds one namespace and one required child element. Everything else that older guides mention (caption, title, geo_location, license) was retired by Google in 2022.
Quick way to build the input: export products from your shop with the product URL and image columns, delete the rest, and paste. Shopify, WooCommerce and most PIMs export this directly.
<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/kettles/blue</loc>
<image:image>
<image:loc>https://cdn.example.com/blue.jpg</image:loc>
</image:image>
</url>
</urlset>Questions people ask
Do I need an image sitemap?
Only if Google might not find your images otherwise, for example when they are loaded by JavaScript, lazy-loaded without a proper
src, or matter a lot to your traffic (products, recipes, photography). Images in plain <img src> tags on crawlable pages are usually found anyway.Can image URLs be on a CDN or another domain?
Yes. Google allows
image:loc to point at a different domain, such as your CDN. The page URL in <loc> must still be on your site.What happened to image:caption, image:title and image:license?
Google deprecated those tags in 2022 and no longer uses them.
image:loc is the only one worth writing, so this generator emits just that.How many images can one page have?
Up to 1,000
<image:image> entries per <url>. Rows with the same page URL are merged, and duplicate image URLs are dropped.Can I add images to my existing sitemap instead?
Yes. Image tags can live inside your normal sitemap. Add the
xmlns:image namespace to the <urlset> and nest the image blocks inside each <url>. A separate image sitemap is simply easier to generate from a product export.