Skip to content

Image Sitemap Generator

Build an image sitemap so Google can find pictures it would miss.

A page URL on its own line, then its images indented beneath it. Add a caption after a pipe. A blank line starts the next page.

Image sitemap

Your generated code appears here.

Quick Tool Overview

The Image Sitemap Generator writes an image sitemap from a list of pages and the images on each, with the correct namespace and structure. It is for the cases ordinary crawling misses — images loaded by script, served from another host, or set as CSS backgrounds — and it says so rather than implying every site needs one.

What it does
Generates an XML image sitemap
You give it
A page URL, then its image URLs indented underneath
You get back
A valid image sitemap grouped by page
Best for
Galleries, CDN-hosted images and anything loaded by JavaScript
SEO Tools Free, unlimited use No sign-up Runs in your browser

About the Image Sitemap Generator

List each page with the images on it and the generator writes the image sitemap with the correct namespace and structure. Captions and titles can be added per image, and several images can share one page entry.

An image sitemap is not something every site needs. Google finds images through ordinary crawling perfectly well when they are in an img tag with a src the crawler can read. Where it earns its place is the cases where that is not true: images loaded by JavaScript after the page renders, images served from a separate CDN host, galleries built by a lightbox script, and background images set in CSS. In all of those, the picture exists but the crawler has no path to it. Listing them explicitly is the fix, and it is the only fix.

Key features of the Image Sitemap Generator

Grouped by page

Each page becomes one url entry holding all of its images, which is what the protocol expects.

Correct namespace

The image namespace declaration is included, without which the entries are ignored entirely.

Up to 1,000 per page

The per-page image cap is enforced, with a warning rather than a silently truncated file.

Honest about captions

Caption and title tags are supported and clearly marked as deprecated by Google in 2022.

Merges into an existing sitemap

The output can be pasted into a normal sitemap rather than published separately.

How to use the Image Sitemap Generator

  1. 1

    List a page URL

    Start a line with the page address the images appear on.

  2. 2

    List its images underneath

    Indent or prefix each image line, one per image, with an optional caption after a pipe.

  3. 3

    Repeat for each page

    Every page becomes one url entry holding all of its images.

  4. 4

    Copy and submit

    Save the XML, reference it in robots.txt, and submit it in Search Console.

Frequently asked questions

Only if Google cannot find your images by crawling. Ordinary img tags with a readable src need nothing. Images loaded by script, served from another host, or set as CSS backgrounds are invisible to a crawler, and for those a sitemap is the only route in.

Reviews of the Image Sitemap Generator

What people who use the Image Sitemap Generator think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the Image Sitemap Generator. It takes half a minute and no account.

Write the first review

More SEO tools