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
- 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. - 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.
- 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.
| Score | Meaning | What to do |
|---|---|---|
| 90–100 | Excellent | Nothing urgent. Submit it in Search Console if you haven’t yet. |
| 70–89 | Good — a few fixes | Fix the warnings; Google will usually still read the file. |
| 40–69 | Needs work | Fix the errors first — Google may reject part or all of the file. |
| 0–39 | Poor | The 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 withhttps://, on the same site as the sitemap. - Special characters are escaped:
&becomes&. <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 says | What it means | How to fix it |
|---|---|---|
| Couldn’t fetch | Google 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 read | Google 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 HTML | The 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 error | The file is not valid XML, so Google stops reading it. | Go to the line shown in the report. Usually an & must be written as &, or a tag is not closed. |
| Invalid date | lastmod is not in W3C format. | Use 2026-11-22 or 2026-11-22T10:30:00+00:00. |
| URL not allowed | A 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 namespace | The xmlns attribute is missing or wrong. | Use xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" on the root tag. |
| Empty sitemap | The file has no URLs in it. | Make sure your plugin or generator actually adds your pages, then regenerate. |
| Compression error | A .gz file is damaged or not really gzip. | Re-create the file, or submit the uncompressed .xml instead. |
| Too many URLs / file too large | More 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 error | A 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.