Tool 05 · Validate
XML sitemap checker
Paste, upload or load an XML sitemap and validate the structure, locations, dates, duplicates, hosts and limits. The checker parses the XML locally and explains each problem it finds.
Related tests: MAP-01 to MAP-06 · Known limit: does not request the listed URLs or verify HTTP status.
The "Load this site's sitemap" button reads /sitemap.xml from this domain. Other sites are blocked by browser cross-origin rules, so paste or upload their XML instead.
This result describes the pasted input. It is not a Google ranking, indexing or eligibility decision.
Two roots
urlset and sitemapindex.
A regular sitemap uses a <urlset> root and one <url> entry per page. A sitemap index uses a <sitemapindex> root and one <sitemap> entry per child sitemap. The checker detects both and validates the matching child elements.
| Element | Required | What the checker looks for |
|---|---|---|
<urlset> / <sitemapindex> | Yes | Root name and the sitemap namespace |
<loc> | Yes, one per entry | Absolute http or https URL, no whitespace, no fragment |
<lastmod> | Optional | W3C date, such as 2026-11-23 or 2026-11-23T10:00:00+00:00 |
<changefreq> | Optional | always, hourly, daily, weekly, monthly, yearly or never |
<priority> | Optional | Number from 0.0 to 1.0 |
The checker also reports a host mismatch when you provide an expected host, exact duplicate locations, more than 50,000 entries and a file larger than 50 MB uncompressed.
What belongs
Canonical, useful, returning pages.
- Public pages that return a successful response and represent the preferred URL.
- The final protocol, host, path and trailing-slash convention.
- Pages you want a search engine to know about, not every URL the server can produce.
- A real
lastmodwhen the page changed. Do not use today's date for every entry.
Leave out redirects, duplicate parameter URLs, test pages, empty archives, staging URLs and pages you do not want indexed. A sitemap is a communication, not a guarantee of crawling or indexing.
Worked example
A valid file and a broken one.
The valid sample has a namespace, two absolute locations and a date. The broken sample has a relative location, a non-date lastmod, a fragment and a duplicate. Load both to see the difference between a pass and a list of blockers.
A common mistake is treating the sitemap as a list of every internal URL. Start with the canonical pages that return successfully. Add more only when they deserve to be discovered.
Limits
What the checker cannot verify.
- Whether each URL returns 200, redirects or 404s. The checker does not fetch them.
- Whether each page is canonical, indexable or free of noindex.
- Whether Google has crawled or indexed the sitemap.
- Whether the XML is served with the correct content type or status.
- Whether a sitemap index child is reachable or valid. Each child needs its own check.
Test record
Cases that exercise the parser.
| Case | Expected result |
|---|---|
| Valid urlset | Valid, one entry |
| Malformed XML | BLOCKER: XML could not be parsed |
| Relative loc | BLOCKER: not absolute |
| Duplicate loc | REVIEW: duplicate |
| Invalid lastmod | REVIEW: invalid date |
| Valid sitemapindex | Valid, root sitemapindex |
| More than 50,000 URLs | BLOCKER: split the file |
FAQ
Questions about sitemaps.
Does a sitemap make pages rank?
No. It helps discovery. Crawling, indexing and ranking are separate decisions.
Should every page be in the sitemap?
No. Include canonical pages you want discovered. Exclude redirects, duplicates, test pages and pages you do not want indexed.
How many URLs can one sitemap contain?
Up to 50,000 URLs and 50 MB uncompressed. A sitemap index can point to up to 50,000 child sitemaps.
Why does the checker not fetch my URLs?
Browsers block most cross-origin requests, and a checker that silently fetched arbitrary URLs would create privacy and security problems. The tool validates the file; use your server or Search Console to check responses.