Sitemap Generator

Paste the URLs you want indexed, one per line, choose a change frequency and priority, and the generator wraps them in a valid sitemap.xml that follows the sitemaps.org 0.9 schema. It formats the URLs you give it, it does not crawl or discover pages for you, so you decide exactly what goes in. Lines that are not valid URLs are skipped, and the result is ready to copy, save as sitemap.xml and submit.

How the generator builds your sitemap

  1. 1

    Paste your URLs

    One full URL per line, including `https://`. Blank lines and anything that is not a valid URL are ignored.

  2. 2

    Set change frequency and priority

    Pick a `changefreq` (always to never) and a `priority` from 0.0 to 1.0. The same values are applied to every URL in the list.

  3. 3

    Choose whether to include lastmod

    When ticked, each entry gets a `<lastmod>` set to today (the generation date). Untick it if you would rather add real modification dates yourself.

  4. 4

    Generate and copy

    You get the full `<urlset>` XML. Copy it, save it as `sitemap.xml` in your site root and submit it.

What the generator outputs

With two URLs, weekly frequency, priority 0.8 and lastmod enabled, you get:

<?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-04-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/pricing</loc>
    <lastmod>2026-04-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Every entry shares the same changefreq, priority and lastmod. If you need different values or true last-modified dates per URL, edit the XML after generating, or run the tool once per group of pages.

Sitemap limits worth knowing

These are the sitemaps.org limits every sitemap must respect. This tool builds a single file, so keep your list within them:

Limit Value
URLs per sitemap file 50,000
Uncompressed size per file 50 MB
Sitemaps per index file 50,000

Past 50,000 URLs, split your list into several sitemaps and reference them from a <sitemapindex> file. Google and Bing both accept compressed .gz sitemaps.

What to include

  • Canonical URLs only, no query-string-variant duplicates.
  • URLs that return 200, not 404 or 5xx.
  • Indexable pages you want in search results.
  • The same hostname and protocol you host the sitemap on (no cross-domain entries).

What to leave out

  • Search result pages (/search?q=...).
  • Login and account pages.
  • Thin filter-combination pages (facet navigation with dozens of near-duplicates).
  • Pages you have set to noindex.

After generating

  1. Save the output as sitemap.xml in your site root.
  2. Add Sitemap: https://example.com/sitemap.xml to your robots.txt.
  3. Submit it in Google Search Console under Sitemaps.
  4. Regenerate and resubmit whenever you add or change a batch of URLs.

Frequently Asked Questions

No. It formats the URLs you paste into valid sitemap XML. You supply the list, which means you control exactly which pages are included and nothing is fetched from your server.

Google uses lastmod as a recrawl hint only when it is accurate, and ignores misleading values. Google has said it ignores priority and changefreq entirely; Bing still weighs them. Because this tool sets lastmod to the generation date for every URL, untick it or edit the dates if you need them to reflect real changes.

A single sitemap file is capped at 50,000 URLs. Generate several sitemaps, each within the limit, and list them in a <sitemapindex> file that you submit to Search Console. This tool builds one <urlset> at a time, so you would run it once per group and combine them.

No, only the pages you want indexed. Leaving a page out of the sitemap does not hide it from Google, but including it is a clear signal that you consider it canonical content worth crawling.

Related Tools

Tool available in other languages