LaunchRanked

Sitemap index generator

Paste the URLs of your sitemap files. Get a sitemap index that points search engines at all of them, ready to reference from robots.txt.

Add a date after a URL (space, comma or tab) to set its lastmod: the last time anything in that sitemap changed.

Used for the robots.txt line and to check that every sitemap sits in the same folder or below.

Paste the URLs of your sitemap files. You get a sitemap index that lists them, the robots.txt line that points to it, and a check for duplicates, mixed hosts and the 50,000-sitemap limit.

How a sitemap index works

A sitemap index is a small XML file that lists your sitemap files instead of pages. You submit the index once (in Search Console and in robots.txt), and search engines fetch each sitemap it points to. The format is in the sitemaps.org protocol: a <sitemapindex> root with one <sitemap> per file, each holding a <loc> and an optional <lastmod>.

The rules we check

  • Up to 50,000 sitemaps per index and 50 MB uncompressed, the same limits as a normal sitemap.
  • Same site, same folder or lower. Google’s large sitemaps guide says referenced sitemaps must be hosted on the same site as the index unless cross-site submission is set up, and must sit in the same directory as the index or lower. An index at /sitemaps/index.xml can’t list /sitemap-blog.xml.
  • Absolute, escaped URLs. Relative paths are rejected, fragments are removed and & is written as &amp;.
  • Duplicates are removed. If two lines list the same file with different dates, the newer lastmod is kept.
  • File names. .xml and .xml.gz are the usual endings. A route like /sitemap/blog is fine if it serves XML, so that’s a note, not an error.

Point robots.txt at the index

Add the Sitemap: line the tool gives you to robots.txt. It must be the full URL. You can keep several Sitemap: lines, but one index is simpler to maintain. The robots.txt generator writes the rest of the file.

Building the files themselves

Need the sitemap files too? The XML sitemap generator builds them from a URL list and writes the index automatically when it has to split. To break up or combine sitemaps you already have, use the sitemap splitter and merger. Once everything is uploaded, run the index through the sitemap checker to confirm every file loads.

Questions

When do I need a sitemap index?

When one sitemap isn't enough: over 50,000 URLs or 50 MB uncompressed, or when you want separate files per section (pages, blog, products) so you can see indexing per file in Search Console. A small site with one sitemap.xml doesn't need an index.

Can the index list sitemaps on another domain or a CDN?

Google's docs say the sitemaps in an index must be on the same site as the index file, unless you've set up cross-site submission (verifying both sites in Search Console). They also need to be in the same directory as the index or below it. The tool warns about both.

What lastmod should a sitemap entry in the index have?

The last time anything in that sitemap file changed, in W3C Datetime format (2026-09-24 or a full timestamp with a time zone). If you can't track it honestly, leave it out rather than writing today's date on every build.

Can an index point to another index?

Don't rely on it. The protocol says each <loc> in an index can be a sitemap, an Atom or RSS feed, or a text file; it doesn't define indexes inside indexes, and Google's large-sitemaps guide only describes one level. Keep it to one index that lists sitemap files. The tool warns if an entry looks like an index.

Autopilot · early access

Want this fixed automatically?

Autopilot checks your site, publishes researched articles at a safe pace, and tracks whether ChatGPT, Perplexity, Gemini and Claude cite you. $49/mo.

Related free tools

See all free tools