✓ Validation complete
QuikbenchQuikbench

Sitemap Validator

Build a new sitemap from your page URLs, or paste an existing sitemap.xml to check it for errors — with automatic repair for broken XML and a cleaned file ready to download.

Your sitemap.xml

Visit yourdomain.com/sitemap.xml in your browser, select all, copy, and paste the contents here.

Build a sitemap from your URLs

Paste your page URLs below — one per line, or pasted from anywhere (the tool pulls out anything that looks like a URL). It generates a clean, spec-compliant sitemap.xml automatically.

Paste your sitemap.xml and click "Validate & Auto-Repair" to see results here — or switch to "Build New Sitemap" if you don't have one yet.

About sitemap validation

A sitemap.xml file lists the URLs on your site that you want search engines to crawl and index. It must follow the sitemap protocol exactly — malformed XML, relative URLs, or invalid dates can cause Google Search Console to reject the whole file or silently ignore broken entries.

Don't have a sitemap yet? Switch to the Build New Sitemap tab, paste in your page URLs, and the tool generates a clean, spec-compliant file for you automatically.

Have an existing sitemap that's broken? The Validate & Repair tab checks structure, namespace, URL validity, duplicate entries, lastmod date format, priority range, and changefreq values. If the XML itself doesn't parse — a common result of manually editing the file and accidentally deleting half a tag — it now runs a best-effort auto-repair pass first: missing closing tags get closed, missing opening tags get reinserted, and a missing <loc> tag gets recovered if the URL text is still sitting inside the entry. You'll see exactly what was auto-fixed before reviewing the rest of the results, then can download the cleaned file.

It also detects sitemap index files (<sitemapindex>) and validates the index structure itself; paste each child sitemap separately to validate its individual URLs.

Frequently asked questions

Yes — completely free, with no sign-up, no account, and no usage limits.

No. Everything runs in your browser using JavaScript. The XML or URLs you paste are never sent to any server.

Yes. Use the Build New Sitemap tab: paste in your page URLs (one per line, or pasted from anywhere — the tool extracts anything that looks like a URL), and it generates a ready-to-upload sitemap.xml with the correct tags and namespace.

Only <loc> (the page URL) is required inside each <url> entry. <lastmod>, <changefreq>, and <priority> are optional — Google has said it largely ignores the latter two for ranking purposes, so it's fine to leave them out entirely.

Common causes include invalid XML syntax, a missing or incorrect namespace, relative URLs instead of absolute ones, or exceeding the 50,000 URL limit per file. This tool flags all of these directly.

A sitemap (<urlset>) lists actual page URLs. A sitemap index (<sitemapindex>) lists the locations of multiple sitemap files — used when a site has more than 50,000 URLs and needs to split them across several files.

Yes. If your XML doesn't even parse — for example, if you accidentally deleted half of a tag while editing — the tool now runs an auto-repair pass first: it reinserts missing opening or closing tags, and recovers a missing <loc> if the URL text is still present in the entry. It also generates a cleaned version that removes duplicate URLs and drops entries it truly can't recover, ready to download.

📖 Related guide: XML Sitemaps Explained: Why They Matter and How to Validate Them