Sitemap Checker & XML Sitemap Validator

Enter a sitemap URL — or just your domain — to test it against the sitemap protocol and Google’s rules. Not online yet? Paste the XML or upload the file.

  • 100% free
  • No sign-up
  • XML & format errors
  • Broken & redirected URLs
  • Sitemap index support
  • Check a URL, paste or upload XML

Why use our Sitemap Checker?

Every problem Google could complain about — explained in plain English. Test any sitemap against the official rules, find broken or redirected URLs and fix “Couldn’t fetch” errors fast.

11+checks on every sitemap
25live pages tested
Up to 50child sitemaps checked
0sign-ups or emails
  • XML errors with line numbersSee the exact line and how to fix it.
  • Every URL checkedRelative, duplicate and cross-domain URLs flagged.
  • Sitemap index supportChild sitemaps listed with their URL counts.
  • Live page testFind 404s, redirects and noindex pages.

What is a sitemap checker?

A sitemap checker tests your XML sitemap the way Google reads it: can the file be downloaded, is it valid XML, does it follow the sitemap rules, and do the pages it lists actually work. It tells you before Google does whether your sitemap will be accepted — and exactly what to fix if it won’t.

Use it when you create a new sitemap, after a redesign or website migration, after changing an SEO plugin, and whenever Google Search Console shows “Couldn’t fetch”, “Sitemap could not be read” or “Has errors”. New to sitemaps? Start with what an XML sitemap is.

How to check your sitemap in 3 steps

  1. Enter your sitemap address. Type the full URL, for example https://example.com/sitemap.xml. Don’t know where it is? Enter just your domain and the checker looks for it, or use our Sitemap Finder to list every sitemap a site has.
  2. Choose extra tests (optional). Tick Also test a sample of 25 listed pages to see whether the URLs inside your sitemap really work. For a sitemap index, tick check all child sitemaps to test up to 50 of them instead of the first 10.
  3. Click Check Sitemap and read the report. You get a health score, the problems to fix first, and every check in red (error), orange (warning) or green (passed) — each with the cause and the fix.

How to read your report

The health score sums up the result out of 100. Every error takes off 15 points, every warning 5, and every problem page in the sample 2. A file that isn’t a valid sitemap at all scores 20 or less.

ScoreMeaningWhat to do
90–100ExcellentNothing urgent. Submit it in Search Console if you haven’t yet.
70–89Good — a few fixesFix the warnings; Google will usually still read the file.
40–69Needs workFix the errors first — Google may reject part or all of the file.
0–39PoorThe file is likely unreadable. Fix it before you submit it.

Under the score, Fix these first lists the three most important problems, errors before warnings. Download report (CSV) saves every check, child sitemap and tested page in one file — handy for a developer or for comparing before and after a fix.

What our sitemap validator tests

A sitemap can look fine in your browser and still be rejected by Google Search Console. This tool runs the same kind of checks a search engine does:

File reachability

HTTP status (must be 200), redirects, content type, gzip compression and the 50 MB size limit, and whether robots.txt lists or blocks the sitemap.

Valid XML

Broken or unclosed tags, unescaped characters like &, a BOM or blank line before <?xml, shown with the exact line and column.

Sitemap protocol

The correct root element (urlset or sitemapindex), the sitemaps.org namespace and the 50,000 URL limit (size limits explained).

Every URL

Absolute addresses on the same domain and protocol as the sitemap, under 2,048 characters, no spaces and no duplicates.

Optional tags

lastmod in W3C format and not in the future, valid changefreq and priority values, though Google ignores both.

Listed pages

A sample of sitemap URLs tested for 404 errors, redirects, noindex and canonical URLs that point elsewhere. Image and video tags are checked too.

What a valid XML sitemap looks like

This is the smallest sitemap Google accepts. Yours can list up to 50,000 <url> entries:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-11-20</lastmod>
  </url>
</urlset>
  • The file must start with the XML declaration — nothing before it, not even a blank line.
  • Every <loc> is a full address with https://, on the same site as the sitemap.
  • Special characters are escaped: & becomes &amp;.
  • <lastmod> is optional, but if you use it, it must be the real date the page last changed.

No sitemap yet? Generate one free — or follow our guide on how to create an XML sitemap.

Check a sitemap before it goes online

You don’t need to upload a sitemap to your website to test it. Open the Paste / Upload XML tab and either paste the XML or upload the file — .xml, .xml.gz or .txt, up to 10 MB. Compressed .gz files are unpacked in your browser. You get the same report, so you can fix every error before Google ever sees the file.

Google Search Console sitemap errors and how to fix them

These are the messages you may see in Search Console’s Sitemaps report. Our checker finds the cause of each one:

