XML Sitemap Validator
Check your sitemap XML against the protocol, with a well-formed check, URL and priority checks, and a clear pass and warning report.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Paste sitemap XML
Checks
Summary
Checked locally in your browser. Nothing is uploaded.
How to Use XML Sitemap Validator
- Paste your sitemap XML. Drop in the content of your sitemap.xml file.
- Select Validate. The tool checks the structure, the URLs, and the optional values against the sitemap protocol.
- Read the checks. Each line shows a pass, a warning, or an error, with a note on what to fix.
- Review the summary. See the sitemap type, the number of entries, and how many loc tags were found.
- Fix and re-validate. Correct any errors in your file and run the check again until it is clean.
Frequently Asked Questions
What does the validator check?
It checks that the XML is well-formed, the root is a urlset or sitemapindex, every entry has an absolute loc, and the optional values are valid.
What are the most common errors?
XML that is not well-formed, a missing loc, and loc URLs that are relative rather than absolute http or https links.
How many URLs are allowed?
A single sitemap supports up to 50,000 entries. The tool warns you if you go over that limit.
What values does it check?
priority must be between 0.0 and 1.0, changefreq must be a known value, and lastmod must use the W3C date format.
Does it fetch my live sitemap?
No. You paste the XML yourself, which keeps the check private and works on a file before you upload it.
Is my data sent anywhere?
No. The validation runs entirely in your browser, so nothing you paste is uploaded.
Related Tools
XML Sitemap Formatter →
Pretty print or minify a sitemap XML with clean indentation, a well-formed check, and…
XML Sitemap Generator →
Paste your URLs and generate a valid XML sitemap with changefreq, priority, and lastmod,…
Twitter Card Validator →
Check your Twitter Card markup against the rules and see a clear pass, warning,…
Convert CSV to XML →
Convert CSV to XML with custom tag names, element/attribute modes, CDATA wrap, headerless mode.…
Generate Random XML Data - Test Files →
Generate random XML data with customizable elements, nesting, and attributes. Free, instant, and secure…
JSON to XML Converter →
Convert a JSON object into clean XML, with keys as tags and nested objects…
XML Formatter →
Pretty-print XML with clean, consistent indentation, keeping attributes and self-closing empties.
XML Minifier →
Minify XML by removing the whitespace and comments between tags, keeping the declaration.
XML to CSV Converter →
Convert repeated XML records into CSV, with the first record setting the columns.
XML to JSON Converter →
Convert XML into JSON, with each element as a key and repeated tags as…
Convert XML to PDF Invoice →
Convert XML invoice data to professional PDF invoices instantly. Support for UBL and custom…
XML to YAML Converter →
Convert XML into readable YAML that mirrors the document tree, with indentation for nesting.