All tools Sitemap XML Generator ● Live Developer Tools

How Sitemap XML Generator works

  1. Paste your page URLs into the input box, one full URL (with https://) per line.
  2. Review the generated XML — each line becomes a <url><loc> entry.
  3. Copy the output using the Copy button.
  4. Save it as sitemap.xml and upload it to your site's root directory.
  5. Reference the sitemap URL in your robots.txt and submit it in Google Search Console.
  • Build a first sitemap.xml for a small site that doesn't have server-side sitemap generation.
  • Quickly turn a list of URLs exported from a crawler or spreadsheet into valid sitemap markup.
  • Rebuild a sitemap after a site migration when the URL structure has changed.
  • Generate a sitemap for a static site or landing page collection with a handful of URLs.

The URL list is converted to sitemap XML entirely in your browser — nothing is uploaded or stored on a server.

  • Only produces the <loc> element per URL — it does not add lastmod, changefreq, or priority tags.
  • Does not verify that the URLs you enter are live, reachable, or correctly formatted.
  • Not built for sites with tens of thousands of URLs; very large sitemaps should be split into a sitemap index per the sitemap protocol's 50,000 URL limit.

Sitemap XML Generator

Sitemap XML Generator turns page URLs into a valid XML sitemap structure for search engine discovery. It is useful for small sites, launches, migrations, and SEO checks.

Sitemap XML Generator Runs locally

Sitemap XML Generator

Turn a list of URLs into a valid sitemap.xml file. Everything runs locally in this tab.

Output
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

</urlset>
Guide

How to use

  1. Paste your page URLs into the input box, one full URL (with https://) per line.

  2. Review the generated XML — each line becomes a <url><loc> entry.

  3. Copy the output using the Copy button.

  4. Save it as sitemap.xml and upload it to your site's root directory.

  5. Reference the sitemap URL in your robots.txt and submit it in Google Search Console.

Scenarios

Use cases

  • Build a first sitemap.xml for a small site that doesn't have server-side sitemap generation.

  • Quickly turn a list of URLs exported from a crawler or spreadsheet into valid sitemap markup.

  • Rebuild a sitemap after a site migration when the URL structure has changed.

  • Generate a sitemap for a static site or landing page collection with a handful of URLs.

Good to know

Limitations & Privacy

Private by design

The URL list is converted to sitemap XML entirely in your browser — nothing is uploaded or stored on a server.

  • Only produces the <loc> element per URL — it does not add lastmod, changefreq, or priority tags.

  • Does not verify that the URLs you enter are live, reachable, or correctly formatted.

  • Not built for sites with tens of thousands of URLs; very large sitemaps should be split into a sitemap index per the sitemap protocol's 50,000 URL limit.

FAQ

Frequently asked questions

Is Sitemap XML Generator free to use?

Yes. The tool is free and runs directly in your browser with no account required.

Does this tool upload my data?

No. The URL list is converted to XML locally in the browser tab and is not sent to a server.

What is this tool best for?

Turning a plain list of page URLs — copied from a spreadsheet or crawl export — into valid sitemap.xml markup you can upload to your site.

How do I enter my URLs?

Paste one full, absolute URL per line (including https://) into the input box. Each line becomes a separate <url><loc> entry in the output.

Does it add lastmod, changefreq, or priority tags?

No — this generator produces minimal, valid sitemaps with just the <loc> element per URL. If you need those optional tags, add them manually to the output before publishing.

Where do I put the generated sitemap.xml file?

Save the output as sitemap.xml and upload it to your site's root (or wherever you reference it), then list its URL in your robots.txt and submit it in Search Console.

Is there a limit to how many URLs I can include?

The tool has no hard-coded limit, but the official sitemap protocol caps a single file at 50,000 URLs or 50MB uncompressed — split larger sites into multiple sitemap files with a sitemap index.

Does it validate that my URLs actually exist?

No — it only formats the URLs you provide into XML. It doesn't check that each page returns a 200 status or is reachable.