Skip to content
toolstome

XML sitemap generator

Create a sitemap.xml for search engines from a list of your page URLs. Paste one URL per line, from your CMS, a spreadsheet or a crawl, and the tool builds a valid XML sitemap following the sitemaps.org protocol: special characters escaped, non-English paths percent-encoded, duplicates and #fragments removed, and invalid lines listed so you can fix them. Optionally add a last-modified date, change frequency and priority. Lists over 50,000 URLs are split into several files with a sitemap index, downloaded together as a ZIP.

Free · No sign-upProcessed in your browser

Google uses lastmod when accurate and ignores change frequency and priority.

Paste your page URLs to build the sitemap.

How to use the XML Sitemap Generator

  1. 1

    Paste your URLs

    One full URL per line, including https://.

  2. 2

    Add optional fields

    A last-modified date for all pages, change frequency or priority. Google ignores the last two.

  3. 3

    Check the summary

    See how many URLs were added, and fix any duplicates or invalid lines.

  4. 4

    Download and submit

    Upload sitemap.xml to your site and submit it in Google Search Console and Bing Webmaster Tools.

What makes a valid sitemap

Each sitemap file may contain up to 50,000 URLs and 50 MB uncompressed. URLs must be absolute, use the same host as the sitemap, and have &, <, >, quotes and apostrophes escaped as XML entities.

lastmod must be a W3C date such as 2025-01-31. Google uses lastmod when it is accurate but ignores changefreq and priority; other search engines may still read them.

When to use it

  • Create a sitemap for a small static or hand-built website.
  • Rebuild a sitemap after moving pages.
  • Split a very large URL list into valid sitemap files.

Limits

  • The tool does not crawl your site; you provide the URLs.
  • Use one sitemap per host: https://example.com and https://www.example.com are different sites.

Privacy

Your URL list is processed in your browser and never uploaded.

Frequently asked questions

Where do I upload sitemap.xml?

Usually at the root: https://yourdomain.com/sitemap.xml. Then add a Sitemap: line to robots.txt and submit it in Google Search Console.

Do I need changefreq and priority?

No. Google ignores both. lastmod is useful only if it is accurate.

How many URLs can a sitemap have?

Up to 50,000 per file. Bigger lists are split into several files with a sitemap index that points to them.

Why are some of my URLs invalid?

Each line must be a full http or https address, such as https://example.com/page. Relative paths like /page are not allowed in sitemaps.

Should I include every page?

Include the pages you want in search results: canonical, indexable pages. Leave out redirects, duplicates and noindex pages.

Does a sitemap guarantee indexing?

No. It helps search engines find your pages; they still decide what to index.

People also use

Last updated November 20, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More