Check a sitemap against the protocol — structure, namespace, dates and limits.
Paste the contents of sitemap.xml or a sitemap index
Paste sitemap XML to check its structure, namespace, URLs, dates and size against the protocol.
“Valid” here means the document satisfies the sitemaps.org protocol — not that the URLs inside it resolve, are indexable, or should be indexed. This tool cannot fetch your sitemap or the pages it lists; browsers cannot read arbitrary URLs on other domains, and nothing here pretends to.
A valid sitemap
Passes cleanly
A well-formed urlsetA bad date
The most common failure
<lastmod>15/01/2024</lastmod>A missing namespace
Rejected by crawlers
<urlset> with no xmlnsThe contents of your sitemap.xml file.
Errors, warnings and notes, each naming the entry involved.
Paste the corrected file back to confirm.
A file can be perfect XML and still be a broken sitemap. Missing namespaces, relative URLs and impossible dates are all caught.
A missing loc breaks the entry; a duplicate URL merely wastes crawl budget. The two are never conflated.
50,000 URLs, 50 MB and 2,048 bytes per URL are protocol constraints, and exceeding them is reported as an error rather than a suggestion.
Validate sitemap XML properly. The validator checks the root element and its required namespace, that every entry has a loc, that URLs are absolute and within the 2,048-byte limit, that lastmod is a real W3C datetime, that changefreq is one of the seven defined values and priority is between 0 and 1, and that the file respects the 50,000-URL and 50 MB ceilings. Duplicates and mixed hosts are reported as warnings. A file is called valid only when nothing failed — never merely because it parsed as XML.
Keep going
Related pages in SEO Tools, plus what others are using right now.
More seo tools that pair well with this one.
Build a valid XML sitemap from a list of URLs, with correct escaping and dates.
Check whether a specific URL is allowed for a specific crawler, and see which rule decided it.
Check description length, truncation and keyword use before it reaches a results page.
Produce a canonical link tag and check the URL for the mistakes that break it.
Build a valid robots.txt with the right group structure and directive order.
Check whether your page title fits the search snippet, and where the keyword sits.
Create strong random passwords with full control over length and characters.
Format, validate and minify JSON, with errors that point to the exact line.
Work out any percentage — of a number, as a share, or as a change.
Count words, characters, sentences and paragraphs as you type.
Convert between length, weight, temperature, volume, speed, data and more.
Count characters with and without spaces, against the limits that matter.
Find the mean, median, mode and range of a list of numbers, with the working shown.
Sample and population standard deviation and variance, both shown, with the working.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
Turn JSON into readable YAML, with quoting and multiline strings handled properly.