Sitemap XML Generator
Paste a list of URLs to create a sitemap.xml file for search engines, with sitemap index support.
| URL | lastmod | changefreq | priority |
|---|
Sitemap Standard Limits
| Item | Limit | If Exceeded |
|---|---|---|
| URLs per file | 50,000 | Split the file and combine with a sitemap index |
| File size | 50MB (uncompressed) | Split the file or use gzip compression (.xml.gz) |
| Sitemaps per index | 50,000 | Split the index into multiple files |
| URL length | 2,048 characters | Excess URLs will be ignored |
What is the Sitemap XML Generator?
A sitemap.xml file tells search engines about the pages on your site, helping them discover new or deeply-linked content faster. This generator makes it simple: just paste a list of URLs. It automatically removes duplicates, escapes characters like `&` and `<` to be XML-compliant, and validates your list against common issues. It warns you if you exceed standard limits like 50,000 URLs or 50MB, and you can create a sitemap index for larger sites. Because the entire process runs in your browser, your URL list is never sent to a server.
How to use
- Paste your URLs into the "URL List" box, one per line.
- Select "Sitemap" for a standard sitemap or "Sitemap Index" if you're grouping multiple sitemap files.
- Adjust the bulk "lastmod", "changefreq", and "priority" settings as needed.
- For page-specific values, check "Use individual settings per URL" and edit the table that appears.
- Check the stats and warnings for issues, then click "Save" to download the file.
Sitemap XML Generator guide
How this tool is used in real work, and what to watch out for.
A Sitemap is a Hint, Not a Guarantee of Indexing
A common question is, "I submitted a sitemap, but my pages aren't getting indexed." A sitemap is just a list that says "please look at these pages"; it doesn't guarantee crawling or indexing. If Search Console shows "Discovered - currently not indexed" or "Crawled - currently not indexed," the problem isn't your sitemapโit's page quality or duplicate content. Resubmitting the sitemap won't fix it.
That's not to say they're useless. In the following situations, they make a real difference:
- Orphaned pages not connected by internal links โ without a link to follow, a sitemap is the only way for crawlers to discover them.
- A brand-new site โ when you have few external links, a sitemap provides an early signal for crawlers to find you.
- Sites with thousands of pages or more โ it helps crawlers manage their crawl budget.
- Frequently updated sites โ an accurate `lastmod` tells crawlers to revisit what's changed first.
Why the Default for `priority` and `changefreq` is "Do not include"
Google effectively ignores these two values. The reason is simple: almost every site owner used to put `priority="1.0"` and `changefreq="always"` on their pages. Since such self-reported values can't be trusted, Google stopped looking at them. That's why this tool's default is "Do not include (Recommended)" and why a note appears if you select a value.
The only tag that's actually considered is `lastmod`, and only when it's accurate. If a deployment script updates the `lastmod` for every page to today's date every day, Google will start to ignore that site's `lastmod` values entirely. Once you lose that trust, the signal won't work even when you genuinely update an article.
| Tag | Google's Stance | Best Practice |
|---|---|---|
| loc | Required. This alone is sufficient. | Use absolute URLs |
| lastmod | Used if accurate | Update only when content actually changes |
| changefreq | Ignored | Do not include |
| priority | Ignored | Do not include |
Submission: Start with a Single Line in robots.txt
- Upload the generated sitemap.xml to your site's root directory. Verify you can open it in your browser and see the XML.
- Add the line `Sitemap: https://example.com/sitemap.xml` to your robots.txt file. This line alone allows any search engine to find it automatically.
- Register the URL in Google Search Console's Sitemaps section. This lets you see processing results and errors.
- Register the same URL in Naver Search Advisor under Request โ Submit Sitemap. This is often overlooked but important for reaching Korean audiences.
- After a few days, check the Sitemaps report in Search Console to see the number of URLs read and their indexing status.
Exceeding 50,000 URLs: Using a Sitemap Index
The standard limits are 50,000 URLs per file and 50MB uncompressed. If you exceed these, you must split the file and create a sitemap index that lists your sitemap files. You then submit only the index URL. This tool's "Sitemap Index" mode is for creating that file.
In practice, it's better to split files before you hit the limit. By separating files by content typeโlike posts, products, and categoriesโyou can immediately see in Search Console which group has a low indexing rate. The real benefit isn't just seeing the site's overall indexing rate, but discovering that "only product pages are failing to be indexed."
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-pages.xml</loc>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-blog-1.xml</loc>
</sitemap>
</sitemapindex>
<!-- Only include the index URL in robots.txt -->
<!-- Sitemap: https://example.com/sitemap_index.xml -->
Common Mistakes
- Mixing domains or protocols โ A sitemap should only contain URLs from its own domain and with the same protocol. Mismatched entries will be completely ignored. This tool warns you if it detects a mix.
- URLs with non-ASCII characters โ URLs with Korean characters like `/blog/์ฌ์ดํธ๋งต-๋ง๋๋-๋ฒ` are fine to include as-is, but if your server redirects to a percent-encoded version, it's safer to use the encoded URL. Whichever you use, it must be the one that actually returns a 200 OK status.
- URLs with `&` โ The `&` in `?cat=tools&sort=new` must be written as `&` in XML. This tool escapes it automatically, so you can just paste the original URL. This is a common cause of XML parsing errors when creating sitemaps by hand.
- URL length over 2,048 characters โ These entries will be ignored.
Frequently asked questions
Do `priority` and `changefreq` affect search ranking?
No. Google has stated that it largely ignores these values. The most important field is `lastmod`, and only when it accurately reflects when the content was changed.
What do I do if I have more than 50,000 URLs?
The sitemap standard limit is 50,000 URLs or 50MB per file. For larger sites, split your URLs into multiple files and use this tool's "Sitemap Index" mode to create an index file that lists them all.
What format should the `lastmod` date be?
It should be in W3C Datetime format. You can use just the date (e.g., `2024-08-20`) or a full date-time with timezone (e.g., `2024-08-20T14:30:00-07:00`). This tool can generate both formats.
Is the list of URLs I paste sent to your server?
No. The sitemap generation is done entirely within your browser. Your list of URLs is never uploaded or stored, ensuring your site's structure remains private.