Sitemap XML Validator
Validate pasted XML sitemap syntax, <urlset>/<sitemapindex> structure, <loc> URLs, and <lastmod> dates.
Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.
Interactive Browser Workspace
Loading the interactive Sitemap XML Validator workspace. Enable JavaScript in your browser to run calculations and conversions locally.
How to Use Sitemap XML Validator
- Paste your `sitemap.xml` markup into the validator.
- Review XML well-formedness, total URL count, `<lastmod>` formatting, and sample extracted URLs.
Methodology & Accuracy
Parses XML strictly via `DOMParser("application/xml")` and verifies Sitemaps.org protocol tags (`urlset`, `url`, `loc`, `lastmod`).
Examples
- Verify all `<loc>` tags contain valid `https://` URLs and zero malformed XML entities.
Scope & Limitations
- Analyzes pasted XML text only; does not make live HTTP requests to check whether listed URLs return 200 OK.
Frequently Asked Questions
How many URLs can a single XML sitemap contain?
The Sitemaps protocol allows up to 50,000 URLs and 50 MB uncompressed per sitemap file.
Related Tools
- XML Formatter - Validate XML well-formedness using browser XML parsing and format tags with clean indentation.
- Robots.txt Syntax Checker - Validate pasted robots.txt directives, User-agent blocks, Allow/Disallow rules, and Sitemap URLs.