Skip to content

XML Sitemap Validator

Validate an XML sitemap: check the XML parses, count URLs or child sitemaps, and flag http:// URLs and the 50,000-URL limit.

XML Sitemap ValidatorGratisPopularTechnical SEOChecks a live URL

Enter a public URL. We fetch the live page and analyse what search engines and AI crawlers see.

Key features of the XML sitemap validator

  • Checks the sitemap XML parses without errors
  • Detects URL sitemaps and sitemap index files
  • Counts URLs or child sitemaps against the 50,000 limit
  • Flags URLs that use http:// instead of https://
  • Shows the first 20 entries for a quick review

How to use the XML sitemap validator

  1. Find your sitemap

    Most sites use /sitemap.xml or /sitemap_index.xml; robots.txt usually lists it on a Sitemap: line.

  2. Enter the sitemap URL

    Paste the full sitemap address into the tool.

  3. Click Validate

    The tool fetches and parses the file.

  4. Fix any errors

    Fix XML errors in your generator or plugin, split files over 50,000 URLs, and switch http:// URLs to https://.

  5. Submit it to Google

    Submit the sitemap or index in Google Search Console under Indexing → Sitemaps and check the status it reports.

What is an XML sitemap validator?

An XML sitemap validator checks that a sitemap file is well formed and follows the basic rules search engines expect. Enter the URL of a sitemap, such as https://example.com/sitemap.xml, and this tool fetches it, parses the XML, tells you whether it is a URL sitemap or a sitemap index, counts the URLs or child sitemaps, and lists the first 20 entries.

It reports three problems: XML that doesn't parse (a broken tag, an unescaped & or text before the XML declaration), more than 50,000 URLs in one file, which is the protocol limit, and URLs that start with http:// instead of https://. If none are found, you see "Sitemap structure looks valid". The sample list lets you confirm the entries use the right domain and protocol.

Limits: the tool checks the file's structure, not each URL. It does not request the listed pages, so it won't find 404s, redirects or noindex pages inside the sitemap, and it doesn't validate lastmod dates or the XML schema. For a sitemap index it counts the child sitemaps but doesn't open them, so check each child separately. Gzipped sitemaps (.xml.gz) and files over 5 MB can't be checked.

Why use an XML sitemap validator?

Search engines use your sitemap to discover pages and see when they changed. A sitemap that fails to parse is ignored, and one full of http:// or wrong-domain URLs sends crawlers through redirects. Validating after every CMS, plugin or migration change catches those mistakes before Search Console reports them.

XML sitemap validator: frequently asked questions

Something else? Ask the team

How do I validate my sitemap?

Paste the sitemap URL into the validator and click Validate. Then submit it in Google Search Console (Indexing → Sitemaps), which reports how many URLs Google discovered and any errors it hit while reading the file.

What are the sitemap size limits?

One sitemap can hold up to 50,000 URLs and be up to 50 MB uncompressed. Larger sites split their URLs across several sitemaps and list them in a sitemap index file.

What is a sitemap index?

A sitemap index is a sitemap of sitemaps: an XML file whose <sitemap><loc> entries point to other sitemap files. Most WordPress SEO plugins and large sites use one. Submit the index and search engines find the child sitemaps from it.

Does Google use lastmod, priority and changefreq?

Google ignores <priority> and <changefreq>. It uses <lastmod> when the dates are consistently accurate, so only update lastmod when the page content really changes.

Why does Search Console say "Couldn't fetch" when my sitemap validates here?

"Couldn't fetch" is often temporary for newly submitted sitemaps. It can also mean robots.txt blocks the sitemap URL, the server blocks Googlebot, or the URL redirects. Check robots.txt and the sitemap's HTTP status, then resubmit.

Which URLs should a sitemap include?

Only canonical, indexable URLs that return 200: no redirects, no noindex pages and no parameter duplicates. A clean sitemap is easier for search engines to trust.

¿Quieres conseguir más menciones en la IA?

XML Sitemap Validator is one piece of the puzzle. See how ChatGPT, Gemini, Perplexity, and Google AI Overviews actually view your brand, and get a prioritised list of fixes, with a free AEO & GEO audit from AI Rank Lab.

One check is a start. The audit checks the whole site.

Realizar una auditoría AEO y GEO gratuita or Ver precios.

  • Scores SEO, answer-engine (AEO) and generative-engine (GEO) readiness
  • Lists the fixes, page by page
  • Then track whether ChatGPT, Gemini, Perplexity and Google AI Overviews cite you
fieldnote.app4,571 credits

Site audit

fieldnote.app · SEO, AEO and GEO

Illustrative data
SEO
82
+6
AEO
64
+11
GEO
58
+9
Pages
48
Fixesby impact
  • /pricing · Missing H1High
  • /blog/guide · No FAQ schemaMedium
  • /llms.txt · Not foundMedium
  • /about · Meta description too longLow

See where your whole site stands

Paste your site. The free audit scores it for SEO, answer engines and generative engines, with the fixes.