What the sitemap validator checks

Every file. Every rule that matters.

From discovery to live sampling, the checks Google actually cares about.

/sitemap.xml1,204 URLs
<urlset>
<loc>
200
<loc>
404
<lastmod>2026-09-01

Discovery and structure

0 pts

Reads robots.txt Sitemap lines and standard locations, follows sitemap indexes, and reports each file's type, URL count and size.

142 links checked2 broken
  • /pricing200
  • /docs/old-guide404
  • partner.com/page200
  • /blog/2021/post410

Live URL sampling

0 pts

Fetches 25 URLs spread across the file and reports OK, redirect, broken and bot-blocked, so you know if the sitemap lists dead pages.

File health1 error
  • Disallow: / under User-agent: *
  • No Sitemap: line
  • Crawl-delay ignored by Googlebot
line 12

Rule lint

0 pts

50,000 URL and 50 MB limits, cross-host URLs, http URLs, duplicates, invalid lastmod dates and missing robots.txt declaration.

H1
H2
?
H2
?

Freshness

0 pts

Buckets lastmod dates into the last 30 days, 90 days, a year and older, so you can see whether the sitemap signals anything new.

User-agent: *
Disallow: /private/
Allow: /private/helplongest match wins
User-agent: PerplexityBot
Disallow: /blocks everything

robots.txt declaration

0 pts

Confirms the sitemap is announced in robots.txt so every crawler, not only the ones you submitted to, can find it.

73
Health score
9 issues · 2 critical
  • Meta tags
  • Headings
  • Images
  • Schema
  • Mobile

Health score

0 pts

A single score from the live sample, minus penalties for each error and warning, with the fixes ranked.

Why it matters

A sitemap is a promise. Break it and crawlers stop trusting it.

Google uses your sitemap to decide what to crawl and when. When it lists dead pages, redirects or stale dates, Google learns to ignore it.

01

Dead URLs cost crawl budget

Every 404 in the sitemap is a wasted fetch. On large sites, thousands of them mean new pages wait longer to be discovered.

Live URL samplingHealth score
02

lastmod only works if it is true

Google uses lastmod to prioritise recrawls, but drops it entirely for sites that set it to "now" on every page. Accurate dates get fresh content crawled faster.

Freshness
03

Structure errors are silent

A file over 50 MB, a URL on another host, or an index nested too deep will be partially ignored with no warning in most tools. The lint catches them.

Rule lintDiscovery and structure
How to improve

Fix the errors. Then keep it honest.

  1. 1

    Remove dead and redirecting URLs

    Regenerate the sitemap from your live pages only. List the final URL of every redirect, and drop anything that returns 4xx or 5xx.

  2. 2

    Declare it in robots.txt

    Add a Sitemap: line with the absolute URL. Submit it in Search Console and Bing Webmaster Tools as well.

  3. 3

    Make lastmod accurate

    Set it from the content's real modification time, not the build time. If you cannot, omit it rather than lie.

  4. 4

    Split large files

    Keep each file under 50,000 URLs and 50 MB uncompressed, and use a sitemap index to group them by section.

  5. 5

    Re-validate after deploys

    Static site generators and CMS plugins regress quietly. Run the validator whenever the site structure changes.

Score after fixes
41 → 93
F
D
C
B
A
robots.txt
llms.txt
FAQPage

Let the sitemap take care of itself

SiteLift publishes to your CMS or hosted blog with sitemaps, lastmod and robots.txt kept correct, and audits crawlability on a schedule.

No credit card required

Frequently Asked Questions

Everything you need to know about the sitemap validator.

It starts from the Sitemap: lines in robots.txt, then the standard locations, and follows sitemap indexes up to eight files. Paste a sitemap URL directly to validate a specific file.