XML Sitemap Generator
Paste a list of URLs, get a valid sitemap.xml. Duplicates are removed, special characters are escaped, and lists over 50,000 URLs are split for you.
What the generator checks
- Absolute URLs only. A sitemap entry must include the scheme and host. Lines like
/aboutare skipped and listed so you can fix them. - Duplicates. Each URL is written once. Fragments (
#section) are dropped, because they never reach the server. - XML escaping. An ampersand in a query string has to be written as
&. One raw&makes the whole file unreadable for parsers. - Mixed hosts. You get a warning when the list contains more than one host, including
wwwand non-www or http and https variants. - Size limits. 50,000 URLs and 50 MB per file. Larger lists become
sitemap-1.xml,sitemap-2.xmland so on, plus asitemap-index.xmlthat points at them.
Which URLs belong in a sitemap
List the canonical version of every page you want in search results, and nothing else. Leave out redirects, 404s, pages with noindex, and parameter variants that canonicalise to another URL. A sitemap full of URLs that Google cannot index makes the useful entries harder to trust. You can test single pages with the indexability checker and clean a messy export with the URL list cleaner.
After the upload
Check the live file with the sitemap validator, reference it in robots.txt (the robots.txt generator adds the line for you) and submit it in Search Console. A sitemap helps Google discover URLs. It does not force indexing.
If you want new sitemap entries submitted to Google every day without manual work, connect the site to TurboIndex.
Questions and answers
Does this tool crawl my website?
No. It converts a list of URLs you already have into the sitemap format. Export the list from your CMS, your database or a crawler, paste it here and download the file. Everything runs in your browser, so the list never leaves your computer.
How many URLs fit in one sitemap?
The sitemap protocol allows 50,000 URLs and 50 MB uncompressed per file. Longer lists have to be split into several files that are tied together by a sitemap index. The generator does this automatically.
Should I add lastmod, changefreq and priority?
Google ignores changefreq and priority, so this tool leaves them out. lastmod is used when it is consistently accurate. If you cannot provide the real modification date per page, it is better to leave lastmod out than to stamp every URL with today's date on each export.
Where do I upload the file?
Put it in the root folder of the site, such as https://yoursite.com/sitemap.xml, add a Sitemap: line to robots.txt and submit it under Sitemaps in Google Search Console. A sitemap can only list URLs from its own folder and below.