Sitemap generator: build an XML sitemap from your URL list

Paste one URL per line and this sitemap generator builds a valid XML sitemap, removing duplicates and skipping invalid lines. Add a lastmod date, changefreq or priority, and large lists are split into files of up to 50,000 URLs.

  • Free
  • No sign-up
  • Runs in your browser

Processing…

Runs in your browser — your text is never sent to our servers.

How to use Sitemap Generator

  1. Paste your URLs into the box, one absolute URL per line, starting with http:// or https://.
  2. Optionally enter a lastmod date (YYYY-MM-DD) or press "Use today", and choose changefreq and priority if you want them.
  3. Check the counters for included URLs, removed duplicates and skipped lines, and read any warning shown.
  4. Copy the XML or download sitemap.xml, upload it to your site and submit its address in Search Console and Bing Webmaster Tools.

Features

  • Builds a sitemap following the sitemaps.org protocol, with escaped characters
  • Removes duplicate URLs and reports invalid lines
  • Optional lastmod, changefreq and priority for every URL
  • Splits lists above 50,000 URLs into several files and writes a sitemap index
  • Warns when a file would exceed 50 MB uncompressed
  • Runs in your browser, so your URL list is never uploaded

Examples

InputResult
https://example.com/ https://example.com/about https://example.com/2 URLs in the sitemap, 1 duplicate removed — Each URL is written as <url><loc>…</loc></url>.
https://example.com/a?x=1&y=2<loc>https://example.com/a?x=1&amp;y=2</loc> — Ampersands are escaped as required by XML.
50,001 URLsTwo files (sitemap-1.xml, sitemap-2.xml) plus a sitemap index — The limit is 50,000 URLs per sitemap file.

Limitations

  • The tool does not crawl your site: it only turns the URLs you paste into XML. It cannot discover pages or check that they return a 200 status.
  • Lines that are not absolute http or https URLs are skipped and listed as warnings.
  • Google ignores priority and changefreq, and uses lastmod only when it is accurate, so use them only if they are true.

Learn more

An XML sitemap is a file that lists the URLs you want search engines to know about. It does not guarantee indexing, but it helps crawlers discover pages, especially on large sites or new sites with few links pointing to them. The format is defined by the sitemaps.org protocol and is supported by major search engines.

List only pages you want to appear in search: canonical URLs that return a normal 200 response and are not blocked or marked noindex. Redirecting, broken or duplicate URLs waste crawl attention and make the file less useful. Each sitemap file may hold up to 50,000 URLs and 50 MB uncompressed; bigger sites use several files tied together by a sitemap index.

The optional fields are often misused. Google has said it ignores priority and changefreq, and it only trusts lastmod when it proves consistently accurate, meaning the date reflects a real content change. After uploading the file, submit it in Search Console and Bing Webmaster Tools, or reference it with a Sitemap line in robots.txt, and watch the reports for errors.

Frequently asked questions

How do I create a sitemap for my website?

List your canonical, indexable URLs one per line, paste them here and download the XML. Then upload it to your site and submit it in Google Search Console.

Does this tool crawl my site?

No. It does not visit any page. You provide the URLs, for example from your CMS export or from the URL extractor tool.

How many URLs can a sitemap hold?

Up to 50,000 URLs and 50 MB uncompressed per file. Larger sites use several sitemap files listed in a sitemap index, which this tool creates when needed.

Should I include priority and changefreq?

They are optional and Google ignores them. Include lastmod only if you keep it accurate for each page.

Sources

Last reviewed: September 30, 2026