XML Sitemap Generator
Turn a list of URLs into a valid XML sitemap with lastmod and optional fields.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.
How to use the xml sitemap generator
- Paste your URLs, one per line.
- Set a last-modified date if you have one.
- Download sitemap.xml and reference it from robots.txt.
About this tool
A sitemap lists the pages you want search engines to know about. It does not guarantee indexing — it makes discovery reliable, which matters most for large sites, new sites and pages that are not well linked internally.
Two fields are widely misused. Google ignores <code>priority</code> and <code>changefreq</code> entirely, so setting everything to 1.0 and 'daily' achieves nothing. What matters is that the URLs are canonical, indexable and genuinely yours, and that <code>lastmod</code> is honest.
Duplicates are removed and invalid lines are reported rather than silently dropped, because a sitemap that quietly loses URLs is worse than one that complains.
Common uses
- Creating a sitemap for a small site by hand.
- Turning a crawl export into a submittable sitemap.
- Listing a set of new pages for faster discovery.
Frequently asked questions
- Do priority and changefreq help?
- Not with Google, which ignores both. Other crawlers may read them. Accurate URLs and lastmod are what count.
- How many URLs can one sitemap hold?
- 50,000 URLs or 50 MB uncompressed. Beyond that, split it and use a sitemap index.
- Does a sitemap guarantee indexing?
- No. It aids discovery. Whether a page is indexed depends on its quality and the site's overall standing.
Related tools
Robots.txt Generator
Build a robots.txt file, including an optional opt-out for AI training crawlers.
Meta Tag Generator
Generate title, description, canonical, Open Graph and Twitter Card tags with live length checks.
URL Parser
Break any URL into protocol, host, port, path, query parameters and fragment.
CSV to JSON
Convert CSV into an array of JSON objects, with delimiter detection and optional typing.