Use our free XML sitemap generator to create a sitemap for your website in seconds, then download it and submit it to Google Search Console.
Crawling your site…
Building your sitemap page by page. This can take up to 20 seconds for larger sites.
WHY THIS TOOL
Why Choose Our Sitemap Generator?
A few reasons this beats hand-building an XML file yourself.
Fast Sitemap Creation
Generates an XML sitemap of your full website in just seconds.
Uses Your Existing Sitemap
Reads the sitemap your site already publishes when there is one, and crawls your internal links when there is not.
Boosts SEO Crawling
Helps search engines find and index all your content efficiently.
Downloadable XML Format
Instantly download your sitemap in standard XML format, ready to upload to your site and submit to Google.
robots.txt Check
Reads your robots.txt and tells you if it is missing, if it points to a sitemap, and if it accidentally blocks the whole site.
Real lastmod Dates
Adds a last modified date for each URL when your sitemap or server provides one. Dates are never guessed.
GUIDE
How to create an XML sitemap for your website
A quick guide to using the free sitemap generator and getting your sitemap in front of Google.
How this XML sitemap generator builds your list
The tool first looks for a sitemap your site already publishes, such as sitemap_index.xml, sitemap.xml or wp-sitemap.xml. Most WordPress SEO plugins and Shopify create one automatically. If it finds one, it reads the URLs from it, including nested sitemaps for posts and pages, up to 500 URLs.
If your site has no sitemap, the tool crawls it instead. It starts at your homepage, follows internal links and collects up to 40 pages in about 20 seconds. Links to images, CSS, JavaScript and PDF files are skipped, so only real pages end up in the file.
Dates and robots.txt
Each URL gets a lastmod date when a real one is available, either from your existing sitemap or from the Last-Modified header your server sends. URLs without a known date are left without one, because a guessed date can make search engines trust your sitemap less. The tool also reads your robots.txt and tells you if it is missing, if it already points to a sitemap, and if it blocks the whole site by mistake.
Steps to create a sitemap
Enter your homepage URL.
Start the scan and wait for the tool to finish.
Check the list of URLs to make sure your important pages are there.
Download the XML file.
What to do with the sitemap file
Upload it to the root of your own site so it opens at yoursite.com/sitemap.xml. Google only accepts a sitemap hosted on the domain it lists. On WordPress, an SEO plugin that already makes a sitemap is usually the better option, since it updates itself.
Submit it in Google Search Console under Sitemaps, and in Bing Webmaster Tools.
Add it to robots.txt with a line like Sitemap: https://yoursite.com/sitemap.xml so other crawlers can find it too.
Tips for a clean sitemap
Only include pages you want people to find in search. Leave out thank you pages, login pages and test pages.
Use the final URL of each page, not one that redirects to somewhere else.
Every URL in the sitemap should load with a 200 status. If you are not sure, run a dead link scan first.
Keep it up to date. If you publish often, use a sitemap that your CMS updates automatically instead of making it by hand each time.
Sitemap and robots.txt: what each one does
These two files are often mixed up. A sitemap is a list of pages you want search engines to find. A robots.txt file tells crawlers which parts of the site they should not crawl. They work together: robots.txt can point to your sitemap, but a page blocked in robots.txt should not appear in your sitemap at the same time, because that sends search engines two opposite signals. Check both files whenever you change your site structure.
Who needs a free sitemap generator
A sitemap matters most for new sites with few backlinks, large sites with deep pages, and sites built on platforms that do not create one on their own. Small, well linked sites can be found without one, but a sitemap still helps Google spot new pages sooner. This free sitemap generator is a quick way to create a sitemap when your platform does not give you one, or to see which URLs your current sitemap actually lists.
What the sitemap generator puts in the file
An XML sitemap is a list of the URLs you want search engines to know about. Each entry holds the page address and, where it is known, the date the page last changed. The sitemap generator crawls your site from the home page, follows internal links and collects every page that returns a normal 200 response and is not marked noindex.
Pages that redirect, return errors or carry a canonical tag pointing elsewhere are left out. That keeps the sitemap clean, which matters because search engines trust sitemaps less when they are full of URLs that do not work.
Which pages belong in a sitemap
Include pages you want people to find through search: products, categories, services, blog posts and important information pages. Leave out pages that do not need to rank, such as thank you pages, internal search results, cart and checkout pages, login pages and thin tag archives. If the sitemap generator finds pages you would rather leave out, add a noindex tag to them or remove them from your internal links, then run it again.
Why the lastmod date matters
Google has said it uses the lastmod date when it is consistently accurate. The sitemap generator reads real modified dates where your site provides them, instead of stamping every URL with today's date. Fake dates that change on every crawl teach search engines to ignore the field. Honest dates help them recrawl the pages that actually changed.
Size limits and sitemap index files
A single sitemap file can hold up to 50,000 URLs and must be under 50 MB uncompressed. Larger sites split their URLs into several sitemaps and list them in a sitemap index file. The free sitemap generator is built for small and medium sites. If you have tens of thousands of pages, use the sitemap built into your platform or SEO plugin, which can update itself automatically.
Uploading and submitting the sitemap
Download the sitemap.xml file from the sitemap generator.
Upload it to the root folder of your site, so it opens at example.com/sitemap.xml.
Open that address in a browser to confirm it loads.
Add a Sitemap line to your robots.txt file and test it with the robots.txt tester.
Submit the sitemap URL in Google Search Console and Bing Webmaster Tools.
Search Console then reports how many URLs it found and whether any could not be read.
Do you need a sitemap generator on WordPress or Shopify?
WordPress has created a basic sitemap at /wp-sitemap.xml since version 5.5, and SEO plugins such as Rank Math and Yoast create a more complete one. Shopify generates /sitemap.xml for every store automatically. On these platforms, you usually do not need to upload a separate file.
The sitemap generator is still useful on them. Compare its crawl with your platform sitemap. Pages in the platform sitemap that the crawl never reached have no internal links pointing to them, which makes them hard for both visitors and search engines to find. Pages the crawl found that are missing from the platform sitemap may be set to noindex by mistake.
Sitemap generator for static and custom sites
Sites built by hand, with a static site builder or with a custom framework often have no sitemap at all. For these, the sitemap generator is the quickest way to create one. Run it again after you add or remove pages, and upload the new file in place of the old one.
Sitemap problems and how to fix them
URLs that redirect. Update the sitemap to list the final address only.
Http URLs on an https site. Make sure every entry uses the secure version.
Mixed www and non www URLs. List only the version your site redirects to.
Pages blocked by robots.txt. Either allow them or remove them from the sitemap.
Old pages that return 404. Remove them, or redirect them to a relevant live page.
The broken link checker and the redirect checker help you find the pages behind these problems.
How often to run the sitemap generator
For a static site, run the sitemap generator whenever you add, remove or rename pages. For a growing blog or store without an automatic sitemap, run it monthly. After a migration, run it on launch day and compare the result with the old sitemap, so you can confirm every important page made the move.
Sitemap generator questions
Does a sitemap guarantee that pages get indexed? No. A sitemap helps search engines find your pages, but they still decide which ones to index based on quality and usefulness. Do I need priority and changefreq values? Google ignores both, which is why the sitemap generator focuses on accurate URLs and dates. Should I include images? Image sitemaps can help image heavy sites, but for most sites, standard pages with good alt text are enough.
Can I use the sitemap generator on a site behind a login or on staging? It needs a public site to crawl, since it reads pages the same way a search engine does. Test the live site after launch, or a staging copy that is open to the public for a short time.
Orphan pages the sitemap generator can reveal
An orphan page is a page with no internal links pointing to it. Visitors cannot reach it by browsing, and search engines may only find it through a sitemap, if at all. Because the sitemap generator discovers pages by following links, it never finds orphan pages. Compare its list with your platform sitemap or your list of published pages. Anything missing from the sitemap generator list is an orphan. Link to it from a related page or category, or remove it if it is no longer needed.
After you submit: reading Search Console
A few days after you submit, the sitemaps report in Search Console shows how many URLs were discovered. Open the page indexing report to see which of those URLs are indexed and which are not, along with a reason for each. Common reasons include duplicate pages without a chosen canonical, pages crawled but not yet indexed and pages blocked by noindex. Fix the clear technical issues first, then improve thin pages that Google chose not to index. Run the sitemap generator again after big changes, so the file always matches the site.
Sitemaps for multilingual sites
If your site has several languages, each language version should appear in the sitemap with its own URL. Many multilingual plugins also add hreflang links that tell search engines which page is the translation of which. Run the sitemap generator on each language version's home page to check that every translated page can be reached through links. Missing translations often turn up as gaps between the language lists.
Keep the downloaded file somewhere safe along with the date you created it. When you run the sitemap generator again after changes, comparing the old and new files shows which pages were added or removed, which is a simple way to track how the site has grown and to confirm nothing important disappeared along the way. For teams, this comparison is also a quick way to review a content update before it goes live and to agree on which old pages should be redirected.
Answers on sitemap size, lastmod dates, robots.txt and submitting the file to Search Console.
A sitemap is a file that contains a list of all the important pages on your website. It helps search engines understand your site structure and crawl your pages efficiently.
Yes, our sitemap generator is completely free. You don't need to register or log in to use the tool.
If your site already has an XML sitemap, the tool reads up to 500 URLs from it. If not, it crawls internal links from your homepage and collects up to 40 pages per run.
The tool generates your sitemap in standard XML format, which is accepted by Google, Bing, and other search engines.
Download the XML file, upload it to your site's root directory (or your CMS's sitemap settings), and submit its URL through Google Search Console and Bing Webmaster Tools so both can find it directly.
Yes, when a real date is available. Dates come from your existing sitemap or the Last-Modified header your server sends. If neither has a date, the URL is listed without one, since a made-up date does more harm than good.
Whether the file exists, whether it lists your sitemap with a Sitemap: line, and whether a Disallow: / rule is blocking search engines from the whole site.
For best results, yes, regenerate and resubmit after major content changes. Many CMS platforms and SEO plugins can also auto-update a sitemap on publish, which is worth setting up if you publish frequently.
MORE TOOLS
Keep auditing your site
Same free, no-signup approach, pick whichever check you need next.
Full Site Audit
Enter one URL and get a full site audit in about a minute: on-page…
Rank Math SEO Details Field Value SEO title (meta title) How to Find Broken Links on Your Website for Free (49 characters) Suggested SEO title for a full 100 score How to Find Broken Links for Free: 7 Easy Methods (49 characters) Meta description Find broken links on your website with free tools. Learn how […]
We use essential cookies to keep this website working. With your permission we also use analytics cookies to understand how visitors use our tools, and marketing cookies to measure our ads. You can change your choice at any time. Read how we use cookies and how we handle your data.