Validate sitemap XML by pasting content into the editor. Get line-by-line error and warning reports with code snippets, then click any issue to jump to its line. Supports both <urlset> and <sitemapindex> formats. Validation runs in your browser.
Prefer to upload a file instead? Use our Sitemap XML File Checker.
One missing bracket or unclosed tag can generate dozens of cascading warnings. Always address the topmost error and re-validate before moving down the list.
URL parameters containing & must be written as & in XML. For example, ?a=1&b=2 becomes ?a=1&b=2.
The statistics cards show your URL count, error/warning totals, file size, and sitemap type at a glance. A significantly lower URL count than expected may indicate a problem with your sitemap generation script.
If your site is secured with SSL, all URLs in the sitemap should use HTTPS to avoid unnecessary redirects and mixed-content issues.
Paste the content of your sitemap.xml file into the editor and click "Check." The tool parses your XML and generates a list of issues showing the line number, the relevant code snippet, and a description of the error. After fixing the problem in the editor, click "Check" again to verify the fix.
The tool identifies XML syntax errors, missing or incorrect namespace declarations, <url> entries with a missing or empty <loc> tag, entries with multiple <loc> tags, and relative or malformed URLs (including spaces and non-ASCII characters). It also detects duplicate <loc> values, improperly formatted <lastmod> dates, out-of-range <priority> values, invalid <changefreq> entries, unescaped ampersands, and violations of URL count limits. For sitemap index files, the tool validates <sitemap> entries and their <loc> and <lastmod> tags against the same protocol rules.
Errors are critical issues that break XML parsing or violate the sitemap protocol, which can prevent search engines from reading the file. Warnings flag issues such as duplicate URLs or formatting inconsistencies that may affect crawling but do not necessarily stop the file from being processed.
XML parsers often struggle to interpret the rest of a file after a structural error. If you see a long list of errors, fix the first one on the list and run the check again. Many later errors may disappear once the root cause is resolved.
No. Validation runs in your web browser. The tool checks pasted sitemap content without uploading a file for server-side validation.
Paste sitemap XML content into the editor to validate it. The checker identifies XML syntax errors, protocol compliance issues, and common formatting mistakes, then returns a report with line numbers, code snippets, and clear descriptions. Click any issue to jump to that line in the editor.
Validation runs in your browser using a built-in XML parser. Your sitemap data is not uploaded for server-side checking, so you can use the tool with staging environments, development sites, and unpublished content. Paste your XML, click Check, and review the results.
The checker supports standard <urlset> sitemaps and <sitemapindex> files, covering single-sitemap and multi-sitemap configurations up to 50,000 entries. Use it to prepare sitemaps for Google Search Console, debug CMS-generated sitemaps, or audit existing sitemaps for issues.