Skip to content
SEO Everyone Free Online SEO Tools
SEO Everyone

Colour mode

↑↓ to choose Enter to open Esc to close

XML Sitemap Validator

Find and validate a site's XML sitemap: format, URL count, addresses, lastmod dates and sitemap indexes, with the problems search engines care about.

Checked from this site’s server Free, no sign-up

No address handy?

This site's server fetches the address you enter, like a search engine would. It sends no cookies, only reaches public websites, and keeps nothing.

How to validate an XML sitemap

  1. Enter your site (to find the sitemap automatically) or the sitemap's full address.
  2. Choose Validate sitemap.
  3. Read the problems first, then browse the addresses it lists. For a sitemap index, select a child sitemap to check it.

What is checked

  • The file is a real sitemap (<urlset> or <sitemapindex>), well-formed XML with the sitemaps.org namespace. Gzipped sitemaps (.xml.gz) and plain-text sitemaps are read too.
  • Every entry has a complete <loc> address on the sitemap's own host, with no duplicates.
  • lastmod dates are in W3C format and not in the future; changefreq and priority values are valid.
  • The limits search engines enforce: 50,000 URLs and 50 MB per file.
  • Whether robots.txt points to the sitemap.

The first 1 MB of a sitemap is read, which covers about 5,000–10,000 URLs; for larger files the counts cover that part.

Frequently asked questions

How do I find my sitemap?

Enter just your domain. The validator looks for Sitemap lines in your robots.txt, then tries /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml (WordPress). If yours is elsewhere, enter its full address.

What makes a sitemap invalid?

XML that is not well-formed, a wrong or missing namespace, relative addresses, addresses on another domain, more than 50,000 URLs or more than 50 MB. Any of these can make search engines ignore part or all of the file.

Does Google use lastmod, changefreq and priority?

Google uses lastmod when it is consistently accurate, and ignores changefreq and priority. Only update lastmod when the page really changes.

What is a sitemap index?

A sitemap that lists other sitemaps. Large sites split their URLs into several files of up to 50,000 URLs each and list them in one index. The validator shows the child sitemaps; select one to validate it.

Should every page be in my sitemap?

Only pages you want in search results: canonical, indexable pages that answer 200 OK. Leave out redirects, noindex pages and duplicates.

How do I submit my sitemap to Google?

Add a "Sitemap:" line to your robots.txt, and submit it in Google Search Console under Sitemaps. Bing Webmaster Tools has the same option.

Browse all tools