Sitemap Checker and Validator
Validate any XML sitemap or sitemap index for free. See URL count, lastmod coverage, duplicates, nested sitemaps, and errors that stop search engines reading it.
How do I check a sitemap for errors?
- Enter a domain such as example.com, or the full address of a sitemap such as example.com/sitemap.xml.
- Click Check sitemap. For a bare domain, the tool uses the first Sitemap line in robots.txt, or /sitemap.xml if there is none.
- Read the verdict, the URL count, lastmod coverage, and duplicate count.
- Open each issue to see example entries. For a sitemap index, click Check next to any nested sitemap to validate it too.
What makes a sitemap invalid?
The most common problems are an unescaped & in a URL, relative URLs instead of absolute ones, dates that are not in W3C Datetime format, URLs on a different host, more than 50,000 entries in one file, and a server that returns an HTML page instead of XML. Search engines may drop a whole sitemap that is not well formed, so fix errors before warnings.
How do I find a website's sitemap?
Look for a Sitemap: line in the site's robots.txt, which you can read with the robots.txt tester, or try /sitemap.xml and /sitemap_index.xml on the domain. Entering a bare domain here tries both for you.
How do I get every URL from a sitemap?
Use a sitemap extractor. The Context.dev Map URLs API reads a domain's sitemaps, follows nested sitemap indexes, falls back to page links when there is no sitemap, and returns the URLs in one call. The free sitemap generator and extractor does the same for one domain at a time and gives you an XML file.
What can you use a sitemap checker for?
- Validating a sitemap after a site migration or a CMS change
- Finding duplicate or off-host URLs that search engines will reject
- Checking that lastmod dates are present and believable
- Reviewing which sub-sitemaps a large site publishes
- Reading a competitor's sitemap before you crawl it
Frequently asked questions
Is the sitemap checker free?
What are the size limits for a sitemap?
Why does lastmod coverage matter?
What does the sitemap validator check?
Does the checker support sitemap indexes and gzip files?
How is this different from a sitemap generator or extractor?
Is the sitemap checker free?
What does the sitemap validator check?
What are the size limits for a sitemap?
Does the checker support sitemap indexes and gzip files?
Why does lastmod coverage matter?
How is this different from a sitemap generator or extractor?
More free tools
Keep exploring
- New
Ad Maker
Three on-brand ad creatives from any domain: generated, painted, downloadable.
Brand + Scrape + Styleguide APIs Open Graph Checker & Structured Data Extractor
Inspect Open Graph, JSON-LD, Twitter Cards, and meta tags from any URL.
Scrape API (HTML)Sitemap Generator
Valid XML sitemap from any domain, ready for Google Search Console.
Map URLs API
Ship an agent that actually knows things.
Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.