XML Sitemap Generator
Generate a clean, segmented XML sitemap from a crawl.
URL list
One URL per line — or fetch a page to import its links.
sitemap.xml
5 URLs · 0 skipped
<?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-05-07</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-05-07</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog/best-hiking-boots-for-beginners</loc>
<lastmod>2026-05-07</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog/sustainable-trail-running</loc>
<lastmod>2026-05-07</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-05-07</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>Start here · What is an XML sitemap?
An XML sitemap is a file that lists the URLs you want search engines to discover. It usually lives at example.com/sitemap.xml or in a sitemap index.
A sitemap does not guarantee rankings or indexing. It is a discovery and prioritization hint, especially useful for large sites, new pages, and pages with weak internal links.
Good sitemaps include canonical, indexable URLs. They should not be packed with redirects, noindex pages, broken URLs, or duplicates.
When to use this tool
- Launching a new site
Generate a first sitemap so Google and Bing can find your important pages quickly.
- Cleaning a messy crawl
Turn a URL list into a cleaner sitemap after removing blocked, redirected, duplicate, and low-value pages.
- Splitting large sites
Use segmented sitemaps for blogs, products, categories, or locations when one file becomes hard to manage.
Examples
Walk through these with the form above — they are practice scenarios, not live data.
Small business website
Try this
Paste URLs for your home page, service pages, location page, and top blog posts.
What to look for
The output should contain only crawlable canonical URLs that deserve discovery.
Ecommerce category sitemap
Try this
Paste category and product URLs, then exclude search results, filters, carts, and account pages.
What to look for
You should get a cleaner file developers can upload or wire into the sitemap index.
Short tutorial
Follow in order the first time you use the tool; later you can skip to the step you need.
- Step 1 - Collect canonical URLs
Start with URLs you want indexed. Avoid URLs with tracking parameters, redirects, or duplicate versions.
- Step 2 - Generate the XML
Paste the list and generate the sitemap. Keep the output structure unchanged unless you know XML syntax.
- Step 3 - Validate and submit
Check the file with Sitemap Analyzer, upload it, then submit the sitemap URL in Search Console.
More detail
New here? Skim Start here first, then run one Examples scenario in the form above.
XML Sitemap Generator does one job: generate a clean, segmented XML sitemap from a crawl. It lives under Technical SEO on SEOToolkits, where the beginner idea is simple: Technical SEO keeps pages crawlable, indexable, fast enough, and understandable to search engines.
FAQ
- Should every URL be in my XML sitemap?
- No. Include canonical, indexable pages you want search engines to discover. Exclude duplicates, redirects, noindex pages, and thin utility URLs.
- Where do I submit an XML sitemap?
- Submit the sitemap URL in Google Search Console and Bing Webmaster Tools. Also reference it from
robots.txtwhen possible. - How many URLs can one sitemap contain?
- A standard XML sitemap can contain up to 50,000 URLs and must stay under 50 MB uncompressed. Large sites should use sitemap indexes.
Related tools
Same workflow cluster on SEOToolkits — open another module without leaving context.