🔍

Sitemap Generator

🔒 In your browser

Turn a list of URLs into a valid XML sitemap for search engines.

How it works

Paste your page URLs — one per line — to generate a valid sitemap.xml that helps search engines discover and crawl every page. Save it to your site root and submit it in Google Search Console.

Try an example

sitemap.xml

🔒 Generated entirely in your browser — nothing is uploaded.

🤖You might also need Robots.txt Generator

🔒 Runs in your browser: tags, sitemaps and minification are generated locally from what you type — nothing is uploaded, no signup, no limits.

About the Sitemap Generator

This free XML sitemap generator turns a list of your page URLs into a valid sitemap.xml — the file that helps search engines discover and crawl every page on your site. Add optional lastmod, change frequency and priority values, then save the result to your site root.

It runs in your browser, so your URL list is never uploaded.

How to create a sitemap

  • Paste your full page URLs, one per line.
  • Optionally set a change frequency, priority and today's lastmod date.
  • Copy the XML into a file named sitemap.xml at your site root.
  • Submit it in Google Search Console and reference it in robots.txt.

What belongs in a sitemap

  • Every canonical URL you want indexed — one entry per page.
  • A lastmod date so crawlers know when a page last changed.
  • Optional changefreq and priority hints for each URL.
  • Leave out non-canonical, redirected, noindex or thin paginated URLs.

Frequently asked questions

What is an XML sitemap?

A file listing your site's URLs in a standard XML format, which search engines use to discover pages and understand how often they change — especially useful for new or large sites.

Where do I put the sitemap file?

Save it as sitemap.xml at your site root (e.g. https://example.com/sitemap.xml), then submit it in Google Search Console and add a 'Sitemap:' line to your robots.txt.

What do changefreq and priority do?

They're hints: changefreq suggests how often a page updates, and priority (0.0–1.0) its relative importance. Search engines treat them as advisory, not commands.

Is there a URL limit?

A single sitemap can hold up to 50,000 URLs. This generator handles large lists in your browser with no imposed cap.

Related searches

sitemap generatorxml sitemap generatorcreate sitemapgenerate sitemap.xmlsitemap makerseo sitemap

Related SEO tools

🔗 Embed this tool on your website — free

Copy this and paste it into your page's HTML. The tool runs in the visitor's browser, just like here. Change height to fit, or add the optional auto-resize snippet below. Add ?theme=dark to the URL for dark mode.

<iframe src="https://toolhq.dev/embed/sitemap-generator/" title="Sitemap Generator — ToolsHub" width="100%" height="520" style="border:1px solid #e5e7eb;border-radius:12px;max-width:680px" loading="lazy"></iframe>
Optional: auto-resize the iframe height

Add this once on the same page so the iframe grows to fit the tool:

<script>
addEventListener("message", function (e) {
  if (e.data && e.data.type === "toolshub:resize") {
    document.querySelectorAll('iframe[src*="/embed/"]').forEach(function (f) {
      if (f.contentWindow === e.source) f.style.height = e.data.height + "px";
    });
  }
});
</script>