About this tool
An XML sitemap lists the pages you want search engines to find. Paste your URLs, one per line, or paste a page’s HTML and pick up all the links in it, and get a valid sitemap.xml following the sitemaps.org protocol. Add a date after a URL (https://example.com/about 2025-03-01) to set its last-modified date.
How to use your sitemap
- Upload
sitemap.xmlto the root of your site, so it’s athttps://example.com/sitemap.xml. - Add a line to
robots.txt:Sitemap: https://example.com/sitemap.xml. - Submit it in Google Search Console and Bing Webmaster Tools.
What search engines actually use
<loc>: the URL. Use absolute, canonical URLs only (not redirects, notnoindexpages), all on the same host as the sitemap.<lastmod>: Google uses it when it’s consistently accurate, so only set it to when the content really changed. Setting every page to today teaches crawlers to ignore it.<changefreq>and<priority>: Google ignores both. They’re optional, so leaving them out is fine.
Big sites
One sitemap may hold at most 50,000 URLs and 50 MB. Above that, the generator splits the list into sitemap-1.xml, sitemap-2.xml and so on, plus a sitemap.xml index that points to them, all in one zip. Special characters like & are escaped as XML requires.
A browser can’t crawl other websites because of cross-origin rules, so this tool works from the URLs you give it. Export them from your CMS, framework or a crawler, or paste the HTML of your navigation or an existing page.
FAQ
How do I create a sitemap?
Paste your page URLs, one per line, or paste HTML to extract its links. Download sitemap.xml, upload it to your site root and submit it in Google Search Console.
Do I need changefreq and priority?
No. Google ignores both. They are optional in the sitemap protocol, so the default is to leave them out.
How many URLs can a sitemap have?
50,000 URLs or 50 MB uncompressed. Larger lists are split into several files with a sitemap index automatically.
Should every page be in the sitemap?
Only canonical pages you want in search results. Leave out redirects, duplicates, noindex pages, and login or cart pages.
Can it crawl my site?
No. Browsers can’t fetch other sites’ pages, so paste the URLs or the HTML that contains the links.