XML sitemap validator

Paste your sitemap XML to check it for errors and common mistakes. Free, with no signup. Your XML stays in your browser.

What a valid sitemap looks like

A sitemap is an XML file that lists the URLs on your site. The root element is either urlset, for a list of pages, or sitemapindex, for a list of sitemaps. Each URL needs a loc tag with its full address, starting with http or https. The lastmod, changefreq, and priority tags are optional.

Errors often come from small details: an unescaped ampersand in a URL, a date in the wrong format, or a priority above 1.0. This validator flags each one with the entry it affects, so you can fix it quickly.

Frequently asked questions

What does a sitemap validator check?
It checks that the XML is well formed, uses the sitemap namespace, and follows the sitemaps.org protocol. That covers required tags, absolute URLs, date formats, priority ranges, duplicate URLs, and the limit of 50,000 URLs per file.
Do I need a sitemap for Google to index my site?
Not always. Google can find pages through links, but a sitemap helps it discover pages faster and understand which pages you care about. It is most useful for large sites, new sites, and sites with pages that few other pages link to.
Does Google use the priority and changefreq tags?
Google has said it largely ignores priority and changefreq. The lastmod date is the tag that is most useful to search engines, so keep it accurate.
What if my sitemap is larger than the limit?
Split it into several sitemaps and list them in a sitemap index file. Each child sitemap can hold up to 50,000 URLs and be up to 50 MB uncompressed.

Keep your support content findable

Doupple trains an AI support agent on your help content, so visitors get answers without waiting. Free plan, no credit card.

Start for free