Free XML Sitemap Generator

Generate a valid sitemap.xml for your site in seconds. Paste your URLs — one per line — set default change frequency and priority, and get standards-compliant XML ready to upload and submit to Google Search Console.

sitemap.xml

Private by design. This tool runs 100% in your browser — your code is never uploaded to any server.

How to Use the Sitemap Generator

  1. Paste your URLs, one per line, into the input box.
  2. Set the default change frequency and priority.
  3. Toggle lastmod to stamp today’s date on every URL.
  4. Click Generate, then copy or download sitemap.xml.

Features

The generator validates each line as a URL (adding https:// when you paste bare domains), escapes XML special characters in URLs, and emits a proper urlset with the sitemaps.org namespace. Changefreq and priority apply cleanly, lastmod stamps the current date, and a counter reports how many valid URLs were included versus skipped.

Benefits & Use Cases

Site owners give search engines a complete crawl map for new or large sites; SEOs generate sitemaps for small static sites without CMS plugins; developers scaffold the file during launches. A valid sitemap speeds up discovery of pages that internal linking might miss.

Tips

Keep sitemaps under 50,000 URLs and 50MB uncompressed — split larger sites into multiple sitemaps with an index. List only canonical, indexable URLs; including redirected or noindexed pages wastes crawl budget.

Frequently Asked Questions

What is a sitemap.xml?

An XML file listing your site’s important URLs (with optional last-modified dates, change frequency, and priority) that helps search engines discover and crawl your pages efficiently.

Does a sitemap guarantee indexing?

No — it helps discovery, but Google still decides what to index based on quality and other signals. Think of it as handing over a map, not a VIP pass.

Where do I put sitemap.xml?

At your domain root (example.com/sitemap.xml) and reference it in robots.txt via a Sitemap: line, then submit it in Google Search Console and Bing Webmaster Tools.

What should changefreq and priority be?

Honest hints, not commands: set changefreq to how often content actually changes, and priority relative to your other pages (1.0 for the homepage, lower for deep pages). Search engines treat them as suggestions.

How many URLs can a sitemap hold?

Up to 50,000 URLs or 50MB uncompressed per file. Larger sites use multiple sitemaps listed in a sitemap index file.

Related Tools