Create a valid XML sitemap from a list of URLs. Add lastmod, changefreq and automatic priority, remove duplicates, escape special characters and check for problems.
Free, no sign-up
Runs in your browser
Your data stays private
How to use the XML Sitemap Generator
Paste your URLs, one per line.
Choose lastmod, changefreq and priority settings.
Copy or download sitemap.xml and upload it to your site root.
Why use this XML Sitemap Generator
Valid outputFollows the sitemap protocol and escapes & and other special characters.
Automatic priorityGives the home page 1.0 and shallower pages higher priority.
Problem checkFlags duplicates, invalid URLs, mixed hosts and the 50,000 URL limit.
Optional fieldslastmod, changefreq and priority are all optional.
Frequently asked questions
How do I create a sitemap?
Paste your URLs, copy the XML, save it as sitemap.xml and upload it to your site root.
Does Google use priority and changefreq?
No. Google ignores both, but lastmod is useful when it is accurate. Other search engines may still read them.
How do I tell search engines about the sitemap?
Add a Sitemap: line to robots.txt and submit it in Google Search Console.