How to use the XML Sitemap Generator
- 1Paste your page URLs, one per line.
- 2Set optional change frequency and priority.
- 3Download sitemap.xml and submit it in Google Search Console.
About the XML Sitemap Generator
An XML sitemap helps search engines discover the pages you consider important, especially on new sites, large sites or sites with weak internal linking.
Paste your URLs, one per line, and this tool validates them, removes duplicates and produces a sitemap that follows the sitemaps.org protocol.
When to use the XML Sitemap Generator
Publishing a small site's first sitemap
For a small site with a known set of pages, paste the complete URLs to generate an XML sitemap without crawling the website. Review the valid URL count and any rejected entries before downloading. Include only preferred pages that you want discovered, rather than every address available in your navigation or content system.
Cleaning an exported page inventory
A copied URL list may contain repeated addresses or malformed entries. Run it through the generator to remove duplicate parsed URLs and identify invalid inputs. Then review the remaining list yourself: passing URL validation means an address has an accepted format, not that its page exists, is indexable, or returns a successful response.
Updating URLs after a site migration
After moving a site, build a sitemap from the preferred destination URLs rather than old redirecting addresses. Check the scheme, host, and paths before generating the file. The tool can format the list into XML, but you still need to verify that each destination serves the intended content and agrees with its canonical URL.
Tips and best practices
- Include absolute HTTP or HTTPS URLs for canonical, indexable pages. Leave out redirects, missing pages, and URLs blocked from indexing; the generator does not request pages to detect those conditions.
- The lastmod toggle assigns today's date to every included URL. Disable it unless that date accurately represents meaningful changes to all listed pages; the tool does not inspect modification history.
- Keep one preferred host and protocol in a normal sitemap. Automatic duplicate removal does not decide whether HTTP, HTTPS, www, or parameter variants represent the same content.
- Check the generated file after correcting invalid entries. URL syntax validation and XML escaping help with formatting, but neither confirms that search engines will crawl or index the listed pages.