100% in your browser — no upload

Free Google Sitemap Generator

Use this free google sitemap generator to turn a list of page URLs into a valid sitemap.xml, an HTML sitemap, and a robots.txt snippet you can submit to Google Search Console. Everything runs 100% in your browser, with no upload and no sign-up.

Runs in your browser No upload XML, HTML & robots.txt Free & unlimited

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 a sitemap for Google Search Console

1

Add your URLs

Paste your page URLs one per line, or paste the HTML of a page and let the tool extract every link it finds. Include only the canonical, indexable pages you actually want Google to crawl.

2

Set your options

Choose lastmod dates, change frequency, and priority for each URL, or let auto-priority assign values based on URL depth so deeper pages rank lower in importance. The tool then builds a sitemap.xml that follows the standard XML sitemap protocol.

3

Download and submit

Copy or download your sitemap.xml, optional HTML sitemap page, and robots.txt snippet. Upload sitemap.xml to your site root, then open the Sitemaps report in Google Search Console and submit its URL (for example, https://example.com/sitemap.xml).

Why a sitemap matters for Google indexing

An XML sitemap is the cleanest way to tell Google which URLs on your site are worth crawling, plus optional signals like when each page was last modified. It does not guarantee indexing, but it helps Google discover new or deep pages faster, which is especially useful for large sites, new domains, and pages that are not yet well linked. When you submit your sitemap to Google Search Console, you also get a feedback loop: the Sitemaps report shows whether the file was read successfully and how many URLs were discovered.

One honest note about how this tool works: because browsers cannot fetch other domains due to CORS, it does not crawl your website from a server. Instead, it builds the sitemap from the URL list you provide, or from links it extracts out of HTML you paste in, so you stay in full control of exactly which pages are included. For details on the format, see the official sitemaps.org protocol. Tip: keep a single sitemap under 50,000 URLs and 50MB uncompressed, and reference it from your robots.txt with a Sitemap: line so search engines can find it automatically.

Frequently asked questions

Does this tool crawl my website automatically?

No. Browsers cannot fetch pages from other domains because of CORS, so it does not crawl your site from a server. You provide the page URLs (one per line), or paste a page's HTML and it extracts the links from that HTML. This keeps you in control of exactly which URLs end up in the sitemap.

How do I submit the sitemap to Google Search Console?

Download the generated sitemap.xml and upload it to your site's root (for example, https://example.com/sitemap.xml). In Google Search Console, open the Sitemaps report under Indexing, enter your sitemap URL, and click Submit. Google will fetch it and report how many URLs it discovered and whether it could read the file.

Is the generated sitemap.xml valid for Google?

Yes. The output follows the standard XML sitemap protocol used by Google and other search engines, with , , and elements plus optional , , and values. You can keep those optional fields or leave them out; Google treats lastmod as a hint and largely ignores changefreq and priority, so accurate URLs and lastmod dates matter most.

What do the HTML sitemap and robots.txt snippet do?

The HTML sitemap is a human-readable page that links to your URLs, which can help visitors navigate and give crawlers extra internal links. The robots.txt snippet includes a Sitemap: line pointing to your sitemap.xml so search engines can discover it automatically. You can copy or download all three outputs.

Are my URLs uploaded or stored anywhere?

No. The generator runs entirely in your browser. Your URLs or pasted HTML are processed locally on your device, nothing is uploaded to a server, and there is no sign-up required to use the tool.

Related tools