🗺️ Sitemap Generator — Free Online
Generate a valid XML sitemap from a URL list, with 50,000-URL limits, lastmod dates and copy-ready output. Free, local and no signup.
Paste URLs, get a standards-compliant sitemap.xml ready to upload and submit to Search Console.
How to use sitemap generator
- Paste one URL per line.
- Generate.
- Download sitemap.xml.
What an XML sitemap does
A sitemap is a discovery aid: it tells crawlers which canonical URLs exist and when they last changed. It is not a ranking factor, and submitting one does not guarantee indexing. Search engines still decide what to crawl and index based on quality, links and technical health.
Sitemaps matter most for large sites, new sites, pages with few internal links, and content that changes often. For a 20-page site with clean navigation, a sitemap is still useful but rarely the limiting factor.
Sitemap limits you must respect
| Limit | Value |
|---|---|
| URLs per sitemap file | 50,000 |
| Uncompressed file size | 50 MB |
| Sitemaps per sitemap index | 50,000 |
| URL format | Absolute, same host, canonical |
| Supported encodings | UTF-8 recommended |
Split by section or language before you hit the limit; smaller sitemaps are easier to debug in Search Console.
A minimal valid sitemap
Only loc is required. lastmod is optional but useful when it is accurate. changefreq and priority are ignored by Google, so do not spend time tuning them. Every URL must return 200 and be indexable.
sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-11-15</lastmod>
</url>
<url>
<loc>https://example.com/about/</loc>
<lastmod>2026-10-01</lastmod>
</url>
</urlset>Sitemap index vs single sitemap
Above 50,000 URLs, or when you want separate files per language or section, use a sitemap index that points to child sitemaps.
sitemap-index.xml
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-pages.xml</loc>
<lastmod>2026-11-15</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-posts.xml</loc>
<lastmod>2026-11-10</lastmod>
</sitemap>
</sitemapindex>What not to include
- Pages with noindex, redirects, 404s or 5xx responses.
- Non-canonical duplicates and tracking-parameter URLs.
- URLs blocked by robots.txt — Search Console reports them as “blocked by robots.txt”.
- Hundreds of near-identical paginated pages with no unique content.
Validate and submit
- Open the generated XML in a browser and confirm it loads without errors.
- Check that every URL returns 200 and self-canonicalizes.
- Submit the file in Google Search Console → Indexing → Sitemaps.
- Add a Sitemap line to robots.txt: Sitemap: https://example.com/sitemap.xml.
- Run the IndexNow script after deploy if you use Bing or other IndexNow engines.
Robots.txt generatorCanonical URL generatorHreflang generatorSEO tools
Features
- XML-escaped output
- Spec-compliant structure
- Blank-line tolerant
- Download + copy
Privacy
This tool runs entirely in your browser. Your files and text stay on your device — nothing is uploaded, and nothing is sent to analytics. Privacy policy
How this tool is tested
This page is the real tool, not a screenshot: it runs locally in your browser and is verified in current Chrome, Edge, Firefox, and Safari before each release. Your input stays on your device for supported tasks.
By Mccowns.com team · Reviewed
Frequently asked questions
URL limits?
50,000 URLs / 50MB per sitemap file. This tool suits small sites; split larger ones.
Include images?
No — URL-only sitemaps. Image extensions need extra namespaces.
Then what?
Upload to domain root and submit in Google Search Console + reference in robots.txt.