Sitemap URL Validator

Validate an XML sitemap: format, namespace, lastmod dates, duplicate and off-site URLs, http/https mix – and the status code of every URL (redirects, 404s).

Tool

Was this tool useful?

About this tool

About Sitemap URL Validator

A sitemap should list only final, indexable pages. Enter your sitemap address (index files are followed) or paste the XML. The validator checks the XML and namespace, the 50,000-URL limit, duplicate URLs, URLs on another domain or mixing www and non-www, http and https mixed, fragments and tracking parameters, and lastmod dates in the wrong format or in the future. It then checks the status code of up to 300 URLs and flags redirects, 404s and server errors.

How it works

Sitemaps protocol 0.9: <urlset> or <sitemapindex> in the http://www.sitemaps.org/schemas/sitemap/0.9 namespace, absolute URLs, at most 50,000 URLs or 50 MB per file, lastmod in W3C datetime format.

Example

A sitemap listing http://example.com/old-page that redirects to https://example.com/new-page should list the new URL instead.

How to use this tool

  1. Enter the sitemap address (or paste the XML).
  2. Choose how many URLs to check for status codes.
  3. Fix the errors and export the list.

Frequently asked questions

Why should a sitemap not list redirects?

Search engines treat a sitemap as your list of canonical pages. Redirects and 404s waste crawl budget and send mixed signals.

Can I export the result?

Yes – download the result as CSV (opens in Excel and Google Sheets).

Will using the Sitemap URL Validator improve my rankings?

The Sitemap URL Validator helps you get the technical details right, which removes problems that can hold a page back. Rankings still depend mostly on helpful content, links and user experience, so use it as part of a wider SEO plan.