Skip to content

SEO tool

XML Sitemap Validator

Paste your sitemap to catch the mistakes that make search engines skip URLs or reject the file.

Runs entirely in your browser. Nothing you paste is uploaded.

Paste the contents of a sitemap.xml file to validate it.

XML Sitemap Validator by YegappanFree tool. Open the full page for the guide.

How to use the XML Sitemap Validator

  1. Paste the XML of your sitemap, or open the file from your computer.
  2. Select Validate.
  3. Fix the errors listed first, then review the warnings. Each one names the entry it belongs to.

What the sitemap validator checks

An XML sitemap validator, or sitemap checker, tests a sitemap file against the sitemaps.org rules that Google and Bing follow. Use it to validate a sitemap before you submit it in Search Console.

A sitemap must be well-formed XML with a <urlset> or <sitemapindex> root in the sitemaps.org namespace. Every entry needs exactly one <loc> holding an absolute http or https URL of at most 2,048 characters, and one file may list up to 50,000 URLs and be up to 50 MB uncompressed.

Optional tags are checked too: <lastmod> must be a real W3C date such as 2026-01-31, <changefreq> must be one of the seven allowed words, and <priority> must be between 0.0 and 1.0.

Warnings point out things that are legal but usually mistakes: duplicate URLs, URLs on a different host, dates in the future and fragments. Google ignores changefreq and priority, but an accurate lastmod helps it decide what to recrawl.

Common questions

How do I validate an XML sitemap?

Paste the XML of your sitemap or sitemap index. The validator lists every error and warning together with the entry it belongs to.

How many URLs can one sitemap hold?

Up to 50,000 URLs and 50 MB uncompressed. Larger sites split their URLs across several files and list them in a sitemap index.

Does Google use priority and changefreq?

No. Google has said it ignores both. It does use lastmod when the date is consistently accurate.

Can this fetch my sitemap from a URL?

Not yet. Open the sitemap in your browser, copy the XML and paste it here, or open the downloaded file.

Is my sitemap uploaded?

No. It is parsed in your browser and never sent anywhere.

Guides for the XML Sitemap Validator

Related tools