XML Sitemap Generator
Use this free XML sitemap generator to create a valid sitemap.xml for SEO in your browser. Paste your page URLs (or a page's HTML to extract links), set lastmod, change frequency, and priority, then copy or download the result.
Generate your sitemap
Paste your page URLs (or extract them from a page), set options, and download sitemap.xml, an HTML sitemap, and robots.txt.
Your sitemap.xml will appear here as you add URLs.
How to create your sitemap.xml
Add your URLs
Paste your list of page URLs, one per line, or paste a page's HTML and let the tool extract the links it finds. Everything stays in your browser — nothing is uploaded to a server.
Set sitemap options
Choose a lastmod date, a change frequency (daily, weekly, monthly), and a priority value — or let auto-priority assign values by URL depth so deeper pages rank lower than your homepage.
Copy or download
Generate a protocol-valid sitemap.xml, a human-readable HTML sitemap page, and a matching robots.txt snippet. Save sitemap.xml to your site root and submit it in Google Search Console.
Why an XML sitemap matters for SEO
An XML sitemap is a structured list of your important URLs that helps search engines discover and prioritize pages for crawling — especially useful for large sites, new domains, or pages with few internal links. This generator follows the sitemaps.org protocol, producing the correct urlset, loc, lastmod, changefreq, and priority structure that Google, Bing, and other engines expect.
A quick tip: keep each sitemap under 50,000 URLs and 50MB uncompressed, use absolute https URLs, and only include canonical pages you actually want indexed. After generating, drop the file at yourdomain.com/sitemap.xml, reference it in your robots.txt with a Sitemap: line, and submit the URL in Google Search Console's Sitemaps report so you can monitor coverage and indexing status.
Frequently asked questions
Does this tool crawl my entire website automatically?
No. Because browsers cannot fetch pages from other domains (CORS), the tool does not crawl a site from a server. You provide the URLs — either by pasting your list one per line, or by pasting a page's HTML so the tool can extract the links inside it. This keeps everything private and running 100% in your browser.
Is the generated sitemap.xml valid for Google Search Console?
Yes. The output follows the sitemaps.org XML protocol with a proper urlset namespace and valid loc, lastmod, changefreq, and priority tags. Save it as sitemap.xml at your site root and submit the URL in the Search Console Sitemaps report to have Google process it.
What do change frequency and priority actually do?
changefreq hints how often a page changes (e.g. daily, weekly, monthly) and priority (0.0–1.0) signals a page's relative importance on your own site. Both are hints, not directives — search engines may ignore them. The auto-priority option assigns values by URL depth, so your homepage scores highest and deep pages lower.
What is the HTML sitemap and robots.txt snippet for?
The HTML sitemap is a human-readable page of links you can publish for visitors and to aid internal linking, while the XML version is for crawlers. The robots.txt snippet adds a Sitemap: line pointing to your sitemap.xml, which helps search engines find it even before you submit it manually.
Do I need to sign up or upload my files?
No sign-up and no upload. The generator runs entirely in your browser, so your URL list and HTML never leave your device. You simply copy the generated sitemap.xml, HTML sitemap, and robots.txt, or download them to your computer.