An XML sitemap is a roadmap for search engines. It lists the URLs you want indexed and provides signals about their importance and freshness.
An XML sitemap is a file that lists the URLs on your website that you want search engines to crawl and index. It helps search engines discover pages that might be hard to find through internal linking alone.
<?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-03-15</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-01-10</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>changefreq and priority. Focus on accurate lastmod dates instead.A single sitemap can contain up to 50,000 URLs and must be under 50MB (uncompressed). For larger sites, use a sitemap index file.
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-pages.xml</loc>
<lastmod>2026-03-15</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-blog.xml</loc>
<lastmod>2026-03-20</lastmod>
</sitemap>
</sitemapindex>Dr Urls validates your sitemap structure and checks every URL for errors. Try free.
Check your sitenoindex tagsThe lastmod tag is the most useful signal in your sitemap, but only if it is accurate.
YYYY-MM-DD or full W3C datetimehttps://www.google.com/ping?sitemap=URLsitemap.xml.gz)Run a comprehensive audit across SEO, security, performance, and accessibility. No sign-up required.
Check your website