Skip to main content

Sitemap Checker: How to Read What Your XML Sitemap Reveals

· 6 min read
Indexation audit for large websites

An XML sitemap is one of the few SEO files that looks simple enough to ignore. It is a list of URLs, after all. Then a site migrates, a plugin starts emitting http links, someone touches every lastmod on deploy, and the list quietly becomes the most expensive queue a crawler has to work through. A sitemap checker will not tell you whether a page deserves to be indexed. It will tell you what you are actually asking crawlers to look at, which is the necessary first step.

What a sitemap checker actually checks​

A good checker does more than count <loc> tags. The PruneSEO Sitemap Checker follows the same discovery order a search engine prefers:

  1. Read /robots.txt and use a same-host Sitemap: declaration if one exists.
  2. Fall back to /sitemap.xml and /sitemap_index.xml.
  3. If the result is a <sitemapindex>, follow up to ten child sitemaps.
  4. Parse each file and report counts and observations.

It never follows a sitemap declaration to another host. A site should not be able to make a checker crawl somebody else, and cross-host fetching is a common way that "free" tools get abused.

The report is deliberately descriptive:

FieldWhat it tells you
Sitemap URLThe URL that was resolved and fetched
URLs foundTotal <loc> entries across the files read
Child sitemapsSitemaps discovered through a sitemap index
ObservationsCounts of specific declaration issues
TruncatedWhether a cap stopped the check early

The observations worth acting on​

ObservationWhy it matters
invalid-xmlThe file could not be parsed; treat every count as incomplete
invalid-urlA <loc> is malformed, so that URL may never be discovered
non-https-urlPlain http entries create duplicate, insecure versions of pages
missing-lastmodNo change signal for crawlers to prioritise re-crawls
oversized-fileThe file hit the read cap and was not fully examined

Two of these deserve more attention than the others.

invalid-xml is a stop-the-line problem. If a sitemap cannot be parsed, everything downstream is guesswork. Fix the generator before interpreting any count. A permissive parser that happily reports broken XML as healthy is worse than no checker at all, which is why validation happens before the counts are trusted.

missing-lastmod is usually a generator default. Most CMSs can emit a real modification date, but many do not unless you enable it. A sitemap where every entry has the same date, or a date that changes on every deploy, teaches crawlers that your dates are noise. Honest dates are worth more than fresh-looking ones.

Listed is not indexed​

This is the line that separates a useful sitemap check from a misleading one. A sitemap makes a URL discoverable. It does not make it indexable, and it certainly does not make it rank.

  • A listed URL can be ignored if it is thin, duplicated, or blocked by an on-page noindex.
  • An unlisted URL can be indexed if it is linked prominently from elsewhere on the site.
  • A URL can be listed, crawled and still be rejected. Search Console is the only source of a per-URL verdict, and it is rationed; see Search Console coverage explained.

If a checker ever tells you that a URL "is indexed" because it appears in a sitemap, stop listening. The honest version is what our checker returns: here is what was declared, here is what was seen, and here is what was not seen.

The distinction shows up clearly in crawled, not indexed: the real causes and in sitemap pruning for large sites, where the same list can be an asset or the most expensive file on the site depending on what it contains.

Sitemap indexes and the scale problem​

At around 50,000 URLs or 50 MB uncompressed, a sitemap has to be split and a sitemap index has to tie the parts together. On a large site the index is not an implementation detail — it is the control surface.

A well-designed index lets you group URLs by what they are: products by category, articles by date, canonical surfaces separately from legacy ones. That grouping is what lets you stop handing a crawler a queue dominated by URLs that will never earn an index. A badly designed index is one giant file with a sitemap.xml name, which tells you nothing about where the waste lives.

Our checker reads up to ten child sitemaps from an index and caps a single XML read at roughly 3 MB. That cap is higher than it used to be because real sitemaps are larger than the conventional guidance suggests. When a cap is hit, the report says it was truncated, so you never mistake a partial read for a full count.

A short workflow for a sitemap check​

  1. Run the Robots.txt Checker first and take the sitemap URL it declares.
  2. Run the Sitemap Checker on the site and note the resolved URL — does it match what robots.txt declared?
  3. Read observations before totals. invalid-xml and invalid-url outrank everything else.
  4. Compare the URL count with what you expect. A store with 40,000 products and 900,000 sitemap URLs has a pattern problem, not a sitemap problem.
  5. If the count is surprising, do not fix the sitemap first. Find out which URL families produced it. That is what URL pattern clustering and a full indexation audit are for.

Why the check is protected​

Fetching and parsing a sitemap takes real resources, and a free tool has to stay free. A Cloudflare Turnstile challenge runs before any fetch, so automated traffic cannot turn the checker into a proxy for scanning arbitrary hosts. For real visitors it is a momentary check; for abusers it is the reason the tool keeps working.

What to take away​

A sitemap checker tells you what a site declares. It counts URLs, follows indexes, and flags broken or weakened declarations. It does not tell you what is indexed, what is valuable, or what should be removed — those are decisions that need evidence from a crawl. Start with the list, then investigate the patterns behind it.

Run the free Sitemap Checker on your own site, then read the tool documentation for the full list of fields and limits.