Digital Drive HQ
SEO Tools

XML Sitemap Generator

Turn a list of URLs into a valid XML sitemap.

FreeNo sign-upWorks in your browser
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-07-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-07-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-07-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

About the XML Sitemap Generator

Build a valid sitemap.xml free — just paste your URLs, one per line, set optional lastmod, changefreq, and priority values, and copy the finished XML. Submit it in Google Search Console and Bing Webmaster Tools so search engines discover every important page, especially on new sites with few backlinks or large sites with deep pages. No crawler, no software install, no limits.

How to use the XML Sitemap Generator

  1. 1Paste your page URLs, one per line.
  2. 2Choose a change frequency and priority.
  3. 3Copy the generated XML.
  4. 4Save it as sitemap.xml and submit it in Google Search Console.

Frequently asked questions

What is an XML sitemap?

An XML sitemap lists your site's important URLs to help search engines discover and crawl them efficiently.

Do I need a sitemap?

Sitemaps especially help large sites, new sites with few backlinks, and sites with deep or poorly-linked pages.

How many URLs can a sitemap contain?

Up to 50,000 URLs or 50 MB uncompressed per file. Larger sites split into multiple sitemaps linked by a sitemap index.

Related tools