Sitemap Generator

Generate a valid XML sitemap from a list of URLs, with optional lastmod, changefreq, and priority — then copy or download sitemap.xml.

One URL per line. Bare domains get https:// added automatically; invalid and duplicate URLs are skipped.

Optional defaults (applied to every URL)

  

The Sitemap Generator turns a plain list of page URLs into a valid XML sitemap that search engines can read. Paste one URL per line, optionally set a default last-modified date, change frequency, and priority, then copy the result or download it as sitemap.xml. URLs are validated and XML-escaped automatically, duplicates and invalid entries are skipped, and everything runs entirely in your browser.

What is an XML sitemap?

An XML sitemap is a file that lists the important URLs on your website so search engines like Google and Bing can discover and crawl them efficiently. It follows the sitemaps.org 0.9 protocol: a root element wraps one entry per page, and each entry contains a with the page address plus optional , , and hints. Submitting a sitemap helps crawlers find new and updated pages faster, especially on large sites or sites with pages that are not well linked.

How to generate a sitemap

Paste your page URLs, choose any defaults you want applied to every entry, then generate and save the file.

  1. Paste your page URLs into the box, one per line — a bare domain like example.com/about is automatically prefixed with https://.
  2. Optionally pick a default change frequency, priority, and last-modified date applied to every URL.
  3. Click Generate sitemap to build the XML; invalid URLs and duplicates are skipped and reported.
  4. Copy the result or click Download to save it as sitemap.xml, then upload it to your site root and submit it in Google Search Console.

What do changefreq and priority mean?

tells crawlers how often a page is likely to change (always, hourly, daily, weekly, monthly, yearly, or never), and is a value from 0.0 to 1.0 that suggests how important a URL is relative to other URLs on your own site. Both are optional hints, not commands — modern search engines largely rely on their own crawl signals and may ignore them — so it is fine to leave them blank. , the date a page last changed, is the field crawlers pay the most attention to, so set it when you can.

Where do I put sitemap.xml?

Place the generated file at the root of your domain so it is reachable at https://yourdomain.com/sitemap.xml, then reference it from your robots.txt with a 'Sitemap: https://yourdomain.com/sitemap.xml' line and submit the URL in Google Search Console and Bing Webmaster Tools. A single sitemap may hold up to 50,000 URLs and must be no larger than 50 MB uncompressed; for bigger sites, split the URLs across multiple sitemaps and list them in a sitemap index file.

Why use this sitemap generator?

  • Paste any number of URLs, one per line — bare domains are auto-prefixed with https:// for you.
  • Optional lastmod (today or a custom date), changefreq, and priority applied to every entry.
  • URLs are validated and XML-escaped, and duplicate or invalid entries are skipped and reported.
  • Copy the XML or download a ready-to-upload sitemap.xml in one click.
  • Runs entirely in your browser — your URLs are never uploaded, logged, or stored anywhere.

Frequently asked questions

How many URLs can a sitemap contain?

A single XML sitemap may list up to 50,000 URLs and must not exceed 50 MB uncompressed. If your site has more URLs than that, split them across several sitemap files and reference all of them from a sitemap index file. This tool generates a single urlset, so keep each batch within those limits.

Do I need lastmod, changefreq, and priority?

No — only is required. is the most useful optional field because crawlers use it to spot updated pages, so add it when you know the date. and are weak hints that most search engines now ignore, so it is perfectly fine to leave them blank.

What happens to invalid or duplicate URLs?

Each line is validated as an http or https URL. Entries that aren't valid URLs are skipped, and if the same URL appears more than once only the first is kept. The tool shows a note telling you how many invalid or duplicate entries were skipped so nothing silently disappears.

Does it escape special characters in my URLs?

Yes. Characters that have special meaning in XML — the ampersand, less-than, greater-than, quote, and apostrophe — are escaped to &, <, >, ", and ' in the output. This keeps the sitemap well-formed even when your URLs contain query strings with ampersands.

Is this sitemap generator free and private?

Yes. It is completely free and runs entirely in your browser with JavaScript. The URLs you paste are processed locally on your device and are never uploaded, logged, or stored — the sitemap is yours to copy or download.