Skip to content

XML Sitemap Validator

Make sure search engines can read your sitemap and that it lists live pages.

This tool loads the page through our server, because a browser cannot read other websites directly. Only the address you enter is sent; results are kept for a few minutes and not stored. Privacy

Enter just the domain to find the sitemap from robots.txt or the usual locations. Sitemap indexes and gzip-compressed sitemaps work too.

Report a problem

Don't include personal or sensitive information.

What happened, and what did you expect? (10–2000 characters) 0 / 2000

Your browser and system, screen size and recent error messages on this page. Never what you typed or your files. Privacy

What is sent
 

Enter a sitemap address, or just a domain to find the sitemap through robots.txt or the usual locations (/sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml). The validator downloads it, unpacks .xml.gz files, and checks it against the sitemaps.org protocol and Google's limits: the namespace, absolute http(s) URLs on the same host, unescaped ampersands, duplicate URLs, W3C lastmod dates, priority and changefreq values, 50,000 URLs and 50 MB per file.

For a sitemap index it checks the first three child sitemaps too. For a URL sitemap it spot-checks ten listed pages spread across the file and reports any that are broken or redirect, because a sitemap should list only live, final addresses.

How to use the Sitemap Validator tool

  1. Enter your sitemap URL, or your domain to have it found automatically.
  2. Click Validate sitemap.
  3. Fix the errors first, then the warnings; each comes with examples from your file.
  4. Check the spot-checked URLs and the list of child sitemaps or URLs.

Why use ToolOrca Sitemap Validator

  • Finds the sitemap from robots.txt or common paths
  • Supports URL sitemaps, sitemap indexes, .xml.gz, RSS/Atom feeds and text sitemaps
  • Checks namespace, URL format and host, escaping, duplicates, lastmod, priority and changefreq
  • Enforces the 50,000-URL and 50 MB limits
  • Validates the first child sitemaps of an index
  • Spot-checks listed pages for 404s and redirects

Common sitemap mistakes

The most frequent error is an unescaped & in a URL with query parameters: XML requires &, and one bad character can make the whole file unreadable. Others are relative URLs (sitemaps need full https:// addresses), URLs on another domain or on http when the site uses https, and URLs that redirect or return 404.

Google ignores <priority> and <changefreq>, but it does use <lastmod> when the dates are accurate. Set lastmod to the date the content really changed, not the date the sitemap was generated.

Getting your sitemap found

Add a Sitemap: https://your-domain/sitemap.xml line to robots.txt so every search engine finds it, and submit it in Google Search Console and Bing Webmaster Tools to see how many URLs were indexed. No sitemap yet? The sitemap generator crawls your site and writes one.

Frequently asked questions

How many URLs can one sitemap have?

At most 50,000 URLs and 50 MB uncompressed. Larger sites split the list into several sitemaps and list them in a sitemap index.

Does my sitemap have to be called sitemap.xml?

No. Any name works if you tell search engines where it is, in robots.txt or in Search Console.

Should I include every page?

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

How big a file can this tool check?

It downloads up to 8 MB (compressed or not) and unpacks .gz files up to 60 MB. Beyond that it checks the part it downloaded and tells you so.

Is the page I check stored anywhere?

No. Our server downloads the page once to analyse it, keeps the result in memory for a few minutes so a repeat check is instant, and stores nothing. Private and local addresses (localhost, 192.168.x.x, 10.x.x.x, .local names) are refused.