# XML Sitemap Generator

> Turn a list of URLs or paths into a valid sitemap.xml, split at 50,000. Runs entirely in your browser, so nothing is uploaded.

Source: https://toffeekit.com/tools/xml-sitemap-generator

**Category:** [SEO](https://toffeekit.com/category/seo) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/xml-sitemap-generator

**Also useful for:** sitemap generator, xml sitemap, sitemap.xml, sitemap index, lastmod, create sitemap, urlset

## How it works

1. Choose Paths + base URL or Full URLs, and set the Base URL if you use paths.
2. Paste one URL or path per line, adding a date after a comma for its lastmod.
3. Pick Last modified: Leave out, Today or From list, and optionally changefreq and priority.
4. Click Download sitemap.xml, or download the ZIP of sitemaps and index when the list is split.

## FAQ

### How many URLs can a sitemap have?

Up to 50,000 URLs and 50 MB uncompressed. Larger sites split them into several sitemaps listed in a sitemap index, which this tool does automatically.

### Does Google use changefreq and priority?

No. Google ignores both. It does use lastmod when the dates are consistently accurate, so only update lastmod when the page content really changes.

### What date format does lastmod use?

W3C Datetime, such as 2026-12-01 or 2026-12-01T09:30:00+00:00. Dates in other formats are left out and reported.

### How do I submit my sitemap to Google?

Upload it to your site, add a Sitemap: line to robots.txt and submit the URL in Google Search Console under Sitemaps. Bing accepts it in Bing Webmaster Tools.

### Which URLs should go in a sitemap?

Only canonical, indexable URLs that return 200. Leave out redirects, noindex pages, duplicates with parameters and pages blocked by robots.txt.

### Is XML Sitemap Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

XML Sitemap Generator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Meta Tag Generator](https://toffeekit.com/tools/meta-tag-generator) — Title, description, Open Graph and Twitter tags with live length checks.
- [SERP Snippet Preview](https://toffeekit.com/tools/serp-snippet-preview) — See your page in Google results, cut off by real pixel width.
- [Open Graph Preview](https://toffeekit.com/tools/open-graph-preview) — Preview link cards on X, Facebook, LinkedIn, Slack, Discord, WhatsApp and more.
- [Schema Markup Generator](https://toffeekit.com/tools/schema-markup-generator) — Build JSON-LD for FAQ, Product, Article, LocalBusiness, Event and more.
- [Robots.txt Generator & Tester](https://toffeekit.com/tools/robots-txt-generator) — Build robots.txt rules, block AI crawlers and test any URL against them.
- [On-Page SEO Checker](https://toffeekit.com/tools/on-page-seo-checker) — Paste a page's HTML for a scored checklist of on-page SEO fixes.

