Sitemap XML Generator

Paste a list of URLs to create a sitemap.xml file for search engines, with sitemap index support.

๐Ÿ’ก Paste URLs, one per line, to generate a sitemap.xml. Duplicates are automatically removed, and characters like & are escaped according to XML rules.
๐Ÿ“ Drag and drop a text file (.txt/.csv) with URLs, or click to select
Files are read only in your browser ยท Max 8MB
Bulk Options
sitemap.xml

Sitemap Standard Limits

ItemLimitIf Exceeded
URLs per file50,000Split the file and combine with a sitemap index
File size50MB (uncompressed)Split the file or use gzip compression (.xml.gz)
Sitemaps per index50,000Split the index into multiple files
URL length2,048 charactersExcess URLs will be ignored
๐Ÿ’ก All URLs in a sitemap must share the same domain and protocol. Mixing http and https URLs in an https sitemap will cause http entries to be ignored. After creation, upload the file to your site's root directory, add a line like Sitemap: https://example.com/sitemap.xml to robots.txt, and register it with Search Console and Naver Search Advisor.

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

  1. Paste your URLs into the "URL List" box, one per line.
  2. Select "Sitemap" for a standard sitemap or "Sitemap Index" if you're grouping multiple sitemap files.
  3. Adjust the bulk "lastmod", "changefreq", and "priority" settings as needed.
  4. For page-specific values, check "Use individual settings per URL" and edit the table that appears.
  5. 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.
Conversely, for a blog with a few dozen pages and good internal linking, a sitemap has minimal effect. It doesn't hurt to have one, but don't look to it as the cause if your pages aren't getting indexed.

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.

TagGoogle's StanceBest Practice
locRequired. This alone is sufficient.Use absolute URLs
lastmodUsed if accurateUpdate only when content actually changes
changefreqIgnoredDo not include
priorityIgnoredDo not include
If you check "Include time and timezone (+09:00) in lastmod", the output will be in the `2026-07-16T09:30:00+09:00` format. The date-only `2026-07-16` is also a valid W3C Datetime value, so unless you run a news site that updates multiple times a day, the date alone is sufficient.

Submission: Start with a Single Line in robots.txt

  1. Upload the generated sitemap.xml to your site's root directory. Verify you can open it in your browser and see the XML.
  2. 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.
  3. Register the URL in Google Search Console's Sitemaps section. This lets you see processing results and errors.
  4. Register the same URL in Naver Search Advisor under Request โ†’ Submit Sitemap. This is often overlooked but important for reaching Korean audiences.
  5. After a few days, check the Sitemaps report in Search Console to see the number of URLs read and their indexing status.
If you don't plan to change the sitemap's URL, it's easiest to stick with the filename `sitemap.xml`. You don't need to resubmit it every time you add a page; crawlers will periodically re-read it as long as it's listed in your robots.txt.
There are some URLs you should never include in a sitemap: `noindex` pages (this sends a conflicting signal), old URLs that redirect, 404 pages, and duplicate pages where the `canonical` tag points elsewhere. Including too many of these URLs can lower the credibility of your entire sitemap.

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."

xml
<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 -->
If you exceed 50MB, you can compress the file with gzip and upload it as `sitemap.xml.gz`. However, the limit is based on the uncompressed size, so compressing the file doesn't increase the 50,000 URL limit.

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 `&amp;` 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.
The "Remove Duplicates," "Remove Invalid URLs," and "Sort Alphabetically" chips clean up the list in the input box itself. If you've pasted a raw list of URLs from crawler logs or a database export, clicking these three in order will usually tidy it up nicely.

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.