The format is defined at sitemaps.org. One file can hold up to 50,000 URLs and 50 MB uncompressed. Larger sites split URLs into several files and list them in a sitemap index.
Example
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/guides/llms-txt/</loc>
<lastmod>2026-11-06</lastmod>
</url>
</urlset>
What search engines use
Google uses <loc> and uses <lastmod> when it is consistently accurate. It ignores <priority> and <changefreq>. Bing also values accurate lastmod and supports IndexNow for push notifications of changes.
Why it matters
Sitemaps help engines find pages that internal links reach poorly, such as new products or deep archive pages. They also give you a clean list to compare against what is actually indexed, per sitemap, in Search Console.
Submitting
Add a Sitemap: line to robots.txt and submit the file in Google Search Console and Bing Webmaster Tools.
Common mistakes
- Listing URLs that redirect, return 404, carry
noindexor canonicalize elsewhere. Only list canonical, indexable 200 URLs. - Setting
lastmodto the build time on every deploy. Engines learn to ignore it. - One giant sitemap for everything. Split by template (products, categories, articles) so you can see indexing rates per type.
- A sitemap generated by a plugin that nobody checks after a migration.
How Renderly handles it
We generate sitemaps from the same data as the pages, with real modification dates. See our technical SEO service.