XML Sitemap Generator

100% private — runs on your device, never uploaded. Works offline once loaded.

Turn a plain list of URLs into a valid XML sitemap that search engines can crawl. Set default change frequency, priority, and last-modified values, then copy or download sitemap.xml.

What an XML sitemap is for

An XML sitemap is a simple file that lists the URLs on your site you want search engines to know about. It does not force anything to be indexed, but it helps crawlers discover pages efficiently, especially on large sites, new sites with few inbound links, or sites with pages that are not well connected by internal links.

The format is defined by the sitemaps.org protocol: a root element wrapping one entry per page, each containing a with the page URL and optional , , and children. This tool produces exactly that structure, correctly escaped and ready to serve.

The fields, and which ones actually matter

Not every field carries equal weight. Understanding what each does helps you build a lean, honest sitemap rather than one padded with noise.

  • loc — the full, canonical URL of the page. Required. Always use absolute https URLs.
  • lastmod — the date the page's content last meaningfully changed (YYYY-MM-DD). The most trusted field; keep it accurate.
  • changefreq — a hint about how often the page changes (daily, weekly, and so on). Largely ignored by Google today.
  • priority — a relative importance from 0.0 to 1.0. Also largely ignored, and only relative within your own site.

How this generator builds the file

Paste one URL per line and the tool assembles a valid urlset. Blank lines are ignored and exact duplicates are removed automatically so the same page is never listed twice. If you paste a bare domain or path without a scheme, it is prefixed with https:// so every is a complete URL.

Special characters in URLs are XML-escaped (ampersands become &, and so on) because raw ampersands and angle brackets would make the file invalid. The defaults you choose for change frequency, priority, and last-modified are applied to every URL, and any field you leave set to none is simply omitted, keeping the output minimal.

After you generate it: limits and submission

Save the output as sitemap.xml and upload it to your site, conventionally at the root such as https://example.com/sitemap.xml. Add a Sitemap: line pointing to it in your robots.txt, then submit the URL in Google Search Console and Bing Webmaster Tools so the crawlers pick it up promptly.

Keep the protocol limits in mind: one file may hold at most 50,000 URLs and 50MB uncompressed. If you exceed either, break the list into several sitemaps and list them in a sitemap index file. Regenerate the sitemap when you add or remove pages, and keep lastmod values truthful so search engines learn to trust them.

Frequently asked questions

Does a sitemap guarantee my pages get indexed?

No. A sitemap helps search engines discover URLs, but indexing is decided separately based on quality, crawlability, and other signals. It improves discovery, not ranking.

Should I include every URL on my site?

Include only canonical, indexable pages that return a 200 status. Leave out redirects, error pages, noindex pages, and non-canonical duplicates, which only waste crawl budget and dilute the sitemap's value.

What date format does lastmod use?

The W3C date format, most commonly YYYY-MM-DD. The date picker in this tool produces that format automatically and applies it to every URL as the default.

Why were some of my lines dropped?

Blank lines are skipped and exact duplicate URLs are removed so each page appears only once. Check for accidental duplicates if your count is lower than expected.

Can I submit more than one sitemap?

Yes. Large sites split URLs across multiple sitemap files and list them all in a sitemap index. You can also submit several sitemaps directly in Search Console.

Is my URL list uploaded anywhere?

No. The sitemap is generated entirely in your browser. Your URLs are never sent to or stored on any server.

Advertisement