By SitemapFixer Team
Updated April 2026

Image Sitemap: How to Help Google Find and Index Your Images

Validate your sitemap freeCheck My Sitemap

An image sitemap is an XML sitemap that provides Google with additional information about images on your site. Google can usually find images by crawling your pages, but an image sitemap ensures it discovers images that might otherwise be missed - particularly images loaded via JavaScript or images hosted on a CDN under a different domain.

Do You Need a Separate Image Sitemap?

Not necessarily. You have two options: a dedicated image sitemap file, or image tags added to your existing URL sitemap. The second approach is more common and simpler to maintain. Adding image:image tags inside your existing URL entries tells Google about images on each page without creating a separate file. Only create a standalone image sitemap if you have a very large number of images, an image-focused site (photography portfolio, stock photo site), or images hosted on a separate domain.

Image Sitemap Format

Add image information inside your existing url tags using the image namespace:

<?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://yoursite.com/products/widget</loc>
<image:image>
<image:loc>https://yoursite.com/images/widget.jpg</image:loc>
<image:title>Blue Widget Product Photo</image:title>
<image:caption>Our best-selling blue widget</image:caption>
</image:image>
</url>
</urlset>

Each URL entry can have up to 1,000 image:image tags. The image:loc tag is required. title and caption are optional but useful for image search. Do not include images that are blocked by robots.txt - Google cannot index blocked images even if they appear in the sitemap.

When Image Sitemaps Matter Most

Image sitemaps are most valuable for e-commerce sites with product photos, photography and portfolio sites, news sites with editorial images, and any site where images are loaded dynamically via JavaScript. If your images are in standard HTML img tags on crawlable pages, Google usually finds them without a sitemap. If your images only load after user interaction or are embedded in JavaScript bundles, an image sitemap significantly improves discoverability.

Image SEO Best Practices

Whether or not you use an image sitemap, these practices improve how Google understands and ranks your images: use descriptive filenames (widget-blue-product.jpg not IMG_1234.jpg), write specific alt text on every img tag, use structured data (Product schema with image property) for e-commerce, serve images in modern formats like WebP, and make sure images load within your Core Web Vitals thresholds - slow-loading images hurt LCP scores.

Check your sitemap for image indexing issues
Free - full analysis in 60 seconds
Analyze My Sitemap Free

Related Guides