Free XML Sitemap Validator

Validate an XML sitemap against sitemaps.org and Google's rules. Every problem with its line number, as a list or CSV.

Loading tool…

How it works

Paste, open or fetch

Paste XML, open a .xml, .xml.gz or .txt file, or fetch a sitemap URL. Pasted text and files stay in your browser.

Check every entry

XML syntax, namespace, each loc, lastmod, changefreq and priority, duplicates, image, video, news and hreflang tags, and the 50,000 URL and 50 MB limits.

Fix by line

Each problem shows its line and the bad value. Download them as CSV.

What makes a sitemap invalid?

XML that does not parse (for example an unescaped &), a missing or wrong namespace, relative URLs, lastmod not in W3C Datetime format, or more than 50,000 URLs or 50 MB uncompressed in one file. Files must be UTF-8.

Source: sitemaps.org protocol · Google: build a sitemap

Do changefreq and priority matter?

Not for Google: it ignores both. It uses lastmod when the dates are consistently accurate.

Source: Google: build a sitemap

Which formats are checked?

XML sitemaps and sitemap indexes, text sitemaps (one URL per line), RSS 2.0 and Atom 1.0 feeds, and Google's image, video, news and hreflang (xhtml:link) extensions.

Source: Google: sitemap formats · Google: large sitemaps

Need what is on those pages?

Browser Use agents open each URL, including dynamic and logged-in pages, and return structured data.