All tools
Interactive generator · free · no signup

XML sitemap generator

Paste your URLs, one per line, and get a valid sitemap.xml — with optional last-modified date, change frequency, and priority — ready to serve at your site root.

3 URLs · sitemap.xml

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <changefreq>weekly</changefreq>
  </url>
  <url>
    <loc>https://example.com/writing</loc>
    <changefreq>weekly</changefreq>
  </url>
</urlset>

Serve this at /sitemap.xml and reference it in robots.txt. A sitemap lists at most 50,000 URLs and 50MB uncompressed per file.

How it works

The generator validates each line as an http or https URL, skips anything that is not, and wraps the valid ones in the sitemaps.org XML format: a urlset with one url entry per location. Special characters in URLs are escaped so the output is well-formed.

The optional fields map to the standard sitemap elements. lastmod tells crawlers when a page changed, changefreq is a hint about how often it changes, and priority is a relative weighting among your own pages. All three are hints, not directives — search engines weigh them lightly and rely more on their own crawling signals.

Copy the result, save it as sitemap.xml at your site root, and reference it from robots.txt. Everything is generated in your browser.

Assumptions and limitations

Frequently asked questions

How do I create an XML sitemap?

List the URLs you want crawled, wrap each in the sitemaps.org XML format, and save the file as sitemap.xml at your site root. This tool does the formatting for you — paste the URLs and copy the output.

Where do I put my sitemap.xml file?

At your site root, so it is reachable at yourdomain.com/sitemap.xml, and referenced with a Sitemap line in robots.txt. You can also submit it directly in Google Search Console and Bing Webmaster Tools.

Do changefreq and priority actually matter?

Not much. Search engines treat both as weak hints and often disregard them, preferring their own crawl data. An accurate lastmod is more useful, and a clean list of canonical, indexable URLs matters most of all.

How many URLs can a sitemap contain?

A single sitemap file can hold up to 50,000 URLs and must be under 50MB uncompressed. Beyond that, split into multiple sitemaps and list them in a sitemap index file.

Is my list of URLs sent to a server?

No. The sitemap is built entirely in your browser. None of the URLs you paste are transmitted or stored.