XML Sitemap Generator
Crawl any website and generate a ready-to-submit XML sitemap with lastmod, changefreq, and priority values included.
How the Generator Works
- 1.Fetches your homepage and extracts all internal links via href attribute parsing.
- 2.Filters out external links, anchor fragments, and static assets (images, CSS, JS).
- 3.Assigns priority scores: 1.0 for homepage, 0.8 for top-level pages, 0.6 for deeper pages.
- 4.Outputs a standards-compliant XML sitemap with today's date as lastmod and changefreq=monthly.
What is an XML Sitemap?
An XML sitemap is a file that lists all the important URLs on your website and tells search engines like Google and Bing exactly which pages to crawl and index. It can also include metadata such as when each page was last updated (lastmod), how often it changes (changefreq), and its relative importance (priority).
While Google can discover pages through links alone, a sitemap provides a reliable safety net — especially for new websites with few backlinks, large sites with thousands of pages, and any site where fresh content needs to be indexed quickly.
How to Submit Your Sitemap to Google
- 1
Generate your sitemap: Use this tool to crawl your site and produce a valid XML sitemap. Download the file.
- 2
Upload it to your server: Place the sitemap file at the root of your domain: yoursite.com/sitemap.xml.
- 3
Add to robots.txt: Add a Sitemap: https://yoursite.com/sitemap.xml line to your robots.txt file.
- 4
Submit to Search Console: Open Google Search Console → Sitemaps → enter the URL → Submit.
Frequently Asked Questions
Do I need a sitemap for a new website?
Yes, especially for new sites. Without a sitemap, Google relies entirely on following links to discover your pages. A sitemap ensures every important page is submitted for indexing immediately — even before you have earned inbound links.
How do I submit a sitemap to Google Search Console?
Log in to Google Search Console, select your property, click 'Sitemaps' in the left sidebar, paste your sitemap URL (e.g. https://yoursite.com/sitemap.xml), and click Submit. Google will report crawl stats and any errors within a few days.
How many URLs can an XML sitemap contain?
The sitemaps.org protocol and Google both enforce a maximum of 50,000 URLs per sitemap file and a maximum file size of 50 MB uncompressed. For larger sites, create multiple sitemap files and reference them from a sitemap index.
Should I include every page in my sitemap?
No. Only include canonical, indexable pages that you want to appear in search results. Exclude paginated URLs, login pages, thank-you pages, filtered/sorted product listing variants, and any page with a noindex directive.
How often should I update my sitemap?
Ideally, your CMS should regenerate the sitemap automatically whenever content is published or updated. For static sites, regenerate whenever you add new pages. At minimum, update it whenever your URL structure changes significantly.
Who Needs an XML Sitemap Generator?
Whether you're launching a new site or fixing indexing issues, a correctly generated sitemap is one of the fastest wins in technical SEO.
New Sites & Launches
Google may take weeks to discover a new site through crawling alone. A submitted sitemap can cut that time to days by giving Googlebot a direct list of every page.
E-commerce & Shopify Stores
Product catalogues change daily. Regenerate and resubmit your sitemap after large inventory updates to ensure new product pages are indexed quickly.
Developers & Agencies
Verify that your statically exported or server-rendered site (Next.js, Nuxt, Astro) has a complete, valid sitemap before handing the project over to the client.
Sites with Indexing Gaps
If Google Search Console shows fewer indexed pages than you expect, regenerate your sitemap and resubmit. The generator catches orphaned pages crawling alone would miss.
How to Submit Your Sitemap to Google Search Console
Generating the sitemap is only half the job. Once downloaded, you need to host it and tell Google where it is. Here's the full flow:
Upload to your root
Place the downloaded sitemap.xml at the root of your domain — so it lives at yourdomain.com/sitemap.xml.
Add to robots.txt
Add a line: Sitemap: https://yourdomain.com/sitemap.xml — this tells any crawler where to find it automatically.
Open Google Search Console
Go to search.google.com/search-console, select your property, and click Sitemaps in the left menu.
Submit the URL
Paste your sitemap URL and click Submit. Google will start processing it within minutes. Check back in 24 hours to confirm it shows as Success.