Sitemap Generator — Create XML Sitemap Online

Free sitemap generator online. Create and generate an XML sitemap for your website to help Google and search engines discover and index all your pages.

Paste URLs — One Per Line

https:// added automatically if missing

0 URLs

How to Use

Choose a method: paste URLs manually or use Auto-Fetch to crawl your site and discover up to 50 pages automatically.

Set change frequency, priority, and last modified date. Click Generate Sitemap.

Copy or download the XML. Upload it to your website root as sitemap.xml. Add it to robots.txt and submit in Google Search Console.

What is a Sitemap Generator?

A sitemap generator creates an XML sitemap file listing all important pages on your website. Search engines like Google and Bing use this file to discover, crawl, and index your pages more efficiently. Our free tool can auto-crawl your site to find pages or accept bulk URL paste — no sign-up required.

Complete Guide to XML Sitemaps

How XML Sitemaps Work

An XML sitemap is a structured file that tells search engines about the pages on your website. It follows a standardized format defined at sitemaps.org. When Google or Bing crawls your site, it checks for a sitemap at /sitemap.xml and uses it as a roadmap to discover all your pages — especially pages that might not be reachable through internal links alone. Each URL entry can include metadata like last modification date, change frequency, and relative priority.

How to Create a Sitemap

Auto-Fetch (recommended): Enter your domain in the Auto-Fetch tab. Our crawler visits your homepage, follows internal links, and discovers up to 50 pages automatically. This is the fastest way to generate a sitemap without manually listing every URL.

Manual paste: If you know all your URLs, paste them one per line in the Paste URLs tab. Useful when you have a specific list of pages you want indexed or when auto-fetch can't reach all pages.

Where to Upload Your Sitemap

Step 1: Download or copy the generated sitemap.xml file.

Step 2: Upload it to your website's root directory so it's accessible at yoursite.com/sitemap.xml.

Step 3: Add this line to your robots.txt file: Sitemap: https://yoursite.com/sitemap.xml

Step 4: Submit it in Google Search Console under Sitemaps → Add a new sitemap. Also submit in Bing Webmaster Tools for Bing coverage.

Priority and Change Frequency Explained

Priority (0.0–1.0): Tells search engines which pages are most important relative to other pages on YOUR site. Homepage = 1.0, main pages = 0.8, blog posts = 0.6, archive/tag pages = 0.3. This does not affect your ranking vs other websites.

Change Frequency: A hint about how often a page changes. Use "daily" for news/blog, "weekly" for product pages, "monthly" for about/contact, "yearly" for legal pages. Google largely ignores this value but Bing may use it for crawl scheduling.

How to Validate Your Sitemap

Use the Validate tab above to check if an existing sitemap is properly formatted. Our validator checks that the URL is accessible, the XML parses correctly, the root element is a valid urlset or sitemapindex, and counts all URL entries. You can also validate your sitemap in Google Search Console after submitting — it will report any errors like unreachable URLs or invalid XML.

Sitemap Best Practices

Only include indexable pages: Don't add pages with noindex tags, redirected pages, or error pages. Every URL in your sitemap should return a 200 status code.

Keep it updated: Update your sitemap whenever you add, remove, or significantly change pages. Stale sitemaps can lead to crawl errors.

Use canonical URLs: Each URL in the sitemap should match the canonical version of that page (with or without www, with or without trailing slash — be consistent).

Max 50,000 URLs per file: If your site has more than 50,000 pages, split into multiple sitemap files and use a sitemap index file to reference them all.

Frequently Asked Questions

What is an XML sitemap?
An XML sitemap is a file that lists all important URLs on your website so search engines like Google and Bing can discover, crawl, and index them more efficiently. It follows a standardized XML format defined at sitemaps.org.
Where should I upload my sitemap?
Upload sitemap.xml to the root of your website (e.g. example.com/sitemap.xml). Then add a Sitemap directive to your robots.txt file and submit it in Google Search Console under Sitemaps. Both steps help search engines find it faster.
How many URLs can a sitemap have?
A single XML sitemap can contain up to 50,000 URLs and must be under 50MB uncompressed. For larger sites, create a sitemap index file that references multiple sitemap files. Our free tool supports up to 50 auto-fetched URLs or unlimited manual URLs.
What is changefreq in a sitemap?
Changefreq (change frequency) is a hint telling search engines how often a page is likely to change. Options are always, hourly, daily, weekly, monthly, yearly, and never. Google has stated they largely ignore this value, but Bing may use it.
What is priority in a sitemap?
Priority is a value from 0.0 to 1.0 indicating the relative importance of a URL compared to other URLs on your site. Set your homepage to 1.0, main pages to 0.8, blog posts to 0.6, and archive pages to 0.4. It does not affect your ranking in search results.
Does my website need a sitemap?
A sitemap is strongly recommended for new websites, large sites with 500+ pages, sites with poor internal linking, and sites that are frequently updated. Small sites with good internal linking may not strictly need one, but it never hurts to have one.
How does the auto-fetch feature work?
Enter your domain and click Fetch. Our tool crawls your homepage, extracts all internal links, then follows those links one level deep to discover more pages. It returns up to 50 unique URLs from your site, which you can then generate into a sitemap.
What is a sitemap index?
A sitemap index is an XML file that references multiple sitemap files. It is used when your site has more than 50,000 URLs. Each referenced sitemap can contain up to 50,000 URLs. The sitemap index itself is submitted to search engines.
How do I validate my existing sitemap?
Use our Validate tab — paste your sitemap URL and we check if it loads, contains valid XML, has proper urlset structure, and lists the URL count. You can also use Google Search Console to check for sitemap errors after submitting it.
Should I include images and videos in my sitemap?
Google supports image and video sitemaps with additional XML tags. However, a standard URL sitemap is sufficient for most websites. Image/video sitemaps are mainly useful for media-heavy sites like photography portfolios, stock photo sites, or video hosting platforms.

Share This Tool

Found it useful? Share it with your friends, classmates, or colleagues.