XML Sitemap Generator
Free XML sitemap generator: crawl your website (up to 5,000 pages) or paste a URL list and download a valid sitemap.xml. Leaves out redirects, errors and noindex pages.
- 100% free
- No sign-up
- Runs in your browser
Webmaster Tools
About the XML Sitemap Generator
An XML sitemap is a file that lists the pages on your website you want search engines to find. This sitemap generator creates one for you in two ways: it can crawl your live website, or turn a list of URLs you paste into a valid sitemap.xml file.
In crawl mode it starts from your home page, reads robots.txt and any existing sitemap, and follows links on your site to find pages, up to the limit you choose (from 100 to 5,000 pages). It checks every page it finds and only lists the ones that belong in a sitemap.
Pages are left out when they redirect, return an error, are not HTML, have a noindex tag, or have a canonical tag pointing somewhere else. The tool shows every page it left out and why, which often reveals problems you did not know about.
How to use this tool
- 1Choose "Crawl a live website", or "Turn a URL list into a sitemap" if you already have the list.
- 2Enter your home page address and pick the maximum number of pages.
- 3Leave "Obey robots.txt" switched on unless you have a reason not to.
- 4Click to start and wait for the crawl to finish.
- 5Download sitemap.xml, upload it to the root folder of your website, and submit it in Google Search Console.
Best-practice tips
- Only list pages you want in Google: final, working, indexable addresses. Leave out logins, carts, search results and thank-you pages.
- Read the "Left out" list carefully. A page you expected to see there may have an accidental noindex tag or a wrong canonical.
- Add the sitemap address to robots.txt with a line such as Sitemap: https://example.com/sitemap.xml. The Robots.txt Generator can do this for you.
- If you use WordPress, Shopify or another CMS, check first: most create a sitemap automatically.
How to submit your sitemap to Google
- Upload sitemap.xml to the root folder of your site, so it opens at https://yourdomain.com/sitemap.xml.
- Open Google Search Console and choose your site.
- Go to Sitemaps, enter sitemap.xml and click Submit.
- Come back after a few days to see how many pages Google found and indexed.
Also add the sitemap to your robots.txt file with the Robots.txt Generator, so every search engine can find it.
Why pages are left out of the sitemap
- Redirects: list the page the redirect leads to, not the old address.
- HTTP errors (404, 500): broken pages should not be in a sitemap. Find the links to them with the Broken Link Checker.
- noindex: the page asks not to be indexed, so listing it sends a mixed signal.
- Canonical to another page: the page says another address is the main version, so that address belongs in the sitemap instead.
Answers
XML Sitemap Generator FAQs
Yes, with no sign-up and no watermark in the file.
Up to 5,000 pages in one crawl. Choose a smaller limit for a quicker result.
Small, well-linked sites can be found without one, but a sitemap helps search engines find new and deep pages faster, and Search Console uses it to report indexing problems. It is worth having.
Put it in the root folder of your website, the same place as your home page file, so it opens at yourdomain.com/sitemap.xml.
Whenever you add or remove important pages. If your CMS builds the sitemap for you, it updates automatically.
No. It helps Google find your pages, but Google still decides what to index based on quality and usefulness.
Related tools
Continue with these related webmaster tools.
Meta Tag Generator
Free meta tag generator: create your title tag, meta description, robots and canonical tags with a live Google search preview and character counter.
View Page Source
Free page source viewer: see the HTML source code of any website with line numbers, a search filter and tag counts. Works on any device, including phones.
URL Encoder / Decoder
Free URL encoder and decoder: decode percent-encoded URLs or encode text for safe use in web addresses and query strings, and split a URL into its parts.