XML sitemap validator
Inspect XML sitemap structure, namespaces and listed URLs
Inspect a pasted urlset or sitemap index and identify entries that need review.
- No account needed
- Practical guide included
- Clear data boundaries
Preparing your workspace…
XML sitemap validator features and uses
A sitemap needs a sound XML structure before it can help describe your public URLs. Inspect a supplied urlset or sitemap index for malformed entries, duplicated locations and scope inconsistencies. Use the findings to prepare a cleaner file, then check its actual published URLs separately.
Check an exported sitemap for structural issues, duplicate URLs and mixed hosts before submission. XML validity does not establish that each URL returns 200, is indexable or is selected as canonical; those require separate URL-level evidence.
Continue this task with Sitemap generator and Canonical tag checker.
Common uses
- Review an XML export before publication.
- Find duplicate or fragment-bearing locations.
- Inspect the structure of a sitemap index.
How to use this tool
Follow these steps to prepare your input, run the tool and review its output.
Paste complete XML
Include the root element and the standard sitemap namespace. Use a urlset for page entries or sitemapindex for references to sitemap files.
Inspect entries and notes
Run the validator and review every location row. The result distinguishes missing or invalid locations from entries without a detected structural issue.
Correct the source file
Fix XML escaping, namespace mistakes and duplicate addresses. Review the published file, URL status and indexing settings through a separate workflow.
Example input and output
A minimal page sitemap
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://example.com/guide/</loc></url></urlset>
One urlset entry with one absolute location should have no detected structural issue.
This example demonstrates structure; it does not verify that the guide exists.
How to interpret the results
Each entry should contain exactly one loc in the sitemap namespace. A readable URL in the wrong XML namespace is still a structural problem.
Multiple hosts, an empty file or more than 50,000 entries produce review notes. These notes help direct a follow-up investigation rather than certify a submission.
Before you use the result
- Escape ampersands in XML query strings as &.
- Do not interpret structural success as a crawl or indexing guarantee.
- DTD and entity declarations are deliberately rejected.
Frequently asked questions
Answers about using this tool, interpreting its results and how it handles your data.
How we handle your dataCan I check a sitemap index?
Yes. The tool accepts sitemapindex roots and checks their sitemap children and locations.
Does it visit the listed pages?
No. Status codes, redirects, robots directives and canonical choices are not requested.
Does it validate lastmod dates?
No. Review modification dates separately against genuine changes to the represented pages.
Why is a namespace required?
The inspector expects the standard sitemap namespace on the root and relevant entries, rather than similarly named unrelated XML elements.
Is this tool free, and do I need to sign up?
This tool is free to use without an account or subscription. Supply your input in the workspace on this page, then run the tool. Your browser needs to support the features used by the tool; keep an original copy and review any generated output before applying it to a live website.
Are my files or text uploaded to your server?
This tool processes the supplied input locally in your browser. It does not upload your files or text to our server for processing. Copy or download the result you want to keep; the tool does not publish changes to your website automatically.