Skip to content
toolgrid

No tool found. Try another word.

XML Sitemap Generator

Paste a list of URLs and get a valid sitemap.xml with optional lastmod, changefreq and priority. Duplicates and invalid lines are removed.

URLs in the sitemap · lines skipped (not a URL):

sitemap.xml

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the XML Sitemap Generator

  1. 1 Paste the URLs of your pages, one per line.
  2. 2 Optionally set the last modified date, change frequency and priority.
  3. 3 Download sitemap.xml, upload it to your site and add it to robots.txt and Google Search Console.

About the XML Sitemap Generator

An XML sitemap lists the pages of a website so search engines can find and crawl them, including pages that are hard to reach through links. It is especially useful for new sites, large sites and pages that change often.

This generator turns a plain list of URLs into a sitemap in the sitemaps.org format that Google, Bing and others read. Every line that is not an http or https URL is skipped, duplicates are removed and characters such as & are escaped. lastmod (in YYYY-MM-DD format), changefreq and priority are applied to all URLs when you set them.

Google mainly uses lastmod when it is accurate and ignores changefreq and priority, so only add a date when you know it. A sitemap can hold up to 50,000 URLs and 50 MB; split larger sites into several sitemaps with a sitemap index. Most CMSs generate sitemaps automatically; this tool is handy for static sites and quick lists.

Frequently asked questions

Where do I put the sitemap?

Usually at https://www.example.com/sitemap.xml. Add a "Sitemap:" line to robots.txt and submit it in Google Search Console.

Does a sitemap improve rankings?

Not directly. It helps search engines discover and crawl your pages, which is a precondition for appearing in results.

Should I set priority and changefreq?

You can, but Google ignores both. An accurate lastmod date is more useful.

How many URLs can a sitemap contain?

Up to 50,000 URLs and 50 MB uncompressed. Use a sitemap index for more.