Free XML Sitemap Validator

Check your sitemap before Google does.

Paste your sitemap.xml or sitemap index and see what search engines will choke on: broken XML, the 50,000 URL limit, duplicates, http pages, stray hosts and bad lastmod dates. Download every URL as a CSV. Free, no sign-up, nothing leaves your browser.

Open yoursite.com/sitemap.xml, select all, copy and paste it here. Nothing leaves your browser.

No errors, 1 to check

  • Pass: Well-formed sitemap with 3 URLs.
  • Pass: Size 1 KB, under the 50 MB and 50,000 URL limits.
  • Check: Mixed protocols: 1 http and 2 https URLs. List only the version your canonical tags use.
  • Note: Entries without a lastmod: 1.
  • Note: The file uses priority or changefreq. Google ignores both, so they're harmless but do nothing there.

URLs (3)

loclastmod
https://www.example.com/2026-11-20
https://www.example.com/pricing2026-11-02
http://www.example.com/blog/hellonone

What a sitemap is for

An XML sitemap is a list of the pages you want search engines to crawl, with the date each one last changed. It doesn't make Google index a page, and it doesn't rank anything. It helps crawlers find pages faster, especially new pages, deep pages and pages with few internal links. That's why a clean sitemap matters most on big sites, new sites and stores with thousands of products.

Most platforms build the file for you. HubSpot, Shopify, WordPress SEO plugins and Next.js all generate one. That's handy, but it also means the file can list pages you didn't mean to publish, old URLs that now redirect, or the http version of your site. This checker shows you what's really in it.

The rules this checker uses

Sitemap rules from the sitemaps.org protocol and Google's sitemap guidelines
RuleLimitWhy it matters
Well-formed XMLOne bad character fails the fileSearch engines parse the whole file. An unescaped & or an unclosed tag means none of it is read.
Namespacexmlns="http://www.sitemaps.org/schemas/sitemap/0.9"It tells the reader which format the file uses.
URLs per file50,000Split bigger sites into several sitemaps and list them in a sitemap index.
File size50 MB uncompressedSame fix: split the file. Compressing with gzip doesn't raise the uncompressed limit.
locAbsolute URL, under 2,048 charactersFull https URLs only, entity-escaped, one per page.
lastmodW3C Datetime, like 2026-11-28Google uses it when it's consistently accurate, so only change it when the page really changes.
priority and changefreqOptionalGoogle ignores both. They don't hurt, but they don't help Google either.

Sources: the sitemaps.org protocol, Google's Build and Submit a Sitemap and sitemap index guides.

What to fix first

  1. XML errors. They stop the whole file from being read. The checker gives the line number.
  2. Pages that shouldn't be there. Scan the URL list for redirects, noindex pages, thank-you pages, tag pages and staging hosts. A sitemap should only list pages you want in search results.
  3. Mixed http and https or www and non-www. List the version your canonical tags point to, and nothing else.
  4. Duplicates. One entry per page.
  5. lastmod dates. Make them real. A date that changes on every build tells Google nothing.

Platform notes

HubSpot builds a sitemap per domain and lets you edit which pages it lists. Our HubSpot XML sitemap guide walks through the settings. Shopify's sitemap is a sitemap index with child sitemaps for products, collections, pages and blogs, and you can't edit it directly. The Shopify sitemap guide covers how to keep pages out. For a full crawl health check, see the technical SEO audit.

After the checker

Submit the sitemap, or the sitemap index, in Google Search Console and Bing Webmaster Tools, and add a Sitemap line to your robots.txt. Then watch the Pages report in Search Console for URLs that were found but not indexed. Building an AI-readable map of your site too? The llms.txt Generator can start from the same sitemap.

The math

How we calculated this

Your sitemap read in the browser and checked against the sitemaps.org protocol.

  1. Parse

    Well-formed XML with a urlset or sitemapindex root

  2. Each URL

    Full https address, no duplicates, a valid lastmod date

  3. Limits

    50,000 URLs and 50 MB uncompressed per file

  4. Result

    Errors to fix and items to check

What we assume

  • Nothing is fetched: paste the file's text.

Rules of thumb

  • Search engines treat priority and changefreq as hints at most.

Free, and staying free

If one of these saved you an hour, an optional $5 tip helps cover what it costs to run and build them. Nothing unlocks, and every tool stays free.

Buy us a coffeeTip us for the free tools (optional tip, $5 suggested, opens Stripe in a new tab)

How to use the XML Sitemap Validator

  1. Open yoursite.com/sitemap.xml in a browser. If it's a sitemap index, open one child sitemap too.

  2. Select all, copy, and paste the XML into the box.

  3. Read the checks from the top: fix items first, then check items.

  4. Scan the URL list for pages that shouldn't be there, like redirects, noindex pages and staging hosts.

  5. Download the CSV to compare against your crawl or your Search Console Pages report.

What the result means

  • Fix

    Something that breaks the file or a rule search engines enforce, like an XML error or more than 50,000 URLs.

  • Check

    Likely a mistake: duplicates, http mixed with https, several hosts, future lastmod dates.

  • Note

    Worth knowing but not wrong, like priority tags Google ignores or a sitemap index with children to check.

  • URL list

    Every loc and lastmod in the file. The CSV has all of them, the table shows the first 200.

Questions about this tool

What does an XML sitemap validator check?

That the file is well-formed XML with the sitemap namespace, stays under 50,000 URLs and 50 MB, uses full URLs, has no duplicates, and has lastmod dates in the right format.

Can it fetch my sitemap from a URL?

No. Browsers block one site from reading another site's files, so paste the XML instead. It also means nothing about your site is sent anywhere.

Does Google use priority and changefreq?

No. Google says it ignores both. It uses lastmod when the dates are consistently accurate.

What's the difference between a sitemap and a sitemap index?

A sitemap lists pages. A sitemap index lists other sitemaps, so big sites can split their pages across files and submit one address.

Should noindex pages be in my sitemap?

No. A sitemap should only list pages you want in search results. Listing a noindex page sends search engines mixed signals.

Is my data saved or uploaded?

No. The validator runs entirely in your browser.

Want a site search engines can actually crawl?

20 minute fit call. You'll leave knowing the first thing we'd fix and roughly what it costs. If we're not the right fit, we'll tell you who is.