---
title: Sitemap Validator — XML Sitemap Structure & Error Checker
url: https://varstatt.com/toolkit/sitemap
description: Validate XML sitemaps for correct structure, URLs, dates, and priorities. Find errors and warnings instantly. Supports urlset and sitemapindex.
section: Developer Toolkit (https://varstatt.com/toolkit)
tags: seo
related: Robots (https://varstatt.com/toolkit/robots), Sitemap (https://varstatt.com/toolkit/sitemap)
---
# Sitemap Validator

Validate XML sitemaps for correct structure, URLs, dates, and priorities. Find errors and warnings instantly. Supports urlset and sitemapindex.

## How It Works

1. **Paste your XML sitemap** — Paste the contents of your sitemap.xml file. The tool accepts both urlset and sitemapindex formats.
2. **See validation results** — The tool parses the XML, checks structure, validates dates, priorities, and change frequencies, and flags duplicates.
3. **Review stats and warnings** — See total URL count, how many have lastmod/priority, and any errors or warnings that need attention.

## FAQ

### What formats are supported?

Standard XML sitemaps with  root containing  entries, and sitemap indexes with  root containing  entries.

### What does it validate?

Valid XML structure, required root elements,  in each entry, date format in , priority range (0.0-1.0), valid changefreq values, and duplicate URL detection.

### What changefreq values are valid?

always, hourly, daily, weekly, monthly, yearly, and never. These are hints to crawlers, not guarantees.

### Is there a URL limit for sitemaps?

Per the sitemap protocol, a single sitemap file should contain at most 50,000 URLs and be no larger than 50MB uncompressed. Use a sitemap index to split larger sites. Also check your [robots.txt](https://varstatt.com/toolkit/robots-txt) references your sitemap.

## Usage

This tool runs entirely in the browser — visit the URL above to use it.

Prefill inputs via URL parameters:

- `https://varstatt.com/toolkit/sitemap?input=...`

## Related Tools

- [Robots](https://varstatt.com/toolkit/robots)
- [Sitemap](https://varstatt.com/toolkit/sitemap)
