MarketLatch · Sitemap Diagnostics

XML Sitemap Validator

Validate XML sitemaps for structure, URL validity, duplicates, HTTP behavior, redirects, content types, and optional canonical consistency.

CAPABILITIES

Built for focused, practical work.

X

XML structure

Parse sitemap urlsets and sitemap indexes.

U

URL validation

Check HTTPS validity, duplicates, HTTP status, redirects, final URLs, and content types.

C

Canonical comparison

Optionally compare HTML canonical signals with final URLs.

C

Controlled network scope

Child sitemap locations are recognized without recursively downloading child sitemaps in this release.

WORKFLOW

From input to useful evidence.

SITEMAP → XML PARSE → LOC VALIDATION → HTTP CHECK → REDIRECTS → OPTIONAL CANONICAL → FINDINGS
SETUP GUIDE

Clear steps, no guesswork.

1

1. Download

Get the repository ZIP or clone the source.

2

2. Install

Use Python 3.10+ and install the requirements.

3

3. Validate

Run the validator against a remote sitemap or local XML file.

4

4. Review findings

Use the results as observable technical evidence, not as proof of indexing or ranking.

QUICK START

Run it in minutes.

python -m pip install -r requirements.txt
python xml_sitemap_validator.py https://example.com/sitemap.xml
python xml_sitemap_validator.py ./sitemap.xml --no-http
python xml_sitemap_validator.py https://example.com/sitemap.xml --check-canonical
RESOURCES

Source, documentation & downloads.

RELEASE

Stable v0.1.0 snapshot.

SCOPE

Know what the tool can—and cannot—tell you.

This project reports implementation evidence within its defined scope.

It does not guarantee rankings, indexing, traffic, search visibility, or search-engine decisions. Evaluate findings against the actual website, evidence, current authoritative documentation, and project context.

RELATED TOOLS

Explore related MarketLatch tools.