SEO TOOLS · NOTHING IS FETCHED

sitemap.xml Generator and Validator

Build a sitemap from a URL list, or paste an existing one to check it for errors.

Mode

Input

Result

3 URLs

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
  </url>
  <url>
    <loc>https://example.com/about</loc>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
  </url>
</urlset>

About this tool

Paste a list of URLs, one per line, to generate a standard sitemap.xml with optional lastmod, changefreq, and priority per URL. The same page validates an existing sitemap: whether the namespace is right, whether URLs are absolute and valid, whether lastmod matches the W3C Datetime format, whether priority sits between 0 and 1, whether changefreq is a permitted value, and whether there are duplicates or unescaped characters.

How it works

  1. Paste the URL list, one per line.
  2. Set lastmod, changefreq, and priority if you want them.
  3. Copy the XML, or switch to validation to check an existing sitemap.

Limits and notes

Up to 50,000 URLs per sitemap. Validation covers the namespace, URLs, lastmod format, priority range, and duplicates.

Privacy

Pasted HTML, URLs, and text are analysed inside this browser only. Nothing is uploaded, stored, or written to the URL or any log.

Frequently asked questions

Are priority and changefreq worth setting?
Google has said plainly that it ignores both and uses only `loc` and `lastmod`. Other engines and some tools still read them, so the fields remain optional here — but tuning them is not a good use of time. Keeping lastmod accurate is far more valuable.
What if I have more than 50,000 URLs?
A single sitemap is capped at 50,000 URLs or 50MB uncompressed. Beyond that, split into several sitemaps and list them in a sitemap index file. This tool builds a single sitemap and flags the limit as an error rather than truncating silently.