1. Home
  2. Free tools
  3. XML sitemap validator

XML sitemap validator

Enter a site address. We find its sitemap (from robots.txt or the usual locations), check the XML and limits, and test a sample of the listed URLs.

No sign-up.Try:

How to use it

  1. Enter the site address, or paste the sitemap address itself if you know it (it ends in .xml or .xml.gz).
  2. Check the fix list. High items can stop search engines using the file.
  3. Look at the spot check: URLs in a sitemap should return 200 directly, not redirect or fail.

What it checks

  • Valid XML and the correct sitemap namespace
  • Sitemap index files and the first child sitemap
  • The 50,000 URL limit, duplicates and over-long URLs
  • URLs on a different host or using http:// on an HTTPS site
  • lastmod dates in the W3C format, and identical or missing dates
  • A sample of up to 10 URLs checked politely for errors, redirects and noindex
  • Whether the sitemap is declared in robots.txt

Limits

  • Checks the structure of the sitemap and tests a small sample of its URLs, not every address listed.
  • Reads sitemaps up to 20 MB uncompressed. Larger files are checked only in part.
  • Cannot tell whether search engines have accepted or indexed the sitemap. Use Search Console for that.

Public pages only, one page at one point in time. See the methodology and terms.

Frequently asked questions

Does my site need an XML sitemap?

Small, well-linked sites can be crawled without one. A sitemap helps search engines find new, deep or poorly linked pages faster and gives you a list to compare against what gets indexed. It is cheap to add, so most sites should have one.

What are the sitemap limits?

One file may hold at most 50,000 URLs and 50 MB uncompressed. Larger sites split the list into several files and list them in a sitemap index.

Which URLs belong in a sitemap?

Only the canonical, indexable pages that return 200. Leave out redirects, error pages, noindex pages and parameter variations.

Do priority and changefreq matter?

Google ignores both. Accurate lastmod dates are the one optional field that is useful, and only when they reflect real content changes.

Why is only a sample of URLs checked?

Every check makes a real request to the site. We test up to ten evenly spaced URLs to catch systematic problems without acting like a crawler.

Can a sitemap list pages of other domains?

No. A sitemap may only list URLs from its own site, unless the other domains are verified in Search Console and you submit it there. This tool flags entries on a different host.

↑ ↓ to moveEnter to openEsc to closeAll results