XML Sitemap Validator
Sitemap XML
Paste sitemap XML with up to 1,000,000 characters. Checks run in this browser.
Paste an XML sitemap to inspect it in this browser. The validator parses a sitemap <urlset> or <sitemapindex>, then checks each direct entry for an absolute HTTP or HTTPS <loc>, duplicate locations, and common <lastmod>, <changefreq>, and <priority> values. Your sitemap is not uploaded or fetched by this tool.
How to check a sitemap
-
1
Paste the XML
Use a <urlset> sitemap or a <sitemapindex> with no more than 1,000,000 characters.
-
2
Review the parser result
Malformed XML, DOCTYPE declarations, ENTITY declarations, and unsupported root elements stop the check.
-
3
Read the entry report
The report counts direct entries and lists common field issues it can find locally.
What this checks
For a <urlset>, each direct <url> entry is inspected. For a <sitemapindex>, each direct <sitemap> entry is inspected. The checker looks for:
- A
<loc>containing an absolutehttporhttpsURL. - Repeated
<loc>values in the pasted document. <lastmod>values that follow the supported date or timestamp pattern.<changefreq>values from the standard sitemap vocabulary.<priority>values from0to1.- More than 50,000 direct entries.
It also rejects DOCTYPE and ENTITY declarations before parsing. This keeps the browser check focused on pasted sitemap XML rather than entity expansion.
A small sitemap example
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-07-30</lastmod>
</url>
</urlset>
What it does not check
This is not an XSD or sitemaps.org schema validator. It does not download a sitemap from a URL, upload a file, test whether listed URLs respond, compare hosts, inspect image or video extensions, or submit anything to a search engine. Use your crawler, deployment checks, or search-console tools for those jobs.
The 1,000,000-character input limit is lower than the sitemap protocol file-size limit. It is a browser safety limit for this tool, not a claim about whether your production sitemap is within the protocol limit.
Frequently Asked Questions
No. It only reads the XML you paste into the page. It does not make requests to listed URLs or any remote sitemap address.
No. The result only covers the local checks listed above. Search engines can apply additional protocol and crawling rules.
Yes. The tool accepts a <sitemapindex> and checks its direct <sitemap> entries in the same local report.
The pasted text may be malformed XML, include a DOCTYPE or ENTITY declaration, or use a root element other than <urlset> or <sitemapindex>.
Related Tools
Backlink Anchor Text Analyzer
Paste backlinks, CSV rows, URL | anchor pairs or plain anchor lines to count repeated anchor text and export Anchor Text,Count,Share CSV.
Breadcrumb Schema Generator
Generate valid BreadcrumbList JSON-LD for any page hierarchy. Produces schema.org markup ready to paste into your site head.
Broken Link Checker
Crawl a single page (or a small sitemap) and flag every broken link by HTTP status. Fast check with redirect chain detection.
Word Frequency Counter
Find the most repeated words in any text with counts and density percentages. Useful for editing, SEO checks and content audits.
Canonical Tag Generator
Generate a valid rel=canonical link tag. Includes HTTP Link header equivalent and common mistakes to avoid.
Canonical URL Checker
Check the canonical URL Google sees for any page. Detects HTML link tag, HTTP Link header, conflicts and redirect chains.