Free Technical tool

Free XML Sitemap Validator

An XML sitemap validator checks that a sitemap file is reachable, correctly formatted and lists only live, final URLs. SEO Portals finds your sitemap from robots.txt automatically, reads sitemap index files, counts URLs and tests a sample for errors and redirects.

Free · No sign-up for 5 checks a day · Updated · By the SEO Portals team

What is an XML sitemap?

An XML sitemap is a file that lists the URLs you want search engines to discover and index, often with the date each page last changed. Large sites split it into several sitemaps grouped by a sitemap index file. Sitemaps help search engines find new and deep pages faster, especially on large or newly launched sites.

How to use the XML Sitemap Validator

  1. Enter your domain or the exact sitemap URL.
  2. Run the validator. It reads robots.txt to find declared sitemaps.
  3. Review the URL count, errors and the sample URL check.
  4. Remove redirected, broken and noindex URLs from your sitemap.

Why it matters for SEO

  • Search engines trust sitemaps less when they contain broken or redirected URLs.
  • Accurate lastmod dates help Google decide what to recrawl.
  • Missing pages in a sitemap may be discovered slowly or not at all.
  • A sitemap that can't be fetched gives search engines nothing to use.

Key facts

  • A single sitemap can list up to 50,000 URLs.
  • A single sitemap file can be up to 50 MB uncompressed.
  • Sitemap index files group multiple sitemaps.
  • Sitemaps should only contain canonical URLs that return HTTP 200.

XML Sitemap Validator FAQ

Where is my sitemap?

Usually at example.com/sitemap.xml or listed on a Sitemap: line in robots.txt. This validator checks both automatically.

Do I need a sitemap?

Small, well-linked sites can be found without one, but a sitemap helps every site and is especially important for large sites, new sites and pages with few internal links.

Should redirected URLs be in my sitemap?

No. List only the final URL. Redirected and broken URLs in a sitemap waste crawl budget and send mixed signals.

How do I submit my sitemap to Google?

Add it in Google Search Console under Sitemaps, and reference it in your robots.txt with a Sitemap: line.

Check every page, not just one

Run a full-site audit free and get every issue ranked by impact.

Audit my whole site free