← Back to all tools

Technical SEO & Sitemaps

XML Sitemap Validator

Paste your sitemap.xml (or a plain list of URLs) and get a 0–100 health score plus a plain-English list of what is broken — malformed XML, missing namespace, relative or duplicate URLs, bad <lastmod> dates, mixed hosts, and the 50,000-URL and 50MB limits. Everything runs in your browser; nothing is uploaded.

0 characters

🧾 Well-formed XML

Unclosed or mismatched tags, a bare & inside a URL, text outside the root element, a wrong root element and a missing sitemap namespace all make parsers reject the file. Each is reported with a line number.

📏 Size limits

One sitemap file may hold up to 50,000 URLs and 50MB uncompressed. Past either limit, split the file and list the pieces in a sitemap index.

🔗 URL quality

Every <loc> must be a full http(s) address on the same host and protocol as the sitemap. Relative paths, spaces, #fragments, tracking parameters, localhost addresses and duplicates are flagged.

📅 Dates

<lastmod> must be a W3C date such as 2026-11-02 or a full date-time with a timezone. The tool also warns about future dates and about files where nearly every date is identical.

🎚 Priority & changefreq

Values are checked for validity (priority 0.0–1.0, changefreq in lowercase from the allowed list). Google ignores both fields, so they are noted but never penalised.

🗃 File types

Works on standard XML sitemaps, sitemap index files and plain text sitemaps (one URL per line). RSS and Atom feeds are recognised but not validated.

Getting your sitemap: open it in your browser (usually yourdomain.com/sitemap.xml), press Ctrl+U (Cmd+Option+U on Mac) and copy the source. For a huge file, paste a section — the limits are then checked against what you pasted. This tool checks structure, not whether Google will index your pages; use Search Console’s Sitemaps report for that.

Related tools: Robots & Sitemap Generator · AI Crawler Access Checker · Redirect Checker · SEO Audit Tool