XML Sitemap Generator
Turn a list of URLs into a valid XML sitemap with lastmod, changefreq and priority, ready to submit to search engines. Free, in your browser.
Build a valid XML sitemap right in your browser. Your URLs never leave this page.
A single sitemap file supports up to 50,000 URLs and 50 MB uncompressed. For larger sites, split into multiple sitemaps and reference them from a sitemap index.
About XML Sitemap Generator
The XML Sitemap Generator turns a plain list of URLs into a valid sitemap.xml ready to submit to Google Search Console and Bing Webmaster Tools. Paste one URL per line; the tool validates each entry, counts valid and invalid lines, and writes standards-compliant <urlset> XML as you type.
Optional defaults apply to every URL: a change frequency (always through never), a priority value, and a switch that stamps today's date as <lastmod>. Any of them can be omitted, since search engines treat changefreq and priority as hints at best.
A single sitemap file supports up to 50,000 URLs and 50 MB uncompressed — the tool warns you and includes only the first 50,000 if you exceed the limit, in which case you should split into multiple sitemaps referenced by a sitemap index. Everything is generated in your browser; your URL list never leaves the page.
How to use XML Sitemap Generator
- Paste your URLs into the input, one per line, or load the sample list.
- Check the valid/invalid counter and fix any lines flagged as invalid.
- Set optional defaults: change frequency, priority, and whether to stamp today as lastmod.
- Review the generated XML and its entry count in the output panel.
- Copy the sitemap or download sitemap.xml, upload it to your site, and submit the URL to the search engines.