Skip to content

Ready

Enter a domain on the left and run the test. Results stream in here.

A sitemap of sitemaps, checked branch by branch

A regular XML sitemap lists pages. A sitemap index lists other sitemap files, each of which lists its own pages. Large sites need one because a single sitemap is capped at 50,000 URLs and 50MB uncompressed, and most SEO plugins create one anyway so posts, products and pages each get their own file. You submit the one index URL and search engines find every child from there.

The weak point is the links between the files. The index can load perfectly while one of its children returns a 404, and every URL in that child silently drops out of the sitemap route to discovery. This checker loads the index, lists every child sitemap it references with its declared lastmod date, and requests each child to report its HTTP status, so a dead branch stands out immediately.

What the checker does with your URL

Paste the index URL directly, or enter a domain. With a domain, the tool tries /sitemap.xml first and, if that is missing or not a sitemap, uses the location declared in robots.txt or another common path such as /sitemap_index.xml. Gzipped files are decoded. It then reads the root element: sitemapindex means an index, urlset means a regular sitemap of pages, and anything else is reported as not a valid sitemap.

For an index, it requests the first 25 child sitemaps and shows each one's status code next to its lastmod. If the index lists more than 25, the rest are shown as listed but unchecked. Any child that does not return 200 is flagged as broken, and a child whose address looks like another index file gets a warning, because the protocol allows only one level of indexing. You can export the child list as a CSV for a ticket or spreadsheet.

This tool checks the structure and reachability of the tree. It does not open each child to count or validate the page URLs inside; for that, paste a child sitemap into the Sitemap Validator, which checks URL format, duplicates, lastmod values and a sample of live status codes.

What a healthy index looks like

Here is a typical index from an SEO plugin. Each sitemap entry has an absolute loc and, ideally, a lastmod that reflects when something in that child last changed:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://www.example.com/post-sitemap.xml</loc>
    <lastmod>2025-03-14T08:12:00+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://www.example.com/product-sitemap.xml</loc>
    <lastmod>2025-03-10T17:40:00+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://www.example.com/page-sitemap.xml</loc>
    <lastmod>2025-01-22T11:05:00+00:00</lastmod>
  </sitemap>
</sitemapindex>

Notice that the page sitemap's date is older than the others. That is normal: static pages change less often than posts and products. What you do not want is every child showing the same timestamp, to the second, on every visit, which usually means the dates are generated at request time rather than from real content changes.

Index versus urlset: two different structures

The two file types look alike but use different elements. A regular sitemap wraps entries in urlset, and each url points at a page. An index wraps entries in sitemapindex, and each sitemap points at another sitemap file. Listing pages inside an index, or child sitemaps inside a urlset, leaves search engines unable to use the file as intended.

An index may contain up to 50,000 child entries, but it cannot point to another index. If you outgrow one index, submit several separate indexes. Every child loc must be an absolute URL, normally on the same host as the index.

Broken branches and how they happen

The most common failure is an index that still points at child files from an old setup: old filenames after switching SEO plugins, an old folder, or the previous domain after a migration. Every child 404s or redirects, and the whole tree is dead even though the index itself loads. A child that returns a 5xx error on a large catalog is another classic; generating a 50,000-URL file on request can time out under load.

Redirecting children are a softer problem. Google can follow them, but they signal the index is out of date, so point the index at the final URL. And if a child is blocked to bots by a firewall or login, it returns 403 here too, which is a useful early warning.

Where indexes come from on common platforms

WordPress

Core WordPress serves /wp-sitemap.xml as an index. Yoast SEO and Rank Math serve /sitemap_index.xml with children such as post-sitemap.xml. After switching plugins, flush permalinks (Settings, Permalinks, Save) so the new sitemap routes load, and update the Sitemap line in robots.txt.

Shopify

Shopify's /sitemap.xml is an index with children for products, collections, pages and blogs, split automatically as catalogs grow. Broken children there are rare and usually temporary.

Nginx or Apache

If child sitemaps are static files, make sure the server serves .xml and .xml.gz files with a 200 status and does not route them to your app's catch-all page. If they are generated, cache them so a crawler request does not trigger a slow rebuild.

How search engines use the index

Reference the index in robots.txt with a Sitemap: line and submit it in Search Console. Google then fetches each child on its own schedule and can use honest lastmod dates to decide which children to revisit sooner. Search Console also reports submitted and indexed counts per child, which makes sections that are struggling easy to spot. Our XML sitemap guide covers how to split sitemaps so those reports stay useful.

Order of fixes after a run

Fix dead branches first: regenerate any child that 404s or errors, or remove its entry from the index. Then update redirecting entries to their final URLs. Next, check that the page URLs inside each child are not blocked by robots.txt with the Robots.txt vs Sitemap Conflict Checker, which follows the whole index. Finally, re-run this check after every migration or plugin change, because indexes are generated by automation that can fall out of sync without anyone noticing.

How it works

  1. Enter Your Domain or Sitemap URL

    Paste a sitemap index URL, or your domain and we will find the sitemap from /sitemap.xml or robots.txt.

  2. Detect the Type

    We read the root element to tell whether the file is a sitemap index, a regular URL sitemap, or neither.

  3. Check Every Branch

    For an index, we list each child sitemap with its lastmod and request up to 25 of them to show their HTTP status and flag broken ones.

Frequently asked

What is a sitemap index file?

›

An XML file that lists other sitemap files instead of pages. It uses <sitemapindex> and <sitemap><loc> elements rather than <urlset> and <url><loc>. Sites use one because a single sitemap is capped at 50,000 URLs and 50MB, and many SEO plugins split posts, products and pages into separate files anyway.

What does this checker report for each child sitemap?

›

Its URL, the lastmod date declared in the index, and the HTTP status code it returns. Any child that does not return 200 is flagged as broken. Up to 25 children are requested; if the index lists more, the rest are shown as listed but unchecked. You can export the list as a CSV.

How does it know whether my file is an index?

›

It reads the root element. A <sitemapindex> root means an index pointing to other sitemaps; a <urlset> root means a regular sitemap of pages. If the file is neither, it is reported as not a valid sitemap.

Can I just enter my domain?

›

Yes. The tool tries /sitemap.xml first and, if that is missing or not a sitemap, uses the location from your robots.txt Sitemap line or another common path such as /sitemap_index.xml.

Does it validate the URLs inside each child sitemap?

›

No. It checks the structure and whether each child loads. To check the page URLs inside a child for format errors, duplicates, bad lastmod values and broken links, run that child through the Sitemap Validator.

Can a sitemap index point to another index?

›

No. The protocol allows one level: an index can list only regular urlset sitemaps. If you need more, submit several separate indexes. The checker warns when a child's address looks like an index file.

Should I submit the index or each child to Google?

›

Submit the index URL in Search Console and Google will read every child. Search Console still reports submitted and indexed counts per child. Also add the index to robots.txt with a Sitemap line.

Why would a child sitemap return an error?

›

Common causes are old filenames left in the index after switching SEO plugins, a migration to a new domain or folder, a firewall that blocks bots, and very large sitemaps generated on request that time out. Regenerate the child at its current location or remove its entry.

Related tools

More Technical SEO tools

See all Technical SEO tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans