← All Tools

XML Sitemap Compiler🔒 100% local

Generate sitemaps. Privacy-first, no server uploads, no tracking.

XML Sitemap Compiler: related tools

API ClientAPI Key RedactorAspect Ratio Scaler

XML Sitemap Compiler turns a base URL plus a list of paths into the body of a sitemap.xml file. The first entry must be an absolute URL and supplies the origin; every following entry, split on commas or new lines, becomes a <loc> under that origin. Duplicate paths are dropped, each <loc> gets today's date as <lastmod>, and <priority> is derived from how deep the path is.

XML Sitemap Compiler: how to use it

  1. Put the site's absolute base URL first, for example https://example.com.
  2. Add the page paths after it, separated by commas or on separate lines.
  3. Press Process, then copy everything from the XML declaration to </urlset> into sitemap.xml.

XML Sitemap Compiler: worked example

https://example.com, /page1, /page2becomesCompiled sitemap with 2 URLs (priority by depth: home 1.0, depth-2 0.6…). <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://example.com/page1</loc> <lastmod>2026-09-27</lastmod> <priority>1.0</priority> </url> <url> <loc>https://example.com/page2</loc> <lastmod>2026-09-27</lastmod> <priority>1.0</priority> </url> </urlset> Steps: save as sitemap.xml in your site root → add to robots.txt: "Sitemap: https://example.com/sitemap.xml" → submit in Search Console.

Every lastmod is the date you generated the file, so the output changes from one day to the next.

XML Sitemap Compiler: when to use it

XML Sitemap Compiler: what it does not do