Skip to content
SEO Tools

XML Sitemap Validator

Check XML sitemap structure, URLs, dates, limits, duplicates, and host consistency locally.

Loading this local tool…

Data handling

Storage and export controls

Retention
The tool's working state is kept only while this page is open. Inputs and results are not saved to persistent storage by Got A Tool.
Export
The tool may prepare a result after you run it. It downloads or copies it only when you choose that action.

Advertising and analytics are separate site services. We do not send selected tool input to them. Read the Privacy Policy for details.

How it works

Check a sitemap file before you ask a crawler to use it

Use this validator for a local review of an XML sitemap or sitemap index. It checks the file structure and entries it can read without fetching URLs or contacting search engines.

  1. Step 01

    Open or paste plain XML

    Choose a plain .xml sitemap up to 50 MB or paste its XML. Compressed .xml.gz files are intentionally not opened in this version.

  2. Step 02

    Set the expected site when useful

    Add the public site origin to flag entries pointing to a different host; leave it blank when the file intentionally spans another host.

  3. Step 03

    Review issues before publishing

    Check blocking errors, warnings, entry counts, duplicate locations, dates, and size information before placing the file on a public site.

What this tool does and its limits

  • A valid core sitemap structure does not prove that every URL is reachable, indexable, canonical, or eligible to appear in search results.
  • The tool does not fetch URLs, submit a sitemap, inspect a robots.txt file, or replace Search Console's crawl and indexing reports.

Private and standards-aware

Find sitemap problems without sending the file anywhere.

The validator checks core XML sitemap fields locally. It reports what it finds without rewriting URLs, fetching pages, or promising search indexing.

URL sitemap and index

Recognizes both urlset documents and sitemapindex files, including namespace-prefixed XML.

URLs and dates

Checks absolute HTTP URLs, fragments, encoding, lastmod dates, priority, and changefreq values.

Limits and duplicates

Reports duplicate locations, multiple hosts, entry totals, and uncompressed file-size limits.

Defensive XML parsing

Rejects DOCTYPE and ENTITY declarations instead of attempting to resolve external content.

FAQ

Common questions

Does this tool submit my sitemap to Google?

No. It validates the XML locally and does not contact Google, your website, or any other server. Submit the final sitemap separately through your robots.txt file or Google Search Console.

Does a valid sitemap guarantee indexing?

No. A valid sitemap helps search engines discover URLs, but it does not guarantee crawling, indexing, or rankings.

Are image, video, and news sitemap extensions validated?

The tool checks core URL sitemap fields. Extension namespaces are recognized and reported without incorrectly declaring their content invalid, but extension-specific rules are not validated in this version.

Can I upload a .xml.gz sitemap?

Not in this version. Decompress it first, then upload or paste the plain XML content.

Why are priority and changefreq shown if Google ignores them?

They remain part of the sitemap protocol, so their format can be checked. Google states that it ignores both values, and the results clearly explain this.

Practical guide

Read the Sitemap and robots checklist

Choose the crawl rule deliberately, validate the URLs you publish, and remember that a sitemap helps discovery but cannot promise indexing.

Open the guide →

Keep working