XML Sitemap Generator

Paste your page URLs, choose your defaults, and get a valid sitemap.xml you can upload to your site root and submit to Search Console.

3 valid URLs

sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-09-06</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-09-06</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/products</loc>
    <lastmod>2026-09-06</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Upload to your site root, then add Sitemap: …/sitemap.xml to your robots.txt.

How it works

Each URL becomes a <url> entry with the optional lastmod, changefreq and priority tags you choose. URLs are XML-escaped so ampersands and quotes won't break the file, duplicates are removed, and anything that isn't a valid absolute http(s) URL is flagged rather than silently included. Sitemaps are capped at 50,000 URLs by the standard - split larger sites into multiple files with a sitemap index.

Related tools