Sitemap Generator

Turn a list of URLs into a valid XML sitemap with lastmod, changefreq and priority.

sitemap.xml

        

How to use the Sitemap Generator

  1. Paste your page URLs, one per line. Invalid lines and duplicates are skipped automatically.
  2. Choose whether to include lastmod, changefreq and priority values.
  3. Download sitemap.xml, upload it to your site root and submit it in Google Search Console.

About this tool

This sitemap generator builds an XML sitemap: a list of the pages you want search engines to discover, along with optional hints about when each was last changed. Submitting one in Google Search Console and Bing Webmaster Tools helps new and deep pages get found faster.

Paste the URLs of your site (one per line) and this generator validates them, removes duplicates and URLs from other domains, escapes special characters correctly and produces a standards-compliant sitemap.xml. You can stamp every URL with today's date as lastmod, and optionally add changefreq and priority values.

Frequently asked questions

A single sitemap file can list up to 50,000 URLs and must be no larger than 50 MB uncompressed. Larger sites split URLs across several sitemaps and list them in a sitemap index file.

Google says it ignores changefreq and priority. An accurate lastmod date is the most useful hint, so only update it when the page content really changes.

Only canonical, indexable pages that return a 200 status. Leave out redirects, error pages, noindex pages and URLs with tracking parameters.

Upload sitemap.xml to the root of your site, add a Sitemap: line to robots.txt, then open Google Search Console, choose Sitemaps and enter the URL. The sitemap generator creates a file that follows the sitemaps.org protocol, so Bing Webmaster Tools accepts the same file.