Technical SEO Files · Runs in your browser · Free

Sitemap XML Validator

Validate pasted sitemap XML: well-formedness, namespace, URL format, dates and limits.

What this tool does

Checks that a sitemap or sitemap index is well-formed XML and meets protocol rules: namespace, absolute URLs, W3C dates, duplicates, host consistency and size limits.

Who should use it

Developers and SEOs checking a sitemap before submission.

How it works

An XML well-formedness check runs first (tag matching, quoting, escaped ampersands). Then <loc> and <lastmod> values are extracted and tested against the sitemaps.org rules: up to 50,000 URLs and 50 MB uncompressed.

How to use it

  1. Enter or paste sitemap xml in the form.
  2. Use "Load example" if you want to see how input should look.
  3. Press the run button. Processing happens instantly in your browser.
  4. Review the result panel, then copy or download the output if the tool offers it. Use Reset to start over.

Practical example

A <loc> with a raw & produces a "malformed" error.

Understanding the results

Fix errors first. Warnings (duplicates, mixed hosts) are quality issues.

Limitations

It does not fetch the listed URLs; use Sitemap Checker for live status samples. It does not validate against the XSD.

Accuracy and report transparency

Results are computed in your browser from exactly what you enter. Deterministic steps (counting, parsing, encoding, validation) are verified by an automated test-suite with known answers. Where a method is a heuristic, the result panel says "estimated". No external data is used and nothing is invented.

Privacy

Your input never leaves your device for this tool. We count anonymous events (tool opened, run, copied) without storing what you typed. See the Privacy Policy.

Try these next

Frequently asked questions

Is lastmod required?

No. Include it only when accurate.

Is my data sent to your server?

No. This tool runs entirely in your browser, so the text or files you enter stay on your device. We do record anonymous counts of how often each tool is opened or run (no input data) to see which tools are useful.

How accurate are the results?

Counting, parsing, encoding and validation steps are deterministic and covered by automated tests with known answers. Anything based on a heuristic is labelled "estimated" in the result panel.

Is this tool really free?

Yes. There is no account, limit or paid plan. The site is supported by advertising, which is disclosed on our Advertising Disclosure page.

References