XML Sitemap Generator

Add your URLs manually, paste them in bulk, or upload a text file. Set lastmod, changefreq, and priority per URL, then generate and download your sitemap.xml.

0 URLs
URL

Why Use the Sitemap Generator?

A valid XML sitemap helps search engines discover and index all the important pages on your website. This tool lets you build a sitemap.xml file by adding URLs manually or in bulk, set lastmod dates, change frequency, and priority per URL — then download the ready-to-use file. Read our complete XML Sitemaps for SEO guide to learn why sitemaps matter and how to submit them to search engines.

After generating your sitemap, use the Sitemap Validator to check it for errors, or the Sitemap to CSV Converter to audit the URLs in a spreadsheet. Need to understand the underlying XML syntax? Check our tutorials.

Example Input

Add URLs one at a time or paste them in bulk, one per line:

https://example.com/
https://example.com/about
https://example.com/blog
https://example.com/contact

Example Output

The generator produces a valid XML sitemap file:

<?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-03-06</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-03-06</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>