XML sitemap generator
Crawl your site or paste a URL list. Get a clean sitemap.xml with only indexable, canonical pages, split into 50,000-URL files with an index when it gets big.
- Obeys robots.txt
- Drops noindex, redirects & non-canonical URLs
- No limit on pasted lists
Loading the generator…
What goes into a good sitemap
A sitemap is a list of the URLs you want search engines to crawl and index, not a list of every URL your server answers to. Google's sitemap documentation asks for the preferred, canonical version of each page, using full absolute URLs. So the generator checks each crawled page before it lets it in:
- Status 200 only. Redirects and errors send crawlers on detours, and Search Console flags them.
- Indexable only. A page with
noindexin a meta tag or theX-Robots-Tagheader contradicts its own sitemap entry. - Canonical only. If a page declares another URL as canonical, that other URL belongs in the sitemap instead.
- Crawlable only. URLs your robots.txt disallows can't be fetched by Googlebot, so listing them only produces warnings.
The file itself follows the sitemaps.org 0.9 schema: UTF-8, entity-escaped URLs (an & in a query string becomes &), and at most 50,000 URLs or 50 MB uncompressed per file.
Three ways in, one output
Crawl
Best for small and medium sites without a sitemap plugin. Follows links from your homepage, up to 300 pages and 6 clicks deep.
Paste
Best for anything larger. Export URLs from your CMS, a database query, a Screaming Frog crawl or Search Console's page report, and paste them.
Upload
Drop a .txt, .csv or old .xml / .xml.gz sitemap. It is parsed in your browser, so a 40 MB file never leaves your computer.
Questions people ask
Is this XML sitemap generator free?
How many URLs can one sitemap hold?
Why is the crawler limited to 300 pages?
Which pages does the crawler leave out?
Should I include priority and changefreq?
lastmod is the only optional tag Google uses, and only when it is consistently right. See lastmod, priority and changefreq.Where do I put the sitemap file?
https://example.com/sitemap.xml. A sitemap can only list URLs at or below its own folder, so the root covers everything. Then add a Sitemap: line to robots.txt and submit it in Google Search Console and Bing Webmaster Tools.