XML sitemap validator
Paste the XML of a sitemap or a sitemap index and select Validate. The validator applies rules from the sitemaps.org protocol and from Google's sitemap documentation. It checks that the file parses as XML, the root element and its namespace, the required tags, the limits of 50,000 entries and 52,428,800 bytes, absolute URLs on one protocol and host, the lastmod date format, the loc length, and the changefreq and priority values. If you type the sitemap URL, it also checks each entry against the location of the file. The pasted XML stays in your browser.
Updated 2026-11-17
By Michael Lip. The sources on this page were read on 17 November 2026.
The sitemaps.org protocol says that URLs that are not considered valid are dropped from further consideration. Paste your file here to see which of the rules on this page it breaks before you submit it. The validator checks the rules listed below. It does not run a full XML Schema validation.
The robots.txt tester on this site checks whether a robots.txt rule blocks a URL. This page checks the sitemap file itself.