What is sitemap.xml and do you really need one?
sitemap.xml is a list of every URL on your site that Google, Bing and other search engines read. It tells them: "These URLs exist, these are more important, these changed at this time". Without a sitemap Google will still find your pages (through internal links), but with one it finds them faster, especially fresh ones.
Here you paste a list of URLs (one per line, as many as you want, even 100,000), pick a global change frequency and priority, optionally set lastmod per URL. You get a finished XML file that follows the sitemap.org protocol and that Google Search Console will accept without errors.
When you have more than 50,000 URLs, the tool automatically splits them into separate files and also generates a sitemap index (a map of maps). Google requires this.
How to use it
- Type your base URL (e.g. `https://your-company.com`) so the tool can validate URLs correctly.
- Paste your list of URLs in the text area, one per line. You can paste up to 100,000 URLs.
- Pick changefreq globally (e.g. weekly) and priority (e.g. 0.7) or use Auto-priority by depth (homepage = 1.0, section = 0.8, deeper page = 0.6).
- Optionally enable language alternates (hreflang) if you have PL/EN versions, set lastmod (last modification date).
- Copy the XML or download sitemap.xml. Upload to the site root, submit in Google Search Console.
When this tool helps
Common reasons people generate a sitemap.xml:
- New site no one is linking to yet. Without a sitemap, Google doesn't know you exist. With a sitemap, indexing kicks off 24-72 hours after submitting in Search Console.
- E-commerce store with thousands of products. 10,000 products = 10,000 URLs. Without a sitemap, Google takes weeks or months to find them all (following links). With one, days.
- Blog with an archive. Posts older than 3 months rarely have external links, so Google forgets about them. The sitemap reminds it.
- Bilingual site PL/EN. Each URL has its counterpart in the other language. A sitemap with hreflang tags tells Google which version to show to a Pole and which to a German.
- After a domain migration or CMS swap. Generating a fresh sitemap + submitting in Search Console speeds up re-indexing from the old domain to the new.
- Campaign with thousands of landing pages. A 5000-URL campaign. Without a sitemap Google finds maybe 10%. With one, 100%.
After generating, validate the file with the sitemap validator. Also remember the robots.txt file should include a `Sitemap: https://your-company.com/sitemap.xml` line.