XML Sitemap Generator

Paste a list of canonical URLs to generate a properly escaped sitemap.xml file with lastmod dates and priorities.

Inputs

Paste canonical HTTPS URLs (one per line) to build a valid sitemap.xml file.

Generated sitemap.xml

Ready to copy or download. Runs 100% in your browser.

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.ca/</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.ca/services</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.ca/contact</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.ca/blog</loc>
    <lastmod>2026-11-30</lastmod>
    <changefreq>weekly</changefreq>
  </url>
</urlset>
  • Generated 4 unique URL entries.

Common questions

Should non-canonical or redirected URLs go into sitemap.xml?

No. Include only clean HTTPS URLs that return HTTP 200 and are self-canonical.

Do I still need to submit sitemap.xml in Google Search Console?

Submitting your sitemap in Search Console and listing it in robots.txt gives you indexing diagnostics right away.