Three separate questions, never merged
Most sitemap checkers give you one verdict. This one answers three questions and keeps them apart, because they have different authority.
- Is this parseable XML? If not, there is nothing to validate and the run stops there.
- Does the sitemap protocol accept it? These are the real rules, and a violation means the file does not conform.
- Is it a good sitemap? Opinion, labelled as opinion. Nothing in this tier ever changes whether your file conforms.
That discipline is why the tool can be honest about the limits of its own knowledge. A sitemap using the image or video extensions is reported as "not validated by this tool", never as invalid — telling you a working Google image sitemap is broken would be worse than saying nothing.
How to use it
- Paste your sitemap into the left pane. Both
<urlset>and<sitemapindex>documents are understood. - Optionally enter the Sitemap file URL — the address the file will actually be served from. Several protocol rules depend on it, and without it the tool says so rather than quietly skipping them.
- Press Validate or Ctrl/Cmd + Enter. Switch to View to lead with the entry table instead of the findings.
Why the Sitemap file URL matters
Some of the protocol's rules are not about the document at all — they are about the relationship between the document and where it is hosted. A sitemap at https://example.com/catalog/sitemap.xml may list URLs at or below /catalog/, must use the same protocol and host, and must carry any port its own path carries.
No validator can check any of that from the file alone. Rather than skip those rules silently and hand you a clean bill of health, this tool asks for the URL and, when you do not supply one, states plainly that the location-dependent checks were not performed.
The URL is never fetched. It is compared against, and nothing else.
When a URL is on a different host
Cross-submission is a real part of the protocol: a sitemap on one host may legitimately contain URLs for another, once you have established ownership of both — by declaring the sitemap in the other host's robots.txt, or by verifying both in a search engine's tools.
This tool makes no network request, so it cannot know whether that authorisation exists. Calling your file invalid would assert something it did not check; calling it valid would assert the opposite. So the location verdict has a third state — not fully determined — and the finding says exactly what is and is not known.
Scheme, port and directory are not checked at all for such a URL. The sitemap's own /catalog/ prefix means nothing on another host, and running those comparisons anyway would manufacture errors from a premise the tool cannot establish.
A sitemap index follows a different rule
The rule for a <sitemapindex> is not the same rule, and this tool does not pretend it is: an index may only specify sitemaps found on the same site as the index file. That is definite — a child on another host is a violation, and cross-submission does not waive it, because cross-submission is about the URLs a sitemap contains, not the child sitemaps an index lists.
What the tool deliberately does not do is carry the page-URL rules across. The index's own directory is not imposed on its children, and the 2,048-character length requirement is stated for page URLs and is not applied to child sitemaps. A scheme or port difference between an index and a child is reported as advice, explicitly labelled as this tool's own conservative reading, because no primary text settles it.
lastmod, and the two forms it accepts
Exactly two shapes are valid: a complete date such as 2024-11-02, or a complete date and time with a timezone, such as 2005-05-10T17:33:30+08:00.
A bare year, a bare year and month, and a date-time with no timezone are all errors rather than warnings. They are legal dates in general, but they are not forms this protocol accepts — and telling you a file conforms when it does not is the failure this tool exists to prevent. Impossible values such as 2024-02-30 or hour 24 are errors too.
A lastmod in the future is different: the value is well-formed, so that is advice, in tier 3, and it never affects whether your file conforms.
Duplicates, limits and what is not checked
A duplicate <loc> is almost always a generator bug and the report says so plainly — but the protocol does not make duplication invalid, so it is advice and it does not change the verdict. A file whose only findings are duplicates conforms, with warnings.
The protocol's 50,000-entry limit is real and is enforced. Its 50 MB uncompressed limit is reported as information only: this tool accepts up to 4 MB, so a 50 MB file never reaches it, and claiming to have checked something it cannot see would be dishonest.
A file above this tool's own ceiling is refused with a message that says it is larger than the tool accepts — never that the sitemap is invalid. Those are different statements.
Frequently asked questions
Does this fetch my sitemap or the URLs inside it?
No — and that is a security decision, not an omission. Following the URLs in a sitemap index means fetching an attacker-supplied list of addresses from a server, which is textbook SSRF. A server-backed version would need its own security review before it could exist.
Why was my file rejected for a DOCTYPE?
Every DOCTYPE is refused, in every Codoryn tool that reads XML. That removes external-entity and entity-expansion attacks entirely rather than filtering them, and a sitemap has no legitimate use for one. Remove the line and the file will be processed.
My namespace uses a prefix. Is that a problem?
No. <sm:urlset xmlns:sm="…"> is perfectly valid; the tool matches on the resolved namespace and local name, never on how the tag is spelled. A missing or different namespace is an error, because search engines reject it and it is the most common silent sitemap failure.
Is the entry table truncated for large sitemaps?
No. Every entry is in the report, and Copy and Download hand over all of it. Above 128 KB the pane shows a preview and says so — that is a display cap on the editor, not a cap on the result.