XML sitemap generator
Enter a page or website URL and get a valid sitemap.xml in seconds, ready to upload and submit to Google and Bing.
Upload it to your site root (example.com/sitemap.xml), add a Sitemap: line to robots.txt, and submit it in Google Search Console and Bing Webmaster Tools.
What does the sitemap generator do?
The sitemap generator crawls your site from the URL you enter, collects every indexable page it can reach through normal links, and writes them into a sitemap.xml file that follows the sitemaps.org protocol. You can also build a sitemap for one page only, or from a list of URLs you paste in.
It crawls up to 500 pages with 4 requests at a time. Under the sitemaps.org protocol, 1 sitemap file can hold up to 50,000 URLs or 50 MB uncompressed.
Based on: sitemaps.org protocol · Google: Build and submit a sitemap
How do you create an XML sitemap?
Enter your URL
Type your homepage to map the whole site, or a single page and choose “Only this page”.
Generate
The tool follows links on the same domain, skipping noindex pages, duplicates and files.
Download
Download sitemap.xml and upload it to the root of your website.
Submit it
Add a Sitemap line to robots.txt and submit the file in Google Search Console and Bing Webmaster Tools.
What rules does the generated sitemap follow?
- Canonical URLs onlyIf a page names a different canonical URL, the canonical goes in the sitemap instead.
- No noindex pagesPages with a noindex robots tag are left out, since listing them sends mixed signals.
- Same domain onlyExternal links, images, PDFs, scripts and other files are skipped.
- Clean URLsFragments are removed, and query strings are dropped unless you keep them.
- Correct escapingAmpersands and other special characters are escaped so the XML stays valid.
- Honest lastmodlastmod comes from the page’s own modified date when it gives one, not a made-up date.
XML sitemap generator: frequently asked questions
What is an XML sitemap?
An XML sitemap is a file, usually at /sitemap.xml, that lists the URLs you want search engines to crawl and index. It follows the sitemaps.org protocol and can include the date each page last changed.
Can I make a sitemap for just one page?
Yes. Choose “Only this page” and the tool returns a valid sitemap with that single URL. This is useful for a new landing page you want discovered quickly.
How many URLs can a sitemap hold?
One sitemap file can list up to 50,000 URLs and be up to 50 MB uncompressed. Larger sites split URLs across several sitemaps and list them in a sitemap index file. This tool crawls up to 500 pages; the paste option accepts up to 50,000 URLs.
Do priority and changefreq matter?
Google says it ignores both values, and uses lastmod only when it is consistently accurate. That is why they are off by default here. Bing may still read them.
Why are some of my pages missing?
The crawler only finds pages linked from the starting page and its links, within the page limit. It leaves out noindex pages, files such as images and PDFs, and links marked nofollow. Orphan pages with no internal links won’t be found, so add them with the Paste URLs tab.
Does submitting a sitemap guarantee indexing?
No. A sitemap helps search engines discover URLs, but each engine still decides whether to crawl and index each page based on its quality and the rest of your site.