XML sitemap validator
Paste a sitemap or sitemap index and check structure, URL count, duplicates, hosts and lastmod dates. Runs in your browser; nothing you paste leaves this page.
How to use it
- Open your sitemap URL (often /sitemap.xml) and copy its contents.
- Paste it above and press Validate.
- Fix problems at the source (CMS setting or build script), not by hand-editing the generated file.
What it covers
One sitemap or sitemap index as XML text (gzip files must be unzipped first).
Structure, URL count, relative or duplicate URLs, host and protocol mix, lastmod format.
Fetching URLs. It does not check whether each page answers 200; the audit does.
Questions
Why paste instead of entering a URL?
Fetching another site from this page would mean sending your request through our server. Pasting keeps everything in your browser.
Does lastmod matter?
It is optional. When present it should be accurate; dates that change on every build are ignored by crawlers.
Check a whole site in one call
The audit endpoint runs this kind of check across sampled pages of a site, with the evidence URLs. Related checks: No valid XML sitemap, Sitemap lists URLs that return errors, Sitemap not declared in robots.txt.