Text Editor OnlineText Editor Online
Back to editor

Sitemap Generator

Turn a list of URLs into a Google-ready XML sitemap.

<?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-06-22</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-06-22</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-06-22</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Why every site needs an XML sitemap

An XML sitemap helps search engines discover new pages faster. Upload it to your root domain, add it to your robots.txt, and submit it to Google Search Console.

Best practices

  • Only include canonical, indexable URLs.
  • Maximum 50,000 URLs per sitemap file.
  • Update lastmod only when content actually changes.

Explore more free tools

Everything below runs in your browser — private, fast and free.