Skip to content
TrySitePrice

Sitemap Validator

Paste a sitemap URL and every entry is checked against the sitemaps.org protocol — limits quoted, issues tied to the entry that caused them, and the first URLs tested live for their HTTP status.

We fetch the file and check it line by line against the sitemaps.org protocol.

Questions we get about sitemaps

01What exactly does the validator check?

Everything the sitemaps.org protocol specifies: the XML parses, the root element and namespace are right, every <loc> is an absolute URL under 2,048 characters on the sitemap’s own protocol and host, <lastmod> is a W3C datetime, <changefreq> uses one of the seven allowed words, <priority> sits between 0.0 and 1.0, and the file stays under 50,000 URLs and 50MB. Each issue names the entry it came from.

02Why do cross-host URLs get flagged as errors?

The protocol scopes a sitemap to the host it is served from: a sitemap on example.com can only speak for URLs on example.com. Crawlers ignore entries on other hosts, so a sitemap full of them is quietly doing nothing — the flag tells you which entries are being wasted.

03My sitemap is valid XML — why does Google still ignore URLs?

A sitemap is a hint, not a command. Valid entries still get skipped when the page itself answers with an error, redirects elsewhere, carries a noindex, or canonicalises to a different URL. That is why this tool also samples the first entries and shows their live HTTP status — a 404 inside a valid sitemap is the most common surprise.

04Does it handle sitemap index files?

Yes. An index is validated against the same limits (50,000 child sitemaps, 50MB), and the first child sitemaps are fetched and parsed too, so a broken child does not hide behind a healthy index.

05What are the most common sitemap errors?

An unescaped ampersand in a URL (the & must be written as &amp;), a stray closing tag from hand-editing, lastmod values like “yesterday” that are not W3C datetimes, and http:// entries in a sitemap served over https://. All four are flagged here with the entry number.

06What is an XML sitemap?

A machine-readable list of the URLs you want crawlers to know about, served as XML from your own host. Each entry names one URL and may add when it last changed. It does not control ranking or force indexing — it is the discovery channel that tells a crawler where to look, which matters most for new pages nothing links to yet.

07How do I submit a sitemap to Google?

Two ways, and doing both is normal: add a Sitemap line with the full URL to your robots.txt so every crawler that reads that file finds it, and paste the same URL into Search Console under Indexing → Sitemaps for your verified property, which also gets you per-sitemap read and discovered counts back from Google.

The sitemap is one half of being crawlable

A valid sitemap gets crawlers to the page; what they find there is the other half. Our SEO analyzer reads one page the way a crawler does — title, canonical, robots, headings, links — and our schema markup validator checks the structured data those pages carry.