๐บ๏ธ Sitemap Generator
Enter a list of URLs, one per line, to generate an XML sitemap (sitemap.xml) conforming to the sitemaps.org protocol. You can also set the change frequency and priority for each entry.
How to use
- Enter the URLs you want in the sitemap, one per line.
- Set the change frequency (changefreq) and priority.
- Copy the generated XML, save it as sitemap.xml, and upload it to your server.
How the calculation works
An XML sitemap tells search engines which pages a site has, following the sitemaps.org protocol (version 0.9). Enter one URL per line and this tool builds the sitemap XML. โข <loc>: the page URL (characters such as & and < are escaped for XML) โข <lastmod>: last modified date (when enabled, today's date in YYYY-MM-DD form) โข <changefreq>: how often it changes (always to never) โข <priority>: relative importance within the site (0.0โ1.0) Upload the result as sitemap.xml and either add "Sitemap: https://example.com/sitemap.xml" to robots.txt or submit it in Google Search Console.
Worked example
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://example.com/</loc> <lastmod>2026-09-19</lastmod> <changefreq>weekly</changefreq> <priority>0.5</priority> </url> โฆ </urlset>
Things to be aware of
- Google has said it ignores changefreq and priority. It uses lastmod when it reliably reflects when the content really changed.
- A single sitemap can hold up to 50,000 URLs and 50 MB uncompressed. Beyond that, split it and list the parts in a sitemap index.
- Write full URLs starting with https://, matching the canonical URLs your pages actually use.
FAQ
Are changefreq and priority required?
No, both are optional elements under the sitemap protocol. Search engines treat them only as hints โ the priority value doesn't guarantee crawl ranking.
Where does the lastmod date come from?
It's automatically set to the date you opened this tool. You may want to edit it after generating to match each page's actual last-modified date.
Is there a limit to how many URLs one sitemap.xml can hold?
Per the sitemap protocol spec, a single sitemap file can hold up to 50,000 URLs and must be no larger than 50MB uncompressed. Larger sites use a sitemap index file to split entries across multiple files.