XML Sitemap Validator
Find a site's XML sitemap, check it follows the rules, and spot-check its URLs for redirects and errors.
How to use it
- Paste your domain to let the tool find the sitemap from robots.txt, or paste the sitemap's own address.
- Fix anything marked Fix: those stop Google reading the sitemap properly.
- Then submit the sitemap in Google Search Console and Bing Webmaster Tools.
What it checks
- Finding it: whether robots.txt lists the sitemap, and whether it loads.
- Format: a valid
<urlset>or<sitemapindex>, fullhttps://addresses, and the 50,000-URL limit per file. - Sitemap indexes: the first five child sitemaps are opened and their URLs checked too.
- Clean URLs: duplicates, http:// leftovers and links to other domains.
- lastmod dates: the right format and none in the future.
- Spot check: 20 random URLs are requested. Every one should answer HTTP 200, not redirect or error.
Why a clean sitemap matters
A sitemap is your list of pages you want in Google. When it's full of redirects, 404s and duplicates, Google learns to trust it less and may crawl your real pages more slowly. Keep it to final, working, indexable URLs, and let your CMS or build step update it automatically so it never goes stale. For a new site, a sitemap submitted in Search Console is one of the fastest ways to get pages discovered. Our guide to getting your website on Google walks through it.
Frequently asked questions
Where is my sitemap?
Usually at /sitemap.xml or /sitemap_index.xml. WordPress SEO plugins often use /sitemap_index.xml, Shopify uses /sitemap.xml, and many sites list it in robots.txt. Paste your domain and the tool looks in all of these.
Should every page be in my sitemap?
Only pages you want in search results. Leave out redirects, error pages, noindex pages, duplicate versions and thin pages like tag archives.
Does a sitemap guarantee my pages get indexed?
No. It helps Google find pages faster, but each page still has to be good enough and allowed to be indexed. Use Search Console's Pages report to see what was left out and why.
More free tools
Related guides
Check everything at once
RankHoot runs 60+ SEO, AI search, speed and security checks on your page and gives you copy-paste fixes.
Scan my site free