RevealTheme logo

XML Sitemap Generator

Paste a list of URLs, one per line, and get a sitemaps.org 0.9 XML sitemap you can copy or download as sitemap.xml — generated entirely in your browser.

How to use this tool

  1. 1

    Paste your page URLs into the box, one absolute URL per line (for example https://example.com/about).

  2. 2

    Watch the generated XML appear below as you type — blank lines and surrounding whitespace are ignored automatically.

  3. 3

    Click Copy to grab the XML, or Download to save it as sitemap.xml.

  4. 4

    Upload the file to your site root and submit its URL in Google Search Console under Sitemaps.

What is an XML sitemap and what does this generator actually produce?

An XML sitemap is a file that lists the URLs on your site so search engines like Google and Bing can discover and crawl them more reliably, especially pages that are not well linked internally. The format is defined by the sitemaps.org 0.9 protocol: a root <urlset> element with the namespace http://www.sitemaps.org/schemas/sitemap/0.9, containing one <url> block per page, each with a required <loc> element holding the full URL. Optional hints include <lastmod>, <changefreq>, and <priority>. This generator takes whatever you paste, splits it on line breaks, trims each line, drops empty lines, and wraps the rest in <url> blocks. It writes every URL with a fixed <changefreq>weekly</changefreq> and <priority>0.8</priority>, and it does not emit <lastmod>. Be aware of two limits: it does not validate that each line is a real absolute URL, and it does not XML-escape special characters, so a raw & or < inside a URL will produce invalid XML. Modern Google largely ignores changefreq and priority anyway, so the fixed values rarely matter. For large or dynamic sites, generate sitemaps server-side instead.

Common use cases

  • Generating a first sitemap.xml for a small static or hand-built site that has no CMS to produce one automatically.

  • Turning a list of URLs exported from a crawler like Screaming Frog into a submittable sitemap in seconds.

  • Creating a quick sitemap for a landing-page set or microsite before submitting it to Google Search Console.

  • Building a sitemap for a documentation or portfolio site where you already know every page URL by hand.

  • Prototyping or testing how a sitemap is parsed by a tool or pipeline without writing a generator script.

  • Refreshing a sitemap after adding a batch of new pages by pasting the updated full URL list.

Frequently asked questions

Is the sitemap valid according to the sitemaps.org standard?
Yes, as long as your input is clean. The output uses the correct <urlset> namespace and one <loc> per URL, which conforms to the sitemaps.org 0.9 protocol. It becomes invalid only if a URL contains XML-special characters like & or <, because this tool does not escape them.
Does it add <lastmod> dates?
No. This generator only writes <loc>, <changefreq>weekly</changefreq>, and <priority>0.8</priority> for each URL. It does not include <lastmod>. If you need accurate last-modified dates, add them manually or use a server-side generator.
Can I set different changefreq or priority per URL?
Not here — every URL gets the same hardcoded changefreq of weekly and priority of 0.8. In practice this is fine, because Google has stated it ignores both fields; <loc> is the part that matters for discovery.
Are my URLs sent to a server?
No. Everything runs locally in your browser using JavaScript. The XML is built from the text in the box, and Copy and Download work without any upload, so your URLs never leave your device.
Does it validate or deduplicate my URLs?
No. It trims whitespace and skips blank lines, but it does not check that each line is a well-formed absolute URL, and it does not remove duplicates. Paste clean, absolute URLs (including https://) and remove any duplicates yourself.
Where do I put the file once I download it?
Place it at the root of your domain, typically https://yourdomain.com/sitemap.xml, then submit that URL in Google Search Console under the Sitemaps section. You can also reference it from your robots.txt with a Sitemap: line.
Is there a URL limit I should know about?
The sitemaps.org spec caps a single sitemap at 50,000 URLs and 50 MB uncompressed. This tool has no built-in limit, but if you exceed those numbers you should split the URLs across multiple sitemap files and reference them from a sitemap index.

Related tools