EasyConvert

XML Sitemap Validator

Check whether your XML sitemap is valid. Paste the sitemap content (or a sitemap URL) and the validator checks the XML structure, counts the URLs, and lists every problem it finds — broken tags, missing entries, bad URLs, duplicate URLs, and size limits. A valid sitemap is one Google can actually read.

Paste a sitemap and press Validate.

How to use this converter

Paste your sitemap XML in the box (or paste a sitemap URL and press 'Fetch & validate' — the site must allow cross-origin fetching). Press Validate and the tool lists every problem, or confirms the sitemap is valid with its URL count.

Formula

A valid sitemap is an XML file starting with , with a root containing entries, each with a holding a full URL. URLs must be properly escaped: & becomes &. A sitemap holds at most 50,000 URLs or 50 MB.

Google silently ignores a broken sitemap: it reports 'couldn't fetch' in Search Console and your pages stay undiscovered. Common mistakes are unescaped & characters in URLs (& must be written as & in XML), missing tags, and URLs that do not start with http:// or https://. This validator catches all of them.

Sitemap errors this validator catches

FromEquals
Unescaped & in a URLWrite & instead of &
Missing Every needs a
Relative URLURLs must start with http:// or https://
Duplicate URLSame URL listed twice
Over 50,000 URLsSplit into several sitemaps
Bad XMLUnclosed tags, wrong nesting

Frequently asked questions

How do I validate my sitemap?

Paste the sitemap XML above (or its URL) and press Validate. The tool lists every problem, or confirms the sitemap is valid with its URL count.

Why does Google say 'couldn't fetch' for my sitemap?

Usually the file is not reachable (wrong URL, blocked by robots.txt or login) or the XML is broken. This validator checks the XML; also check that the URL opens in a browser.

Do & characters need escaping in a sitemap?

Yes — in XML, a bare & is an error. Write & instead. A URL like page?a=1&b=2 must appear as page?a=1&b=2.

How many URLs can a sitemap have?

50,000 URLs or 50 MB uncompressed. Bigger sites use a sitemap index file that lists several sitemaps.

Is my sitemap sent anywhere?

No, if you paste it. If you use 'Fetch & validate', your browser fetches the URL directly — the content is checked in your browser and never sent to our servers.