XML Sitemap Generator — Create a sitemap.xml
Create an XML sitemap for search engines in a few clicks. Enter your domain and this free sitemap generator crawls your website, respects robots.txt, skips noindex pages, follows canonicals and redirects, and builds a ready-to-submit sitemap.xml — plus an HTML sitemap and a plain URL list. It runs on our server; nothing is stored.
What is an XML sitemap?
An XML sitemap is a file that lists the URLs of a website so search engines can discover and crawl them. Each entry holds a location and optional hints such as lastmod, changefreq and priority. A valid sitemap uses the sitemaps.org 0.9 namespace and may hold up to 50,000 URLs or 50 MB uncompressed. It does not guarantee indexing, but it helps crawlers find pages — especially on large sites or pages that are poorly linked internally.
Note: this tool builds an XML sitemap for search engines (a sitemap.xml file), not a visual sitemap or site-structure diagram like the flowcharts made in Figma, Canva or Lucidchart. If you are planning a site's page hierarchy visually, this is not the right tool.
How to create a sitemap.xml
Enter your start URL, set the maximum number of pages (up to 200) and the crawl depth, then start the crawl. The generator fetches your pages in small batches with a progress bar you can stop at any time — the pages found so far are kept. It reads your robots.txt and skips disallowed paths, drops noindex pages, follows redirects to their final address, and when a page canonicalises to another URL it keeps only the canonical one. Broken pages and 404s are left out.
When the crawl finishes you get three outputs: the sitemap.xml itself, an HTML sitemap and a plain text URL list — each copyable and downloadable. Every row in the results table can be deselected, and its priority and changefreq overridden individually, before you export.
XML sitemap and HTML sitemap
The XML sitemap is for search engines; an HTML sitemap is a plain page of links for human visitors that also helps crawlers reach deeper pages. This generator produces both from the same crawl, so you can submit the sitemap.xml to search engines and paste the HTML sitemap into your site.
Priority, changefreq and lastmod
priority (0.0–1.0) only expresses the relative importance of a URL within your own site and is largely ignored by Google; here it defaults to the click depth (homepage 1.0, then lower) and stays overridable per URL. changefreq is a weak hint at most; set it globally or per URL. lastmod is read from the real content in this order — JSON-LD dateModified (or datePublished), an article:modified_time meta tag, og:updated_time, then the Last-Modified header — and the results table shows which source each date came from. If none is available it is left out. It is never set to today's date for every page, because a sitemap where every lastmod is identical looks unreliable and gets ignored — most other generators do exactly that; we deliberately do not.
For the full specification, see the official sitemaps protocol: sitemaps.org — protocol.
Frequently asked questions
What is an XML sitemap and what is it for?
Where do I put the sitemap.xml?
How do I submit my sitemap to Google and Bing?
What do priority and changefreq really mean?
Why should lastmod be a real date?
What if my site has more than 200 pages?
Do I also need an HTML sitemap?
Why are some pages missing from my sitemap?
What is the difference between an XML sitemap and a visual sitemap?
Related tools
Sitemap Validator — Check Your XML Sitemap
Validate an XML sitemap, find a site's sitemap, test URL status, hreflang and media sitemaps. Free, no account.
Robots.txt Generator
Build and validate a robots.txt with live preview — crawler rules, AI-bot control, sitemap. Free.
Hreflang Generator
Build valid, reciprocal hreflang tags in HTML, XML sitemap or HTTP header format — free, no account.
Robots.txt Tester
Check and validate a robots.txt: test URL access per crawler, AI-bot status, syntax warnings. Free.
AI Search Readiness Checker
Score how ready your site is for ChatGPT, Perplexity and AI Overviews.
