← All tools

Sitemap validator

Paste a sitemap and catch format, URL and date errors.
Paste your sitemap.xml
5 errors
  • Error: URL 2: lastmod “20/11/2026” isn't W3C datetime (YYYY-MM-DD).
  • Error: URL 2: priority must be 0.0–1.0.
  • Error: URL 3: Different host (cdn.example.net). A sitemap may only list URLs from its own host.
  • Error: URL 4: Duplicate URL.
  • Error: URL 4: changefreq “sometimes” isn't valid.
  • Note: URL set · 4 entries · 472 B of 50 MB allowed.
  • Note: Google ignores priority and changefreq. lastmod is used when it's accurate.
  • 1https://example.com/OK · lastmod 2026-11-18
  • 2https://example.com/pricinglastmod “20/11/2026” isn't W3C datetime (YYYY-MM-DD). priority must be 0.0–1.0.
  • 3https://cdn.example.net/blogDifferent host (cdn.example.net). A sitemap may only list URLs from its own host.
  • 4https://example.com/Duplicate URL. changefreq “sometimes” isn't valid.
Summary
urls: 4
host: example.com
errors: 5
warnings: 0
● 5 errorsSitemap validatorLocal-only

What it’s good for

Make sure crawlers can read every URL.

  • Before you submitCatch errors before Search Console does.
  • Debug a CMS sitemapFind bad dates, wrong hosts and duplicates.
  • Check sitemap indexesWorks with both urlset and sitemapindex files.

Questions

The short answers.

What's checked?

The XML declaration, the namespace, balanced and closed tags, declared prefixes for image or video extensions, a loc on every entry, absolute same-host URLs, duplicates, unescaped &, URL length, lastmod format, changefreq and priority.

Do priority and changefreq matter?

Google ignores them. An accurate lastmod helps.

Which date formats does lastmod accept?

W3C datetime: 2026-11-20, or a full timestamp with a time zone like 2026-11-20T14:30:00+00:00. Formats like 20/11/2026 are rejected, and dates in the future are flagged.

Why does every URL need the same host?

A sitemap may only list URLs from the host it's served on. The validator uses the first URL's host as the reference and flags any entry on a different host, like a CDN or another subdomain.

See all →