xmlns:image · 1.1free · no sign-up

Image sitemap generator

Tell Google which images belong to which page — including images loaded from a CDN or by JavaScript that crawlers might miss.

1

Pages and images

One row per page: the page URL, then one or more image URLs (comma or tab separated). Repeated page URLs are merged. Up to 1,000 images per page. To collect images automatically, crawl your site on the creator with “Collect images” on.

Or upload a CSV
2

Your sitemap

3 URLs
  • 3entries
  • 1file
  • 1.0 KBuncompressed
  • Validprotocol check
<?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://www.example.com/</loc>
    <image:image>
      <image:loc>https://www.example.com/img/hero.jpg</image:loc>
    </image:image>
  </url>
  <url>
    <loc>https://www.example.com/products/desk-lamp</loc>
    <image:image>
      <image:loc>https://cdn.example.com/p/desk-lamp-front.jpg</image:loc>
    </image:image>
    <image:image>
      <image:loc>https://cdn.example.com/p/desk-lamp-side.jpg</image:loc>
    </image:image>
    <image:image>
      <image:loc>https://cdn.example.com/p/desk-lamp-box.webp</image:loc>
    </image:image>
  </url>
  <url>
    <loc>https://www.example.com/gallery/office</loc>
    <image:image>
      <image:loc>https://cdn.example.com/g/office-01.jpg</image:loc>
    </image:image>
    <image:image>
      <image:loc>https://cdn.example.com/g/office-02.jpg</image:loc>
    </image:image>
  </url>
</urlset>

Next: upload image-sitemap.xml to your site root so it is reachable at https://www.example.com/image-sitemap.xml, add this line to robots.txt, then submit image-sitemap.xml in Google Search Console (Indexing → Sitemaps) and Bing Webmaster Tools.

Sitemap: https://www.example.com/image-sitemap.xml

When an image sitemap helps

Google finds most images through <img> tags. An image sitemap helps when images are lazy-loaded by script, served from another domain, or important for Google Images traffic — product photos, recipes, galleries, portfolios. Each <url> lists up to 1,000 <image:image> children with an <image:loc>.

Images on a CDN are fine; the image host does not need to match the page host, but the CDN must allow Googlebot to crawl. Since 2022 Google ignores image:caption, image:title, image:geo_location and image:license, so this generator emits image:loc only.

Collect images automatically

On the creator, start a crawl with “Collect images” switched on: every page’s <img src> URLs are gathered and written into the same sitemap — one file for pages and images.

Questions

Do I need a separate image sitemap?

No. Image entries can live inside your normal sitemap, or in a separate file listed in your sitemap index. Both work.

Can image URLs be on a different domain?

Yes. Images on a CDN or another host can be listed; that host must not block Googlebot in its robots.txt.

Are image titles and captions supported?

Google deprecated them in 2022 and ignores them. Use alt text and surrounding text on the page instead.

What is the limit?

Up to 1,000 images per page URL, and the usual 50,000 URLs / 50 MB per sitemap file.