Sitemap index file

The XML format of a Sitemap index file is very similar to the XML format of a Sitemap file. The Sitemap index file uses the following XML tags:

  • <sitemapindex> - the parent tag surrounds the file.
  • <sitemap> - the parent tag for each Sitemap listed in the file (a child of <sitemapindex>)
  • <loc> - the location of the sitemap (a child of <sitemap>)
  • <lastmod> - the last modified date of the sitemap (optional)

See the Sitemap Protocol for more information.

Sample XML Sitemap Index

The following example shows a Sitemap index in XML format. The Sitemap index lists two Sitemaps:

<?xml version="1.0" encoding="UTF-8"?>
   <sitemapindex xmlns="">

When you've created your Sitemap index file, save it and submit it to Google. As long as you've uploaded and saved all your Sitemaps, you don't need to submit each Sitemap individually. Just submit the Sitemap index file and you're good to go. You can submit up to 500 Sitemap index files for each site in your account.