Sitemap Generator
Paste or open a list of pages (or an existing sitemap) and get a clean, valid sitemap.xml, split with an index when the site is large.
Runs in your browser. Nothing is uploaded.
Updated
How to use Sitemap Generator
- Enter the site address and paste or open the list of pages.
- Choose the dates, then create the sitemap and read any notes.
- Download the file and add it to robots.txt and Search Console.
Sitemap Generator at a glance
Typical use: Make a sitemap for a hand-built site from the list of its pages, with each page’s last change date.
Runs in your browser; nothing is sent to our server. It works from your list and doesn’t visit the site.
When to use Sitemap Generator
Turn a list of your pages into an XML sitemap that search engines read. Paste addresses or paths, open a text or CSV file, or open an existing sitemap to clean it up. The page fixes what it can (missing https://, #fragments, spaces and accents, duplicates), explains what it leaves out, and splits large lists into several files with an index.
It doesn’t visit your site: it works from the list you give it. Many site builders and CMSs make a sitemap themselves, so check /sitemap.xml first.
What goes in a sitemap
- The pages you want in search results: their final, canonical addresses with https, not redirects, error pages or pages marked noindex.
- Only one site per sitemap. www.example.com and example.com count as different sites.
- lastmod helps when it is true: the date the page’s content last changed. Google ignores changefreq and priority, so they are off by default.
- Up to 50,000 addresses and 50 MB per file. Larger lists are split into sitemap-1.xml, sitemap-2.xml… with sitemap.xml as the index that lists them.
Examples of input
| Line | Becomes |
|---|---|
| /about | https://example.com/about (with the site address) |
| /blog/post 2026-11-15 | The address, with lastmod 2026-11-15 |
| example.com/contact | https://example.com/contact (https:// added) |
| https://example.com/a?x=1&y=2 | Written as …?x=1&y=2, as XML needs |
| https://example.com/about#team | The same page as /about: counted once |
After you download it
Upload the file to the root of your site, so it opens at https://your-domain/sitemap.xml, add a Sitemap: line to robots.txt, and submit the address in Google Search Console and Bing Webmaster Tools. A sitemap is a hint: search engines still decide what to crawl and show.
Prefer the terminal?
Check a sitemap on your server against the official schema:
curl -s https://example.com/sitemap.xml -o sitemap.xml
xmllint --noout --schema https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd sitemap.xmlxmllint comes with macOS and most Linux systems (on Ubuntu: sudo apt install libxml2-utils).
References
Frequently asked questions
Does a sitemap get my pages into Google?
It helps Google find them, especially new pages and pages with few links. Whether a page is shown still depends on its content and quality. A sitemap matters most for large or new sites.
Should I set priority and changefreq?
Google ignores both. Bing and others may use them, so you can add them, but an accurate lastmod is more useful.
My site has more than 50,000 pages. What then?
The page splits the list into files of up to 50,000 addresses (and 50 MB) and writes sitemap.xml as an index that lists them. Upload all the files and submit only the index.
Can I include pages from another domain?
Normally no: a sitemap lists addresses of the site it is on. Cross-site sitemaps work only when you have verified every site in Search Console; tick “Keep addresses on other sites” for that case.
Is my list sent to your server?
No. The sitemap is made in your browser, and the download is created there too.