Sitemap Validator

Check XML sitemaps for errors, duplicates, and limits

Has errorsunknown1 error0 info
0
URLs
0
Dubbletter
472 B
Size
0%
Has lastmod
XML parsing is only available in the browser.

All validation is performed locally in your browser. Your sitemap content is never sent to any server.

Hur man använder

Paste your XML sitemap content into the editor. The validator checks XML syntax, URL format, duplicate entries, and Google limits (50,000 URLs, 50MB). It supports both standard sitemaps (urlset) and sitemap index files (sitemapindex). Results show errors, warnings, and statistics about your sitemap.

Exempel

Validating a standard sitemap

Paste your sitemap.xml to check all URLs are well-formed, no duplicates exist, and lastmod dates use valid ISO 8601 format. The validator reports how many URLs include optional elements like changefreq and priority.

Checking a sitemap index

For sites with multiple sitemaps, paste your sitemap index file. The validator checks that each child sitemap URL is valid and detects any duplicate references.

Finding duplicate URLs

Large sitemaps often accumulate duplicate URLs over time. The validator counts and flags every duplicate, helping you clean up your sitemap for better crawl efficiency.

Vanliga frågor

What is the maximum size for an XML sitemap?

Google limits sitemaps to 50,000 URLs and 50MB uncompressed. If your sitemap exceeds either limit, split it into multiple sitemaps and use a sitemap index file to reference them.

Does Google use changefreq and priority?

No. Google has confirmed it ignores both changefreq and priority values. They rely on their own crawl scheduling algorithms. You can safely remove these elements to reduce file size.

What date format should lastmod use?

Use ISO 8601 format: either YYYY-MM-DD (e.g., 2026-03-15) or the full datetime with timezone (e.g., 2026-03-15T14:30:00+00:00). Google uses lastmod to prioritize which pages to recrawl.

What is a sitemap index file?

A sitemap index references multiple sitemap files, each with up to 50,000 URLs. The index itself uses <sitemapindex> as the root element and lists child sitemaps with <sitemap><loc>...</loc></sitemap> entries.

Should I include every page in my sitemap?

Include pages you want indexed. Exclude admin pages, search results, filtered/sorted URLs, staging content, and any pages blocked by robots.txt or noindex. Quality over quantity improves crawl efficiency.

Om det här verktyget

Validate your XML sitemap for syntax errors, duplicate URLs, and Google limits. Supports both urlset and sitemapindex formats with detailed issue reports.

Alla beräkningar utförs lokalt i din webbläsare. Din data lämnar aldrig din enhet.