Build your AI Agent and let it work for your business 24/7 →

XML Sitemap Validator

Check an XML sitemap against the sitemaps.org protocol and Google's guidelines. Get a score, a clear list of errors and warnings with line numbers, and a CSV of every issue.

  • 100% free
  • No sign-up
  • Runs in your browser
Add a sitemap to see its score, errors and warnings.

What makes a sitemap valid

A sitemap is a UTF-8 XML file with a <urlset> root in the http://www.sitemaps.org/schemas/sitemap/0.9 namespace. Each page sits in a <url> entry with a required <loc> and optional <lastmod>, <changefreq> and <priority>. A sitemap index uses <sitemapindex> and lists other sitemaps instead of pages. A plain text file with one URL per line is also accepted by search engines.

The limits

  • 50,000 URLs and 50 MB (uncompressed) per file. Gzip compression doesn't raise the limit.
  • URLs must be absolute, under 2,048 characters and on the same host as the sitemap.
  • Characters such as & must be escaped as entities, so ?a=1&b=2 becomes ?a=1&amp;b=2.
  • lastmod uses the W3C date format: 2026-10-31 or 2026-10-31T09:30:00+00:00.

Errors first, then warnings

Fix errors before anything else. A single unescaped ampersand makes the whole file unreadable, and the validator stops there because nothing after it can be trusted. Warnings, like duplicate URLs or future lastmod dates, won't get the file rejected, but they make your sitemap less useful to search engines.

URLs are fetched through Hypello's server, which reads files up to 5 MB. For larger sitemaps, download the file and upload it here instead (up to 60 MB uncompressed).

How it works

How to use it

  1. Step 1

    Add your sitemap

    Enter the sitemap URL, paste the XML or upload a .xml, .xml.gz or .txt file.

  2. Step 2

    Run the checks

    The validator checks the XML, namespace, every URL, lastmod date, changefreq and priority value, duplicates and the protocol size limits.

  3. Step 3

    Fix what it finds

    Work through the errors first, then the warnings. Each issue shows example URLs and line numbers, and you can download the full list as CSV.

FAQs

Frequently asked questions

Answers to common questions about the XML Sitemap Validator.

It checks that the file is well-formed XML, uses a <urlset> or <sitemapindex> root with the sitemaps.org namespace, gives every entry a <loc>, and that each URL is absolute, escaped and under 2,048 characters. It also checks lastmod dates, changefreq and priority values, duplicates, URLs on other hosts, and the 50,000 URL and 50 MB limits.

Errors break the sitemap protocol, so search engines may reject the file or skip the affected URLs. Warnings are allowed by the protocol but usually point to a mistake, such as duplicate URLs, a lastmod date in the future or a mix of http and https URLs.

The score starts at 100. Each failed error check removes 15 points and each failed warning check removes 5, with a minimum of 0. A file that isn't valid XML, or has the wrong root element, scores 0 because search engines can't read it.

Google has said it ignores changefreq and priority, and only uses lastmod when it is consistently accurate. Other search engines may still read them, so invalid values are reported, but you can safely leave both out.

Yes. The index itself is checked, and you can then validate up to 50 of its child sitemaps in one go and open the issues for each one.

Pasted and uploaded sitemaps are checked in your browser and never leave your device. Sitemap URLs are fetched through Hypello's server because browsers block reading other sites directly. Nothing is stored.

More free tools

Try another tool

Get found, then start the conversation

When visitors from search follow you on Instagram, Hypello answers their comments and DMs automatically, and its AI agents collect names, emails and phone numbers for you. Start free with 1,000 DMs a month.