XML sitemap validator

Make sure your sitemap follows the sitemaps.org rules search engines expect.

Check
XML sitemap validator: illustration of a web page under a magnifying glass, a sitemap tree and a checklist
XML sitemap validator is part of our free SEO tools collection. It works in your browser on phones, tablets and computers, with no sign-up.

How to use the XML sitemap validator

  1. Enter the sitemap URL, or paste the XML or choose a file.
  2. Press Validate.
  3. Fix the errors and warnings listed.

When it's useful

  • Checking a sitemap before submitting it to Search Console
  • Finding relative or broken URLs
  • Checking lastmod date formats

Limits to know

  • Fetched sitemaps are read up to 2 MB; paste or upload larger files (up to 50 MB).
  • It checks the format, not whether each listed URL works — use the broken link checker for that.
  • Gzipped (.xml.gz) sitemaps aren't supported.

Your privacy

When you check a URL, our server fetches that public page once and shows you the result. Nothing is saved. Pasted HTML or files are checked only in your browser.

What goes in and what comes out

Input:
A sitemap URL, pasted XML or an .xml file up to 50 MB.
Output:
Sitemap type, URL count, errors and warnings.

Questions

Is the page I check stored?

No. Our server fetches the public page once to read it, then the result is shown only to you. Nothing is saved.

Related tools