SEO Tools

XML Sitemap Generator

Turn a list of page addresses into a valid XML sitemap for Google, Bing and other search engines. Duplicates and invalid URLs are removed and special characters are escaped automatically.

Create a Sitemap

Paste one full URL per line, choose the optional tags and download sitemap.xml.

How to Create and Submit a Sitemap

  1. Paste the full addresses of the pages you want search engines to find, one per line.
  2. Choose whether to include the last-modified date, change frequency and priority.
  3. Download sitemap.xml and upload it to the root of your website.
  4. Add a Sitemap: line to your robots.txt (the Robots.txt Generator can do this) and submit the sitemap in Google Search Console under Sitemaps.

Which Pages Should Be in a Sitemap?

  • Include pages you want to appear in search: your homepage, main sections, products, tools and articles.
  • Leave out pages marked noindex, redirects, error pages, duplicate versions, login and cart pages, and internal search results.
  • Use one consistent version of each URL, with or without www and with or without a trailing slash, matching your canonical tags.

Do lastmod, changefreq and priority Matter?

Google uses lastmod when it is accurate, so only include it if the date reflects real content changes. Google ignores changefreq and priority, although some other search engines may read them. A sitemap helps search engines discover pages; it does not guarantee they will be indexed or ranked.

Limits

One sitemap can contain up to 50,000 URLs and 50 MB uncompressed. Larger sites should split URLs across several sitemaps and list them in a sitemap index file. Most content management systems, including WordPress with Yoast or Rank Math, generate sitemaps automatically; this tool is ideal for static sites, small business websites and custom-built sites.

Frequently Asked Questions

Where should I upload sitemap.xml?

Upload it to the root of your domain so it is available at https://yourdomain.com/sitemap.xml, then submit that address in Google Search Console.

How many URLs can a sitemap contain?

Up to 50,000 URLs or 50 MB uncompressed. Use multiple sitemaps and a sitemap index for larger sites.

Does a sitemap improve rankings?

No. It helps search engines find your pages faster, especially on new sites with few links, but rankings depend on content quality and relevance.

Why were some of my URLs skipped?

Each line must be a complete address starting with http:// or https://. Duplicate URLs are also removed automatically.