XML Sitemap Generator

Turn a list of URLs into a valid sitemap.xml — escaped, deduplicated.

About this generator

Paste your pages (full URLs or paths plus a site URL), pick the optional fields, and copy or download a sitemap.xml that validates. Duplicates are removed and special characters escaped. Generated in the page.

What a sitemap does — and which fields matter

A sitemap is a list of the pages you'd like indexed, submitted through Google Search Console and Bing Webmaster Tools, so search engines discover every page without depending on links to lead them there. For new sites, small sites and pages deep in a structure, it's the difference between indexed this week and indexed eventually. The format is unforgiving in one way: an unescaped ampersand in a URL invalidates the whole file, which this generator handles. On the optional fields, the honest position from the search engines themselves: changefreq and priority are largely ignored; lastmod is used, but only if it's TRUE — stamping every page “modified today” on every regeneration teaches crawlers to ignore it, so include it when it reflects real changes. One file holds 50,000 URLs (or 50 MB); larger sites use several sitemaps and an index. Point robots.txt at the result with the robots.txt generator, and validate the XML with the XML formatter.

Frequently asked questions

Do I need a sitemap?

For new, small or deeply nested sites, yes — it gets pages found faster. Large, well-linked sites benefit less but it never hurts.

Should I include changefreq and priority?

Optional and mostly ignored by search engines. They don't hurt; they don't help much. lastmod matters more — if it's honest.

Where do I submit it?

Upload sitemap.xml to your site root, then submit its URL in Google Search Console and Bing Webmaster Tools. Also add a Sitemap: line to robots.txt.

What's the size limit?

50,000 URLs or 50 MB per file. Beyond that, split into several sitemaps listed in a sitemap index file.