What is an XML sitemap?
An XML sitemap is a file that lists the URLs you want search engines to discover and index, often with the date each page last changed. Large sites split it into several sitemaps grouped by a sitemap index file. Sitemaps help search engines find new and deep pages faster, especially on large or newly launched sites.
How to use the XML Sitemap Validator
- Enter your domain or the exact sitemap URL.
- Run the validator. It reads robots.txt to find declared sitemaps.
- Review the URL count, errors and the sample URL check.
- Remove redirected, broken and noindex URLs from your sitemap.
Why it matters for SEO
- Search engines trust sitemaps less when they contain broken or redirected URLs.
- Accurate lastmod dates help Google decide what to recrawl.
- Missing pages in a sitemap may be discovered slowly or not at all.
- A sitemap that can't be fetched gives search engines nothing to use.
Key facts
- A single sitemap can list up to 50,000 URLs.
- A single sitemap file can be up to 50 MB uncompressed.
- Sitemap index files group multiple sitemaps.
- Sitemaps should only contain canonical URLs that return HTTP 200.
XML Sitemap Validator FAQ
Where is my sitemap?
Usually at example.com/sitemap.xml or listed on a Sitemap: line in robots.txt. This validator checks both automatically.
Do I need a sitemap?
Small, well-linked sites can be found without one, but a sitemap helps every site and is especially important for large sites, new sites and pages with few internal links.
Should redirected URLs be in my sitemap?
No. List only the final URL. Redirected and broken URLs in a sitemap waste crawl budget and send mixed signals.
How do I submit my sitemap to Google?
Add it in Google Search Console under Sitemaps, and reference it in your robots.txt with a Sitemap: line.