XML Sitemap Validator

Your sitemap XML stays in this browser.

Paste sitemap XML with up to 1,000,000 characters. Checks run in this browser.

Paste an XML sitemap to inspect it in this browser. The validator parses a sitemap <urlset> or <sitemapindex>, then checks each direct entry for an absolute HTTP or HTTPS <loc>, duplicate locations, and common <lastmod>, <changefreq>, and <priority> values. Your sitemap is not uploaded or fetched by this tool.

How to check a sitemap

  1. 1

    Paste the XML

    Use a <urlset> sitemap or a <sitemapindex> with no more than 1,000,000 characters.

  2. 2

    Review the parser result

    Malformed XML, DOCTYPE declarations, ENTITY declarations, and unsupported root elements stop the check.

  3. 3

    Read the entry report

    The report counts direct entries and lists common field issues it can find locally.

What this checks

For a <urlset>, each direct <url> entry is inspected. For a <sitemapindex>, each direct <sitemap> entry is inspected. The checker looks for:

  • A <loc> containing an absolute http or https URL.
  • Repeated <loc> values in the pasted document.
  • <lastmod> values that follow the supported date or timestamp pattern.
  • <changefreq> values from the standard sitemap vocabulary.
  • <priority> values from 0 to 1.
  • More than 50,000 direct entries.

It also rejects DOCTYPE and ENTITY declarations before parsing. This keeps the browser check focused on pasted sitemap XML rather than entity expansion.

A small sitemap example

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-07-30</lastmod>
  </url>
</urlset>

What it does not check

This is not an XSD or sitemaps.org schema validator. It does not download a sitemap from a URL, upload a file, test whether listed URLs respond, compare hosts, inspect image or video extensions, or submit anything to a search engine. Use your crawler, deployment checks, or search-console tools for those jobs.

The 1,000,000-character input limit is lower than the sitemap protocol file-size limit. It is a browser safety limit for this tool, not a claim about whether your production sitemap is within the protocol limit.

Frequently Asked Questions

No. It only reads the XML you paste into the page. It does not make requests to listed URLs or any remote sitemap address.

No. The result only covers the local checks listed above. Search engines can apply additional protocol and crawling rules.

Yes. The tool accepts a <sitemapindex> and checks its direct <sitemap> entries in the same local report.

The pasted text may be malformed XML, include a DOCTYPE or ENTITY declaration, or use a root element other than <urlset> or <sitemapindex>.

Related Tools