About the XML Sitemap Generator
Enter your website address and the generator follows your internal links to list every indexable page, skipping URLs blocked by robots.txt or marked noindex, then builds a valid sitemap.xml. You can also paste a list of URLs instead.
Key features
- Crawls your site by following internal links (up to 500 pages)
- Respects robots.txt and skips noindex pages
- Uses canonical URLs and strips tracking parameters
- Optional lastmod, changefreq and priority
- Or paste a list of URLs instead of crawling
- Valid, escaped sitemap.xml ready to download
Generate an XML sitemap in one click
An XML sitemap lists the pages you want search engines to find. It's especially helpful for new sites, large sites and pages that aren't well linked. Enter your homepage address and the generator crawls your site like a search engine: it follows internal links, respects robots.txt, skips noindex pages and builds a valid sitemap.xml.
What's included
| Page | Included? |
|---|---|
| Internal pages returning 200 | ✅ |
| Pages with a canonical to another URL | The canonical URL instead |
| Pages marked noindex | ❌ |
| URLs blocked by robots.txt | ❌ |
| Redirects, errors (4xx/5xx) | ❌ |
| Images, PDFs and other files | ❌ |
| Links marked rel="nofollow" | Not followed |
Example output
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-10-21</lastmod>
</url>
</urlset>
After you generate it
- Upload sitemap.xml to the root of your site.
- Reference it in robots.txt:
Sitemap: https://example.com/sitemap.xml. - Submit it in Google Search Console (Sitemaps report) and Bing Webmaster Tools.
- Regenerate when you add or remove pages, or use a CMS plugin that keeps it updated automatically.
Sitemap best practices
- List only canonical, indexable URLs that return 200.
- Use absolute URLs with the correct protocol and host.
- Keep lastmod accurate; don't set it to today for every page.
- Split very large sites into several sitemaps of under 50,000 URLs each.
Related tools
Reference your sitemap from robots.txt with the Robots.txt Generator, and check individual pages with the Meta Tag Checker.
How to use the XML Sitemap Generator
- Enter the address of the page or website you want to check.
- Click the button. Our server fetches the public page (it can't reach private or local addresses).
- Review the results, starting with anything marked in red or amber.
- Fix the issues on your site, then run the check again to confirm.