XML Sitemap Validator
XML Sitemap Validator
Validate sitemap XML syntax and URL entries for `urlset` and `sitemapindex` formats.
Validation Report
About the XML Sitemap Validator Online Free Tool
The XML Sitemap Validator Online Free Tool is a lightweight sitemap XML checker for pasted content or a public sitemap URL. It parses the XML, identifies a urlset or sitemapindex root, examines loc values, and reports valid HTTP or HTTPS URLs, exact duplicates, and invalid entries.
The report is intended for quick structural troubleshooting. It does not perform complete sitemap-protocol or XML Schema validation, crawl the URLs listed in the file, or confirm that a search engine has accepted the sitemap.
How to Validate an XML Sitemap
- Enter the public sitemap URL, or open the additional options and paste the XML directly.
- Select Validate Sitemap.
- Review the detected sitemap type and total number of
locelements. - Check the valid URL, duplicate, and invalid URL counts.
- Inspect the displayed sample URLs and invalid entries.
Choosing URL or Pasted XML Mode
Pasted XML:
Use this for a locally generated file or a draft that has not been deployed. The pasted text is parsed in your browser and takes priority when both fields contain a value.
Sitemap URL:
URL mode uses the site's server utility to fetch a public sitemap-like URL that returns XML or plain-text content. The report shows the effective fetched URL when available.
What the Sitemap Validator Checks
- Whether the document can be parsed as XML.
- Whether the root element is
urlsetorsitemapindex. - Whether non-empty
locvalues are valid absolute HTTP or HTTPS URLs. - Whether the same raw
loctext appears more than once. - Up to ten sample valid URLs and up to twelve invalid entries.
What This Sitemap Checker Does Not Validate
The tool does not verify the sitemap namespace, required child structure, lastmod dates, same-site restrictions, the 50,000-entry limit, the uncompressed file-size limit, or whether each listed URL returns a successful response. It also does not fetch child sitemaps found in a sitemap index.
Common Sitemap Validation Uses
- Finding malformed XML before deploying a generated sitemap.
- Checking whether the root is a URL set or sitemap index.
- Spotting invalid protocols and repeated URL strings.
- Reviewing the deployed sitemap response separately from a local copy.
XML Sitemap Validator FAQ
Does the tool crawl every URL in the sitemap?
No. It examines the XML and URL text only.
Can it validate a sitemap index?
Yes. It recognizes a sitemapindex root, but it does not fetch or validate the child sitemap files.
Does a clean report guarantee that the sitemap is fully valid?
No. Passing this limited check does not confirm compliance with every sitemap rule or search-engine requirement.
Is pasted XML uploaded?
No. Pasted XML is processed in the browser. URL mode sends the public sitemap address to the site's server-side fetching utility.
Related Tools
XML Sitemap Generator
Generate XML sitemaps from page paths with configurable changefreq and priority defaults.
Sitemap Auditor
Audit sitemap XML for duplicates and invalid URLs.
Robots.txt Tester
Test robots allow/disallow behavior for any user-agent and path.
Robots Rule Tester
Test robots allow/disallow behavior for user-agents and paths.