Generate an XML Sitemap
Build an XML sitemap from a list of URLs.
How to use the XML Sitemap Generator
Paste your URLs
Add one absolute URL per line, including the https:// prefix and your domain.
Generate the sitemap
The URLs are wrapped in valid sitemap XML with the correct namespace and escaping.
Publish and submit it
Save the file as sitemap.xml at your site root, reference it in robots.txt, then submit it in Google Search Console.
About the XML Sitemap Generator
A sitemap is a list of the URLs you want search engines to know about. It does not guarantee indexing, but it removes the excuse of not having found a page — which matters most for exactly the pages that are hardest to discover: new ones, deeply nested ones, and anything not linked from a prominent navigation.
The format is strict. Every URL must be absolute, properly XML-escaped, and inside the right element structure, or the whole file is rejected rather than partially accepted. Hand-writing one is tedious and easy to break with a single ampersand in a query string, which is why this tool exists: paste your URLs and get a valid file back.
It is most useful for sites that do not generate one automatically — a static site, a hand-built set of pages, or a section of a larger site that the main sitemap misses. Once you have the file, upload it to your site root, reference it from robots.txt and submit it in Google Search Console. The Coverage report there is the part that pays off: it tells you which submitted URLs were indexed and, more usefully, which were not and why.
Frequently asked questions
- What is an XML sitemap for?
- It lists the URLs you want search engines to know about, which helps them discover pages that are new or not well linked internally.
- Where should the sitemap file go?
- Usually at yoursite.com/sitemap.xml. Reference it from robots.txt and submit it in Google Search Console.
- Does a sitemap guarantee my pages get indexed?
- No. It helps pages be found, but indexing still depends on whether the content is judged worth including.