Free SEO Tool

XML Sitemap Generator & Validator

Create XML sitemaps for better search engine indexing. Add URLs with priority, change frequency, and last modified dates — all for free.

URL Entries(1 URLs)

Live Preview

sitemap.xml8 lines
1<?xml version="1.0" encoding="UTF-8"?>
2<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3 <url>
4 <loc>https://www.example.com/</loc>
5 <changefreq>weekly</changefreq>
6 <priority>1.0</priority>
7 </url>
8</urlset>

How to Use This Sitemap Generator

  1. Add your URLs. Enter the URLs you want to include in your sitemap. Use the "Bulk Add URLs" feature to paste multiple URLs at once — one per line.
  2. Set priority and frequency. For each URL, set the priority (0.0-1.0) to indicate its relative importance, and the change frequency to tell search engines how often the page is updated.
  3. Add last modified dates (optional). If you know when a page was last updated, add the date to help search engines understand your content freshness.
  4. Copy or download. Use the live preview on the right to review your sitemap in real time. When you're happy, click Copy or Download and upload the file to your website's root directory.
  5. Submit to search engines. Add your sitemap URL to your robots.txt file and submit it to Google Search Console and Bing Webmaster Tools for faster indexing.

Why Your Website Needs a Sitemap

While search engines are sophisticated at discovering pages, a sitemap makes their job easier and ensures no important content is missed. Think of it as a roadmap for crawlers — it tells them exactly where to find your content and provides useful metadata about each page.

Sitemaps are particularly valuable for:

  • New websites with few external backlinks that crawlers might not discover naturally
  • Large websites with thousands of pages where some content might be buried deep in the site structure
  • Sites with rich media including images, videos, and news content that benefit from specialised sitemaps
  • E-commerce sites with many product pages that are frequently updated

Sitemap Best Practices

To get the most out of your sitemap, follow these best practices:

  • Keep it updated. Regenerate your sitemap whenever you add, remove, or significantly update pages. Many CMS platforms do this automatically.
  • Use consistent URLs. Make sure the URLs in your sitemap match your canonical URLs exactly — including trailing slashes and www/non-www preferences.
  • Reference it in robots.txt. Add a Sitemap directive to your robots.txt file pointing to your sitemap URL.
  • Submit to search engines. Manually submit your sitemap to Google Search Console and Bing Webmaster Tools after uploading it.
  • Use HTTPS URLs. If your site uses HTTPS (which it should), make sure all sitemap URLs use HTTPS as well.

Frequently Asked Questions

An XML sitemap is a file that lists all the important pages on your website, helping search engines like Google discover and crawl your content more efficiently. It includes information about each URL such as when it was last updated, how often it changes, and its relative priority compared to other pages on your site.
Free consultation

Need Technical SEO Help?

Our SEO experts can create comprehensive sitemaps, fix crawl issues, and optimise your site for search engines.

30-day money-back+44 7471 487274No contracts