Guide
Turning a list of addresses into a valid XML sitemap
A sitemap is a plain list of the pages you want search engines to know about. It does not make pages rank, but it helps crawlers find new or poorly linked pages and tells them when a page last changed. Many content management systems write one automatically. When yours does not, or when you build a static site by hand, you need a file that follows the format exactly. This generator takes a pasted list of addresses and prints that file.
The format
The sitemaps.org protocol describes an XML document whose root is urlset. Each page is a url element with a required loc, which must be a full address starting with http or https, and three optional children: lastmod, changefreq and priority. The tool writes the XML declaration, the namespace and one url block per page, in the order you pasted them, and it escapes characters that XML reserves, such as the ampersand in a query string.
Entering addresses
Put one address on each line. To give a page its own values, add them after bars in the order lastmod, changefreq, priority, for example https://shop.example/running-shoes | 2026-11-02 | weekly | 0.9. Below the list you can set a default lastmod, changefreq and priority, and those defaults fill only the lines that have no value of their own. The changefreq menu offers the standard words, from always to never, and you can leave it out.
Which fields help
Google has said it ignores changefreq and priority, and that it uses lastmod only when the dates prove accurate over time. For that reason a lean sitemap with correct addresses and honest dates is better than one stuffed with guesses. The tool keeps the extras optional and reminds you of this in a note under the result.
Problems it reports
Lines that are not full addresses, such as a relative path or plain text, are skipped, and the count of skipped lines appears in the result with a warning that names the first few. A list of more than 50,000 addresses gets an error, because the protocol allows 50,000 addresses and 50 MB per file; for a bigger site, split the list into several files yourself and list them in a sitemap index.
A worked example
The sample list has four lines. The first, https://shop.example/, has no extras. The second, the running shoes page, carries 2026-11-02, weekly and 0.9. The third, a blog post, has only the date 2026-10-12. The fourth, the contact page, has nothing. The tool prints a file with four url blocks, and the result shows 4 addresses, 0.5 KB and 0 lines skipped. Setting a default lastmod would add a date to the first and fourth blocks but would leave the other two untouched.
Limits
The tool formats what you paste. It never visits your site, so it cannot discover pages you forgot, check that an address returns a page or find duplicates that differ only slightly. It does not write sitemap indexes or image, video and news extensions. Check the final file in a browser and in Search Console after you submit it.
Related tools
- robots.txt Generator and Tester writes the Sitemap line that points crawlers to this file.
- Sitemap to CSV Extractor turns an existing sitemap back into a table for auditing.
- Hreflang Tag Generator can output the language entries used inside a sitemap.
- Canonical Tag Generator helps you choose the single address to list for each page.
Checked against the current version of the XML Sitemap Generator on .

