XML Sitemap GeneratorSEO Tools
Build sitemap.xml files from pasted URLs or collect links from one page and export valid sitemap XML.
Search engines find pages by following links, so a new page that nothing links to yet can go unnoticed. A sitemap lists your pages for them, and robots.txt tells every crawler where the sitemap is.
A page that nothing links to, or one buried several clicks deep, can wait a long time before a crawler reaches it. A sitemap is an XML file that lists the pages you want crawled, each with an optional lastmod date, so search engines don't have to discover them link by link.
It only helps when crawlers can find and read it. The usual mistakes are a sitemap at an address that robots.txt never mentions, one file that mixes URLs from two domains, and changefreq and priority values filled in as if they raised rankings. Google ignores both fields. One file holds at most 50,000 URLs, so a large site needs several files and a sitemap index.
Build the file in the XML Sitemap Generator. Paste a list of absolute URLs, or use collect mode to fetch one page and pull up to 500 of its same-host links. Collect mode reads that one page only, doesn't follow links across the site, and misses links that JavaScript adds later. All URLs must belong to one host. If the file would go over 50,000 URLs or 50 MB, the tool splits it and writes a sitemap index. Upload the result to the root of your site.
Next, tell crawlers where the file is with the Robots.txt Generator. Enter your sitemap URL and it adds a Sitemap: line to the file, next to any Disallow rules for private folders. robots.txt lives at the root of the host, such as https://example.com/robots.txt, and each subdomain needs its own.
Then check the result in the Website Sitemap Extractor. It reads robots.txt, tries /sitemap.xml and four other common paths, and lists every sitemap it finds with its type, URL count, and newest lastmod. A sitemap that returns broken XML stays in the table with the reason in the Error column, so you can see which file needs fixing.
At the root of your site, such as https://example.com/sitemap.xml, with a Sitemap: line in robots.txt so every crawler finds it.
You can, but Google ignores both. lastmod is the more useful field when it is accurate.
Up to 50,000 URLs or 50 MB. A larger site splits its URLs into several files listed in a sitemap index.
No. A sitemap lists URLs from one host. Split mixed domains into separate files.
Tools used in this guide
Build sitemap.xml files from pasted URLs or collect links from one page and export valid sitemap XML.
Creates robots.txt rules for search and AI crawlers and tests URLs against them.
Finds a site's sitemaps through robots.txt and the common sitemap paths.