Digital Drive HQ

XML Sitemap Generator

Turn a list of URLs into a valid XML sitemap.

Free · No sign-up · Works 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-02</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-07-02</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/blog</loc>
    <lastmod>2026-07-02</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

About the XML Sitemap Generator

Free XML sitemap generator — paste your URLs and get a valid sitemap.xml with lastmod, changefreq, and priority.

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.

Related tools