Sitemap XML Validator
Check a pasted XML sitemap against the sitemaps.org rules: dates, priority, changefreq, absolute URLs, duplicates and mixed hosts. Nothing is uploaded.
About Sitemap XML Validator
The Sitemap Validator checks an XML sitemap against the sitemaps.org rules: dates, priority, change frequency, absolute URLs, duplicates and mixed hosts.
Common errors
Invalid lastmod dates (use YYYY-MM-DD), priority outside 0.0 to 1.0, relative URLs, duplicates, and URLs on a different host or scheme.
Check one host
Type your site address to flag entries for other hosts.
What to list
Only canonical, indexable URLs that load normally, on one host and one scheme.
Good to know
It checks structure only; it cannot fetch the URLs to see if they work.
Private
Everything runs in your browser. Nothing you paste is uploaded or fetched.
Sitemap limits
One sitemap can hold up to 50,000 URLs and 50 MB uncompressed. Bigger sites use a sitemap index file that lists several sitemaps.
How to use Sitemap XML Validator
- Paste your sitemap XML into the box, or press Open file or Load example.
- Type the site URL if you want every URL checked against one origin.
- Read the type, number of entries, size, hosts, errors and warnings.
- Fix the problems at the source, paste again and check the entries table.
Help & FAQ
What does the Sitemap Validator check?
Dates, priority and changefreq values, absolute URLs, duplicates, the number of hosts and mixed http and https, against the sitemaps.org protocol.
Does it fetch our sitemap or our pages?
No. You paste or open the sitemap. It cannot fetch other websites or check the listed URLs.
What is a valid lastmod?
A W3C date such as 2026-09-30, or a full date and time with a time zone. The example 2026-13-01 was flagged.
What values can priority have?
A number from 0.0 to 1.0. The example 1.5 was an error.
What values can changefreq have?
always, hourly, daily, weekly, monthly, yearly or never. The example sometimes was an error.
What does the site URL field do?
If set, every URL must be on that origin (scheme and host). In the test, http://other.com/b was flagged.
Why is a relative URL an error?
A sitemap needs absolute URLs with a scheme and host, such as https://example.com/page.
Why is a duplicate URL a warning?
The same URL listed twice adds nothing and can point to a mistake in how the sitemap is generated.
Why does it warn about mixed http and https?
A sitemap should list the version of your URLs that you want indexed. Mixed schemes suggest some URLs are not canonical.
Does it check status codes or noindex?
No. It checks structure only. Check status codes, redirects, noindex and robots.txt with other tools.
Is our sitemap uploaded?
No. The page says nothing you paste is uploaded, and in a test only small analytics calls were made.
How large can a sitemap be?
The sitemaps.org protocol allows 50,000 URLs and 50 MB uncompressed per file. We did not test whether this tool flags it.