Sitemap Validator

Sitemap Validator illustration

Validate XML sitemaps for errors, broken URLs, and protocol compliance. Ensure your digital architecture is crawlable and SEO-ready.

link

Enter the full URL of your XML sitemap

Why Validate Your XML Sitemap?

search_check

SEO Health Check

Search engines rely on sitemaps to discover your content. Validation ensures Google and Bing can read every link without friction.

link_off

Fix Broken Loops

Identify 404 errors or infinite redirects before they impact your crawl budget and waste indexing resources.

history_edu

Protocol Standards

Strict adherence to Sitemap.org protocols prevents silent failures and helps your site maintain technical authority.

XML Sitemap Examples & Patterns

Standard patterns to help you structure your data correctly. Use these as benchmarks for your own deployment.

Basic XML Sitemap
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2024-01-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about/</loc>
    <lastmod>2024-01-10</lastmod>
    <priority>0.8</priority>
  </url>
</urlset>
Standard Sitemap Index
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemap-pages.xml</loc>
    <lastmod>2024-01-15</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-blog.xml</loc>
    <lastmod>2024-01-14</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-products.xml</loc>
    <lastmod>2024-01-13</lastmod>
  </sitemap>
</sitemapindex>
Google News Sitemap
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
  <url>
    <loc>https://example.com/news/tech-update-jan-2024</loc>
    <news:news>
      <news:publication>
        <news:name>Example News</news:name>
        <news:language>en</news:language>
      </news:publication>
      <news:publication_date>2024-01-15T09:00:00Z</news:publication_date>
      <news:title>Major Tech Update Released</news:title>
    </news:news>
  </url>
</urlset>
Contains Errors ⚠️
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>Jan 15, 2024</lastmod>
  </url>
  <url>
    <loc>https://example.com/page</loc>
  </url>
  <url>
    <loc>https://example.com/page</loc>
  </url>
  <url>
    <loc>http://other-domain.com/page</loc>
  </url>
</urlset>

Frequently Asked Questions

How often should I validate my sitemap? expand_more
Validation should be part of your CI/CD pipeline. Every time you push a major content update or structural change to your CMS, you should run a validation check to ensure the XML output remains clean and parseable for search spiders.
What is the size limit for a sitemap? expand_more
A single sitemap file cannot exceed 50,000 URLs or 50MB (uncompressed). If your site exceeds these limits, you must use a Sitemap Index file to point to multiple sub-sitemaps.
Does a sitemap guarantee indexing? expand_more
No. A sitemap is a recommendation to search engines. It helps them discover content, but they will still use their own algorithms to determine if a page is worth indexing based on quality and relevance.