Search Console saysWhat it meansHow to fix it
Couldn’t fetchGoogle could not download the file — or simply hasn’t tried yet.Make sure it opens with status 200 and isn’t blocked. See how to fix “Couldn’t fetch”.
Sitemap could not be readGoogle downloaded the file but couldn’t read it as a sitemap.Check the XML and the content type. Full walkthrough: fix “Sitemap could not be read”.
Sitemap is HTMLThe address returns a web page — often an error page or a plugin page.Point Search Console to the real XML file and make sure the server sends it as XML.
Parsing errorThe file is not valid XML, so Google stops reading it.Go to the line shown in the report. Usually an & must be written as &amp;, or a tag is not closed.
Invalid datelastmod is not in W3C format.Use 2026-11-22 or 2026-11-22T10:30:00+00:00.
URL not allowedA URL is on another domain, or uses http while the sitemap uses https.List only URLs from the same host and protocol as the sitemap — watch for www vs non-www.
Incorrect namespaceThe xmlns attribute is missing or wrong.Use xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" on the root tag.
Empty sitemapThe file has no URLs in it.Make sure your plugin or generator actually adds your pages, then regenerate.
Compression errorA .gz file is damaged or not really gzip.Re-create the file, or submit the uncompressed .xml instead.
Too many URLs / file too largeMore than 50,000 URLs or over 50 MB.Split the file and join the parts with a sitemap index — our generator does this for you.
Temporary processing errorA short-lived problem on Google’s side.Usually nothing to fix. If it stays, read what to do about a temporary processing error.

Two more problems Google doesn’t always name: listed pages that are 404, redirected or noindex, and non-canonical URLs in your sitemap. A sitemap should only contain final, indexable pages.

Sitemap checker vs sitemap validator — what is the difference?

A sitemap validator checks that the file follows the rules: correct XML, correct tags, correct format. A sitemap checker (or sitemap tester) goes further and checks what the file contains — whether the listed pages actually work and should be in Google at all. A sitemap can be 100% valid and still hurt you if half its URLs redirect or return 404. This tool does both in one step, so you get a sitemap audit, not just a syntax check.

How to check if a website has a sitemap

Type the domain (for example example.com) instead of a sitemap URL. The checker looks in robots.txt and the most common sitemap addresses and checks the first one it finds. To list every sitemap a site has, use the Sitemap Finder, and to export all URLs inside a sitemap, use the Sitemap URL Extractor. Your sitemap isn’t listed in robots.txt yet? Add it with one line.

Sitemap index files

Large sites and SEO plugins such as Yoast and Rank Math use a sitemap index — a sitemap of sitemaps. When you check an index file, our validator checks the index itself and then opens the first 10 child sitemaps, or up to 50 if you tick check all child sitemaps. Each child is listed with its status, URL count and first error, so you can see at once which file needs fixing.

How often should you check your sitemap?

Check it after creating a new sitemap, after a website redesign or migration, after installing or changing an SEO plugin, and whenever Search Console reports sitemap errors. For an active site, a quick check once a month helps you catch broken and redirected URLs before they waste Google’s crawl time.

Passed the check? Submit it to Google next — our step-by-step guide shows how to submit your sitemap in Search Console, and how to resubmit it after a fix.

Frequently asked questions

Quick answers about our free Sitemap Checker & Validator. Still have a question? Ask us through our contact page.

How do I check if my sitemap is valid?

Enter your sitemap address (for example https://example.com/sitemap.xml) above and click Check Sitemap. You get a health score out of 100, the problems to fix first, and every check with the line where an error happens and how to fix it.

Can I check a sitemap that isn’t online yet?

Yes. Open the “Paste / Upload XML” tab and paste the XML, or upload the file (.xml, .xml.gz or .txt, up to 10 MB). Compressed files are unpacked in your browser, and the file is not stored.

What is a good sitemap health score?

90 to 100 is excellent, 70 to 89 is good with a few fixes, 40 to 69 needs work and below 40 is poor. Each error takes off 15 points, each warning 5, and each problem page in the sample 2.

Why does Google Search Console say “Sitemap could not be read”?

Usually the file returns an error, is blocked by robots.txt or a firewall, is served as an HTML page instead of XML, or contains broken XML such as an unescaped “&”. Run it through this checker — it tests each of these causes.

Why does Google say my sitemap has errors when it looks fine?

Common hidden causes are unescaped ampersands (&) in URLs, a byte-order mark or blank line before the XML declaration, URLs on a different domain or protocol (http vs https), and dates in the wrong format.

Does the checker test the pages inside my sitemap?

Yes, if you tick “Also test a sample of 25 listed pages”. It picks 25 URLs spread evenly through the file and checks each page’s status code, redirects, noindex tag and canonical URL, because a sitemap should only list final, indexable pages. Testing a sample keeps the check fast; to check the status of every URL, use the Sitemap URL Extractor.

Does it check sitemap index files?

Yes. If the file is a sitemap index, the checker validates it and checks the first 10 child sitemaps — or up to 50 if you tick “check all child sitemaps” — and lists each one with its status and URL count.

Does Google have its own sitemap checker?

Google Search Console’s Sitemaps report shows whether Google could read your sitemap — but only after you submit it, and it can take days. This checker tests the file in seconds, before you submit, and explains each problem in plain English.

What is the difference between a sitemap checker and a sitemap validator?

A validator checks that the file follows the sitemap format. A checker also tests what is inside — whether the listed pages work and belong in Google. This tool does both.

Is this sitemap tester free?

Yes, completely free with no sign-up. To keep it fast for everyone, each visitor can run up to 60 checks an hour.