Browse all tools
google search console

How to Create an Image Sitemap (Step by Step)

An image sitemap is an XML file listing your images and the page each sits on. Build one with the free Pixellize generator: enter your URL, let it crawl, download image-sitemap.xml, then submit it in Google Search Console. Only the image:loc tag is required, and up to 1,000 images are allowed per page.

How to create an image sitemap, step by step
Share this article

Frequently Asked Questions

How do I create an image sitemap?

Enter your website URL in the Pixellize image sitemap generator, let it crawl your pages, and download the image-sitemap.xml. It groups every image under the page it appears on and writes the file in Google format automatically, no coding needed.

What is the image sitemap XML format?

It is a standard XML sitemap with Google's image namespace added to the urlset tag. Each page is a url entry with a loc, and inside it one image:image block per image, each holding an image:loc with the full image URL. image:loc is the only required tag.

How do I submit an image sitemap to Google?

Upload the file to your site root, open Google Search Console, go to the Sitemaps report, enter the path such as image-sitemap.xml, and click Submit. You can also add a Sitemap line to your robots.txt and Google will find it on its next crawl.

Do I need a separate image sitemap?

Not always. Small sites can add image tags to their main sitemap, and WordPress plugins like Yoast or Rank Math often do this for you. A separate image-sitemap.xml helps large sites, CDN-hosted images, or when you want full control over which images are listed.

How many images can an image sitemap list per page?

Up to 1,000 images per page entry, which is Google's limit. A generator groups images under the page they appear on, so you rarely need to think about the cap.

Does an image sitemap improve rankings?

It helps Google discover and index images it might otherwise miss, especially lazy-loaded or JavaScript images. It does not rank images on its own. Clear file names, real alt text, and relevant pages still decide how well an indexed image ranks.

Written by

Founder and CEO of Pixellize.io, building AI-powered web tools and digital products with a focus on user experience and automation. M.Sc. Zoology, working at the intersection of technology, data analytics, and life sciences.

Scroll to Top