Skip to main content

Web Tools

Sitemap Validator

Validate XML sitemaps and inspect URLs. Free online tool — no sign-up required.

See how to use this tool

Sitemap Validator

Validate a public sitemap URL or the default /sitemap.xml location.

Only public HTTP/HTTPS targets on standard ports are allowed.

Run the tool to see the result.

Privacy: remote checks are requested by the ToolConv server against public URLs; private, local, and internal addresses are blocked.

About Sitemap Validator

ToolConv's sitemap validator fetches a sitemap URL (sitemap.xml, sitemap-index.xml, or a .gz compressed sitemap), parses it as XML, and checks it against the sitemaps.org 0.9 protocol that Google and Bing both honor. It validates the <urlset> and <sitemapindex> container elements, the per-URL <loc>/<lastmod>/<changefreq>/<priority> children, and reports broken XML, duplicate URLs, non-absolute <loc> values, and URLs that exceed the 50,000-entry / 50MB-per-file limits.

For sitemap-index files the tool follows up to one level of nested index references and counts the total reachable URLs across all referenced child sitemaps. Because validating a sitemap requires fetching it, the URL you enter is sent to a fetch endpoint that retrieves the file — only publicly reachable sitemap URLs can be tested. The tool also checks that each <loc> is on the same domain as the sitemap (or a subdomain) since cross-domain sitemaps require special verification in Search Console.

How to use it

  1. 1Paste the sitemap URL (e.g. https://example.com/sitemap.xml) into the input.
  2. 2The tool fetches the file, decompresses it if .gz, and parses the XML.
  3. 3Review the structural report: container type, URL count, and any malformed entries.
  4. 4Check the warnings panel for duplicate <loc>, non-absolute URLs, or oversized files.
  5. 5For sitemap-index files, expand the child-sitemap list to see per-file URL counts.

When to use it

  • ✓Validating a freshly generated sitemap.xml before submitting it to Google Search Console.
  • ✓Diagnosing why Search Console reports 'Couldn't fetch' for a sitemap-index file.
  • ✓Checking whether a large site has correctly split sitemaps under the 50,000-URL limit.
  • ✓Confirming lastmod dates in the sitemap match the actual page update times.

Features

  • •Parses both <urlset> and <sitemapindex> per the sitemaps.org 0.9 protocol.
  • •Decompresses .gz sitemaps and follows one level of sitemap-index references.
  • •Detects duplicate <loc>, non-absolute URLs, and entries over the 50,000/50MB limit.
  • •Validates lastmod format (W3C Datetime), changefreq, and priority ranges.
  • •Server-side fetch of the sitemap URL you enter — no upload needed.

Related tools

FAQ

What is the maximum number of URLs allowed in a single sitemap?

The sitemaps.org protocol caps a single sitemap at 50,000 URLs and 50MB uncompressed. For larger sites you must use a sitemap-index file that references multiple child sitemaps, each under the cap. The validator flags any file that exceeds either limit.

Do lastmod, changefreq, and priority actually matter to Google?

Google has stated that lastmod is the only one of the three it uses meaningfully, and only when it is consistently accurate. changefreq and priority are largely ignored as hints. The validator still checks their format, but do not invest time tuning priority values expecting a ranking benefit.

Can the sitemap list URLs on a different domain?

No. All <loc> entries must be on the same domain as the sitemap, or on a verified subdomain. Cross-domain entries are dropped by Google. If you need to surface another domain's URLs, host a separate sitemap on that domain and submit it from its own Search Console property.

Is the sitemap URL I enter sent to a server?

Yes. To fetch and validate the file, the URL you enter is sent to our fetch endpoint, which performs an outbound HTTPS request to retrieve the sitemap. Only publicly reachable sitemap URLs can be tested; the fetched content is parsed and discarded, not stored long-term.

Why does my .gz sitemap fail to validate?

The most common cause is serving the file with the wrong Content-Type or as plain text instead of application/gzip. Some servers also double-compress already-gzipped files, producing invalid output. The validator decompresses .gz transparently and reports the underlying XML parse error so you can see exactly where it broke.

Should I use a sitemap-index even for a small site?

It is not required under 50,000 URLs, but using an index from day one makes future scaling painless — you can add or regenerate individual child sitemaps without touching the submitted URL. The validator handles both single urlset and sitemap-index files equally well.