Generate an XML sitemap from a list of URLs.
<?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-28</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-09-28</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-09-28</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
It's a list of your site's URLs that helps search engines discover and understand your pages, especially ones that might be hard to find through links alone.
Not really — Google has said it largely ignores the priority and changefreq fields for ranking. They're still useful as a hint for how often a page changes, but don't expect them to affect search rankings.
At your site's root, e.g. https://example.com/sitemap.xml, and reference it in your robots.txt file so crawlers can find it automatically.