Validate an XML sitemap
Type a domain, a sitemap address or a robots.txt address. We find the sitemap, parse it, open up to three child sitemaps of an index, count the URLs and flag protocol errors. Free, no account.
How the check works
- The address is parsed first: http and https only, ports 80 and 443 only, no usernames, no IP addresses and no internal names such as localhost. Anything else is refused before any request.
- The name is resolved and every address it points to must be public. Private, loopback, link-local (cloud metadata included), multicast and reserved addresses are refused, and the connection goes to the address that was checked.
- Type a bare domain and we read its robots.txt and use the first Sitemap line; with no Sitemap line we try /sitemap.xml. Type a sitemap's own address to check that file, or a robots.txt address to start there.
- We read up to 5 MB of the sitemap (gzipped .xml.gz files are inflated with a cap) and parse it as it streams. Files that declare a DOCTYPE or entities are refused, since sitemaps never need them.
- For a sitemap index, up to 3 child sitemaps are opened, 3 MB each, all inside one 20-second budget. The pages listed are counted, never requested.
- Limits: 5 checks a minute per connection.
What gets flagged
- Not a sitemap: an HTML page returned with a 200 status, a 404, XML that does not parse, or a root that is not <urlset> or <sitemapindex>.
- Protocol limits: more than 50,000 URLs or 50 MB in one file, locs over 2,048 characters, and an index inside an index.
- Wrong host: URLs on another domain, or on the other www form of the same one.
- Dates: lastmod values that are not W3C dates, and dates in the future.
- Other: a missing namespace, relative locs, repeats, changefreq and priority values outside the protocol.
Reading the lastmod summary
Google has said it uses lastmod when it is consistently accurate. A sitemap where every URL carries today's date, or none carries a date at all, gives it little to go on. The newest and oldest dates and the share changed in the last 30 days show at a glance whether the dates reflect real edits.
A missing or broken sitemap on a local business site is a quick fix to offer. To find sites to look at, search 67Leads by trade and city.
Get 67 leads free No card. Search free with contacts masked.
AI crawler checkerRobots.txt generatorCanonical tag checkerBroken link checkerWebsite last updated checker
Questions
Most sites list it on a Sitemap: line in robots.txt; WordPress and many builders also serve one at /sitemap.xml or /sitemap_index.xml. Type the bare domain above and we look in both places.
50,000 URLs and 50 MB uncompressed per file. Larger sites split the list into several sitemaps and list them in a sitemap index.
W3C Datetime: a date such as 2026-11-15, or a date and time with a time zone such as 2026-11-15T09:30:00+00:00. A time with no time zone is not valid.
To keep each check quick and light on the site. The index's own count of children is shown in full; paste any child's address to check that file on its own.
No. A sitemap helps search engines find addresses; whether a page is indexed depends on the page itself.
More free tools
Local business counterNo-website business finderLead list previewCold email template generatorAI crawler checkerllms.txt generatorllms.txt checkerLocal business schema generatorFAQ schema generatorrobots.txt generatorMeta tag checkerSchema markup checkerNAICS code lookupSIC code lookupSSL certificate checkerRedirect checkerBroken link checkerPage weight checkerLead list column mapperMerge tag checkerOpen Graph checkerCanonical tag checkerHTTP headers checkerHeading structure checkerImage alt text checkerHreflang checkerDNS lookupAll Website checks toolsAll tools