---
title: "XML Sitemap Generator - Create Sitemap.xml"
description: "Free XML sitemap generator for valid sitemap.xml files. Paste URLs, check errors, add optional metadata, then copy or download in your browser."
url: https://candoya.com/tools/sitemap-xml-generator/
locale: en
type: browser-tool
---

# Free XML Sitemap Generator

Category: [SEO & Web](https://candoya.com/tools/seo/)

## What is an XML sitemap generator?

An XML sitemap generator turns a list of website URLs into a sitemap.xml file that search engines can read. Paste your canonical pages, review same-origin and URL checks, then copy or download standards-compliant XML. Optional last modified, change frequency, and priority values stay under your control.

This generator follows the Sitemap protocol 0.9 structure: one ``, one `` entry per page, and a required `` value. It normalizes complete web URLs, percent-encodes non-ASCII paths, escapes XML characters in query strings, removes duplicates, and flags mixed origins before export.

The tool builds XML from URLs you already know. It does not crawl your site or decide which pages should be indexed. Include canonical, indexable pages you want search engines to discover, then upload the file to your site and submit its URL through the search engine tools you use.

## How to use it

1. **Paste your URLs** - Enter one complete http:// or https:// page URL per line. Keep all entries on the same origin.
2. **Choose accurate metadata** - Optionally add a real last modified date, change frequency, or relative priority. Leave hints out when you cannot maintain them.
3. **Review the checks** - Fix invalid and mixed-origin URLs. Duplicate entries and removed fragments appear as review notes.
4. **Copy or download sitemap.xml** - Export the valid XML, upload it to your site, and reference or submit the sitemap URL to search engines.

## Who it's for

- **Static site owners** turning a route list into a ready-to-upload sitemap.xml file.
- **Developers** checking generated URLs and XML escaping before a release.
- **SEO specialists** preparing focused sitemaps for migrations, launches, or manual audits.
- **Small businesses** creating a sitemap without installing a CMS plugin or desktop crawler.

## Expert note

A trustworthy `` value describes when each page actually changed, not when the sitemap was generated. Search engines may ignore repeatedly inaccurate dates, so omission is better than stamping every URL with today by default.

## Frequently asked questions

### Is this XML sitemap generator free?

Yes. The XML sitemap generator is free to use with no account or sign-up. Paste your URLs, add optional metadata, and copy or download the generated sitemap.xml file as often as you need.

### Are my sitemap URLs uploaded?

No. URL validation and XML generation run locally in your browser. The list you paste is not sent to a server, so private staging routes and planned page lists stay on your device.

### How many URLs can one XML sitemap contain?

The Sitemap protocol allows up to 50,000 URLs in one sitemap file, and the uncompressed file must be no larger than 50 MB. For a larger site, split the URLs across multiple sitemap files and list them in a sitemap index.

### Does this sitemap generator crawl my website?

No. This tool converts the URL list you paste and makes no network requests to crawl pages. A crawler can discover links automatically, while this generator is useful when you already have a route export, canonical URL list, or migration inventory.

### Do I need changefreq and priority in sitemap.xml?

No. The location tag is the only required value for each URL. Change frequency and priority are optional hints, and major search engines may ignore them. Include them only when they help your own workflow; accurate URLs and last modified dates matter more.

### Can one sitemap contain URLs from multiple domains?

No. A standard sitemap should contain URLs from one origin. This generator flags a different scheme, hostname, or port so it cannot be exported by accident. Create and host a separate sitemap for each origin.

### Where should I put sitemap.xml?

Upload the file where your site can serve it, commonly at https://example.com/sitemap.xml. A sitemap normally covers URLs at or below its directory. You can then reference the complete sitemap URL in robots.txt and submit it in Google Search Console or Bing Webmaster Tools.

## Related tools

- [Robots.txt Generator](https://candoya.com/tools/robots-txt-generator/)
- [Meta Tag Generator](https://candoya.com/tools/meta-tag-generator/)
- [Open Graph Generator](https://candoya.com/tools/open-graph-generator/)
- [SERP Snippet Preview](https://candoya.com/tools/serp-snippet-preview/)
- [UTM Link Builder](https://candoya.com/tools/utm-link-builder/)

---

*Markdown edition of <https://candoya.com/tools/sitemap-xml-generator/>, published for AI agents and other automated readers. Index of key pages: <https://candoya.com/llms.txt>.*
