Knowledge Mark G
Hire Me

100% free website tool

XML Sitemap Validator

Check an XML sitemap or sitemap index the way search engines read it - format, URLs, dates and limits.

  • No sign-up required
  • Instant results
  • Only the address is sent
  • Works on any device

Validate a sitemap

Enter a sitemap address, or just the site - we find it the way crawlers do: robots.txt first, then /sitemap.xml.

Enter a site or sitemap address to check it the way search engines read it.

Private by design. Only the web address you enter is sent - to fetch the page. Nothing is stored.

  • 100% freeNo hidden charges, no watermark
  • Instant resultsDone in seconds, no queue
  • Secure & privateOnly the address is sent
  • Works on all devicesDesktop, tablet and mobile

How to use the XML Sitemap Validator

  1. 1Enter a site or a sitemap address.
  2. 2See the type, URL count and every problem found.
  3. 3Open child sitemaps from an index to check them too.

What a valid sitemap needs

A sitemap is an XML file listing the pages you want found. It must be well-formed XML, start with <urlset> (or <sitemapindex> for a list of sitemaps) in the namespace http://www.sitemaps.org/schemas/sitemap/0.9, and give every page as a full, absolute address in a <loc>. One file holds at most 50,000 URLs and 50 MB uncompressed; bigger sites split into several files and list them in an index.

What the checker looks at

The HTTP status and content type, whether the XML parses, the root element and namespace, missing or relative URLs, URLs on a different host (ignored unless that site is verified too), duplicates, and whether <lastmod> dates follow the W3C format. It also checks that robots.txt points at the sitemap, which is how crawlers you never submitted it to find it.

lastmod, priority and changefreq

Google uses <lastmod> when it is consistently accurate - so set it to the date the content really changed, not the date the sitemap was built. It ignores <priority> and <changefreq> entirely.

Then check that your robots.txt allows those pages with the robots.txt validator, and that old URLs in it do not redirect with the redirect checker - a sitemap should list final addresses only.

Frequently asked questions

How do I check if my sitemap is valid?+

Enter your site or sitemap address. The validator finds the sitemap through robots.txt, checks the XML, namespace and every URL and date, and lists each problem with what it means.

How many URLs can a sitemap have?+

50,000 URLs and 50 MB uncompressed per file. A sitemap index can list up to 50,000 sitemaps.

Does Google use priority and changefreq?+

No - Google ignores both. It does use lastmod when it is consistently accurate.

Should the sitemap be in robots.txt?+

Yes. A "Sitemap: https://your-site/sitemap.xml" line lets every crawler find it, including ones you never submitted it to.

Can a sitemap list another domain's URLs?+

Only if you have verified both sites in Search Console. Otherwise those URLs are ignored.

Should redirected or noindex pages be in the sitemap?+

No. List only final, indexable URLs that answer 200 - every other entry is a mixed signal.

Worth reading

All articles →
View all →