XML Sitemap Builder

Build an XML sitemap with clean loc, lastmod, changefreq, and priority tags so search engines can discover and index your pages more efficiently.

URLs in sitemap
1
Formatting
Pretty XML
AD SLOT #1 (TOP) — high‑visibility banner for SEO and analytics platforms.
sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <url>
    <loc>https://example.com/</loc>
    <lastmod>2025-12-21</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
</urlset>

Save this as sitemap.xml in your site root (for example, https://example.com/sitemap.xml) and submit it in Google Search Console.

XML sitemap best practices

Sitemaps list canonical URLs you want indexed, not every URL on your server. Keep them clean, updated, and within the XML sitemap protocol limits for best SEO impact.[web:782][web:784][web:781]

  • Include only canonical, indexable URLs without tracking parameters.[web:781][web:787]
  • Keep sitemap files under the 50,000 URL and 50 MB limits, splitting into multiple sitemaps if needed.[web:782][web:778]
  • Update lastmod when pages change and resubmit sitemaps after large updates.[web:785][web:790]
AD SLOT #2 (IN‑CONTENT) — ideal for crawl, audit, and monitoring tools.

What an XML sitemap should contain

Valid XML sitemaps wrap all URLs in a urlset root element and provide loc tags for each page, with optional lastmod, changefreq, and priority tags.[web:782][web:779][web:785]

How sitemaps help SEO

  • Help search engines discover deep or newly created pages that internal links might miss.[web:787][web:790]
  • Communicate freshness and relative importance of URLs through lastmod and priority hints.[web:784][web:781]
  • Provide a central list of URLs to monitor in coverage reports and error dashboards.[web:777][web:792]
AD SLOT #3 (BOTTOM) — strong placement for advanced SEO and cloud tooling.