XML sitemap from a list of URLs
Paste the addresses, choose whether to add a date, and download a sitemap that follows the protocol to the letter.
Make a sitemap
A clean list makes a useful sitemap
Do not have a tidy list?
Run the crawler instead. It follows every link on your site and builds the sitemap from the pages that answer 200, are not noindexed and are their own canonical, so redirects and duplicates never end up in it.
Building a sitemap for a site in several languages? The hreflang builder makes one with the language alternates included.
Questions
Sitemap questions
How many URLs can one sitemap hold?
The sitemap protocol allows 50,000 URLs or 50 MB per file. Larger lists are split into several files automatically, with a sitemap index that lists them all, which is the one you submit to search engines.
Should I include lastmod?
Only if the date is accurate. Google uses lastmod when it is consistently right and ignores it when every page claims to change every day. If you are not sure, leave it out.
Which pages belong in a sitemap?
Pages that answer 200, can be indexed and are the canonical version of themselves. Leave out redirects, error pages, noindexed pages and duplicates. The crawler builds a sitemap with exactly those pages if you would rather not sort the list yourself.
Where does the sitemap go?
Upload it to the root of the website, add a Sitemap line to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.