100% free
Sitemap validator
The robots.txt file is checked automatically.
Enter a sitemap URL or paste XML code
How to check your XML sitemap
- Enter the URL of your sitemap, for example https://www.example.com/sitemap.xml, or paste the XML code directly.
- Start the validation.
- Look at the overview, the URLs, and the issues.
- If you want, check whether the URLs respond.
If you enter a URL, the tool loads the file for you. It also fetches the robots.txt of the same domain and compares the URLs with it. With pasted XML code, this comparison is skipped.
What the validation finds
The tool checks the structure of the file and every single URL. It rates each problem as an error, a warning, or a note.
- XML tags that are nested incorrectly or never closed (a simple well-formedness check).
- A missing XML declaration, a missing urlset element, and a missing namespace.
- URLs without a loc element, with an invalid format, or with more than 2,048 characters.
- URLs that use HTTP instead of HTTPS.
- Invalid values for lastmod, changefreq, and priority.
- Duplicate URLs and missing lastmod dates.
- More than 50,000 URLs or a file larger than 50 MB (only for pasted XML code, because by URL the tool loads at most 500 KB).
- URLs that robots.txt blocks for all crawlers (Allow, Disallow, * and $ are evaluated).
Checking whether URLs respond
With the URL check, the tool requests the addresses one by one and shows the status code. That way you find 404 errors and URLs that don't respond. For a redirect, the tool shows the first status (for example 301) with the target and counts it as a redirect. It checks the first 50 URLs of the sitemap, one after the other.
If our service reaches its request limit (status 429), the check pauses, shows the wait time, and then continues. The tool waits at most 60 seconds per request. After that, it stops and reports that the limit is still active.
What the validator can't do
- When loading by URL, the tool reads at most the first 500 KB of the file. For larger sitemaps, it shows a notice that only the beginning was checked, and it doesn't count the missing end as an error. Paste the code directly or check the child sitemaps of a sitemap index one by one.
- It expects a normal sitemap with a urlset element. It reports a sitemap index that points to other sitemaps as an error. Check the child sitemaps one by one instead.
- It doesn't read compressed files with the .gz extension.
- For the robots.txt comparison, it uses only the group for all crawlers (User-agent: *). It doesn't check rules for individual crawlers such as Googlebot.
Whether Google accepts a sitemap and indexes the URLs is something you only see in Search Console. The validator checks the file, not the decision of the search engine.
Frequently asked questions
What does the sitemap validator check?
How does the URL availability check work?
What does the robots.txt comparison do?
Which problems count as errors?
What is the correct lastmod format?
Which changefreq values are valid?
Can I check a sitemap URL directly?
What happens with a very large sitemap?
Related tools
Changelog
November 20, 2026
English version
- • Added this English version of the tool
- • Issue messages, status notices, and error texts are available in English
- • Fixed: For a URL with a redirect, the URL check reported the status of the target (200). Now the first status (for example 301) appears with the target, and the "Redirect (3xx)" count is correct
- • Fixed: The robots.txt comparison ignored Allow rules and the end marker $, and with several User-agent lines it read only the last one. Now, as at Google, the longest matching path wins, Allow wins a tie, and grouped User-agent lines apply together
- • Fixed: lastmod with fractions of a second (for example 10:30:00.123Z) was rejected, and dates that don't exist, such as 2025-13-45, were accepted. Both are corrected
- • Fixed: lastmod now fully follows the W3C format. Valid are YYYY, YYYY-MM, YYYY-MM-DD, and a date with a time and time zone (Z or +hh:mm). A time without a time zone is invalid
- • Fixed: The robots.txt patterns are matched without regular expressions. Patterns with many wildcards (*) no longer slow down the comparison, even for long paths
- • New: XML tags that are nested incorrectly or never closed now report an error. It is a simple check, not a full XML parser
- • Corrected: The FAQ claimed that every URL is checked, but it is the first 50. It also now says that robots.txt controls crawling, not indexing
November 18, 2026
robots.txt is loaded and compared
- • Fixed: When loading by URL, the tool now actually fetches the domain's robots.txt. Before, the comparison of sitemap URLs with robots.txt blocks stayed empty because the request rejected the text file
November 17, 2026
Notice for truncated sitemaps
- • Added: A notice when a sitemap loaded by URL was larger than 500 KB and only the beginning was checked
- • A truncated end of the file no longer counts as an error
- • Fixed: The limits of 50,000 URLs and 50 MB apply only to pasted XML code, and the texts now say so
- • Added a guide with instructions and use cases directly below the tool
- • Added related tools at the end of the page
Show older versions
December 28, 2025
Extended validation and size limit check
- • Added: Sitemap size check (50 MB limit)
- • Added: Recommendation to split the sitemap when it exceeds the limit
- • Added: Filter for URLs with errors and warnings
- • Added: Detailed size information (KB/MB)
- • Added: Quick statistics on URLs with problems
- • Improved the URL display with color coding
December 20, 2025
URL check and robots.txt comparison
- • Added: URL availability check (HTTP status)
- • Added: robots.txt comparison
- • Added: Display of blocked URLs
- • Added: Status code statistics (200, 301, 404, and others)
- • Improved the display of errors
December 17, 2025
Launch
- • XML structure validation
- • URL format check
- • Validation of lastmod, changefreq, and priority
- • Check against SEO best practices
- • Loading a sitemap from a URL
- • Detailed error messages