Free Sitemap.xml Generator

Paste your URLs and get a valid sitemap.xml file you can submit to Google Search Console. 30 seconds. Free.

1. Tell us about your site

Tap the eye for a beginner-friendly explanation.

4 URLs added.

2. Optional defaults

Include in output

3. Your sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>/</loc>
    <lastmod>2026-04-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>/about</loc>
    <lastmod>2026-04-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>/pricing</loc>
    <lastmod>2026-04-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
  <url>
    <loc>/blog</loc>
    <lastmod>2026-04-29</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>
</urlset>

Save this as sitemap.xml and upload it to the root of your site, so it lives at yoursite.com/sitemap.xml. Then submit it in Google Search Console.

What is a sitemap.xml file?

A sitemap.xmlis a list of every page on your website that you want search engines to know about. You upload it to the root of your domain, then submit it in Google Search Console. From that moment on, Google can find new pages faster, re-crawl them when you update them, and understand your site's structure better.

You don't strictly need a sitemap if your site is small and well-linked, but you should have one anyway. It's the cheapest SEO win there is — five minutes of work, lasts forever, helps every page you have.

How to use this generator

  1. 1. Add your web address. The base URL of your site, with https://.
  2. 2. Paste your URLs. One per line. Either short paths like /pricing or full URLs like https://yoursite.com/pricing.
  3. 3. Set defaults (optional). lastmod = today by default. changefreq and priority are hints — mostly ignored by Google now, but they don't hurt.
  4. 4. Copy or download. Save as sitemap.xml and upload it to the root of your site. Then submit it at Google Search Console → Sitemaps.

Frequently asked questions

What is a sitemap.xml file?

An XML file at the root of your site (yoursite.com/sitemap.xml) that lists every page you want Google and Bing to know about. It’s how search engines find new pages faster, re-crawl pages you’ve updated, and understand the structure of your site.

Do I really need a sitemap if my site is small?

Yes, even a tiny site benefits. It’s a five-minute job and gives Google a complete map of your URLs without relying on internal linking alone. Brand new sites benefit the most because they have no backlinks for Google to follow.

Where do I put the sitemap.xml file?

At the root of your domain. The full address should be https://yoursite.com/sitemap.xml. Then add a line to your robots.txt that says Sitemap: https://yoursite.com/sitemap.xml — that’s how crawlers discover it automatically.

How do I submit my sitemap to Google?

Open Google Search Console, pick your site (you may need to verify it first), go to Sitemaps in the left menu, paste sitemap.xml, and click Submit. Google then re-checks the sitemap every few days. You can also submit to Bing Webmaster Tools the same way.

What’s the difference between sitemap.xml, robots.txt, and llms.txt?

sitemap.xml is a full list of every page. robots.txt is a list of which pages crawlers can and can’t access. llms.txt is a hand-picked list of your most important pages for AI tools to read. All three live at the root of your domain and work together.