Technical SEO · XML Sitemap · Google Search
XML Sitemap Validator: Check sitemap.xml and Sitemap Index Online
Check a pasted XML sitemap or sitemap index for malformed XML, required tags, duplicate URLs, lastmod dates, valid absolute targets and hreflang alternatives. Browser-local processing: no crawling and no file uploads.
Free browser-local tool
Check XML Sitemap
Analyzes pasted XML source only, without requesting the live pages. Input limit: 1,200,000 characters. Large sitemaps should be sampled or split; this is not full XSD schema certification.
Preparing checker…
How to validate an XML sitemap
1. Find the real XML sitemap
Open /sitemap.xml or the Sitemap line in robots.txt and copy its source. When an index points to child maps, inspect the children separately: checking the index cannot certify the contents of linked files.
2. Choose urlset or sitemapindex
A urlset contains one url element per page and a required loc. A sitemapindex contains sitemap elements with loc pointing to other maps. The expected root namespace is http://www.sitemaps.org/schemas/sitemap/0.9.
3. Canonical absolute URLs
Use full HTTP(S) URLs for URLs you want indexed. Exclude 404/redirected, noindex and noncanonical pages from your preferred set. This parser validates URL syntax only; live status and Google's selected canonical need separate verification.
4. Keep lastmod trustworthy
lastmod should report an actual significant update, not the time your sitemap generator ran. Google can use reliable modification timestamps. We flag impossible, malformed and future dates; Google ignores changefreq and priority.
5. Sitemap limits and localized alternatives
An uncompressed sitemap is limited to 50,000 URLs or 50 MB. Large sites split sitemaps and use an index. XML sitemaps can carry xhtml:link hreflang targets; test reciprocal language clusters in your actual documents separately.
6. Submit and monitor without indexing promises
Publish a crawlable sitemap, reference it in robots.txt and submit it in Google Search Console's Sitemaps report. Check live accessibility and indexing separately; a passed local XML check is not evidence that Google has crawled any listed page.
Frequently asked questions
Do I need an XML sitemap?
Not always, but an accurate sitemap helps search engines discover content, especially on large or complex sites.
What is the XML sitemap size limit?
The protocol allows at most 50,000 records or 50 MB uncompressed per sitemap. This browser tool has a lower input limit.
Will checking a sitemap index check all nested sitemaps?
No. This local utility inspects only the index you paste and does not request child files.
Does a valid sitemap guarantee indexing?
No. Crawling and indexing are separate decisions by search engines.
Does the checker upload my XML?
No. The pasted XML is processed locally in your browser.
Source documentation and validation criteria
Analyzes pasted XML source only, without requesting the live pages. Input limit: 1,200,000 characters. Large sitemaps should be sampled or split; this is not full XSD schema certification.