Sitemap Generator
Turn a URL list into XML with duplicate cleanup, same-host validation, skipped-line warnings, sitemap protocol size checks, and local copy or download.
This works right here on your device — nothing gets sent out.
Example shown — replace it with your own URLs, one per line.
How it works
- Paste absolute HTTP or HTTPS URLs, one per line. Blank lines are ignored, repeated URLs are removed, and every included URL must use the same host.
- Choose optional change-frequency and priority values. Leave today's last-modified date off unless it accurately reflects every page in the list.
- Review the included-URL and duplicate counts plus any skipped-line warnings. A sitemap file can contain at most 50,000 URLs and 50 MiB.
- Copy the XML or download it as
sitemap.xml.
Each URL becomes a <url> entry
following the sitemaps.org protocol,
the standard every major search engine reads.
FAQ
Do my URLs get sent anywhere?
No. The sitemap is built locally in your browser from the URLs you paste in — nothing is uploaded.
What counts as a valid URL?
A full http:// or https:// URL, one per line. Every URL in one sitemap must use the same host, and each <loc> must be shorter than 2,048 characters. Relative paths and URLs from another host are skipped.
What if some of my lines aren't valid URLs?
Invalid lines are skipped and summarized with their line numbers. The generator still creates a sitemap from the valid unique URLs, provided the result stays within the protocol size limits, so you can fix skipped lines without losing the rest of the output.
Are duplicate URLs included?
No. Repeated URLs are normalized and only their first occurrence is included. The result shows how many duplicates were removed.
How many URLs can one sitemap contain?
The sitemap protocol allows up to 50,000 URLs and 50 MiB (52,428,800 bytes) per file. This tool blocks export when either limit is exceeded; split larger lists into separate sitemap files.
What are changefreq and priority for?
The sitemap protocol makes both fields optional hints: changefreq describes how often a page changes, while priority (0.0-1.0) is relative to other pages on your site. Google ignores both. Only include lastmod when today's date really is the last-modified date for every listed page.
Where do I put the downloaded sitemap.xml file?
Upload it to your site's root (e.g. https://yoursite.com/sitemap.xml) and reference it in robots.txt with a Sitemap: line, or submit its URL directly in Google Search Console / Bing Webmaster Tools.
How we compare
| Feature | Online Tool Store | HandyTools Hub | Scanner Techs | Linkrena |
|---|---|---|---|---|
| Deduplicates repeated URLs | Yes; keeps the first occurrence | Yes | Not described | Not described |
| Checks the protocol's per-file limits | 50,000 URLs and 50 MiB | Notes the 50,000-URL guidance | Not described | Warns at 50,000 URLs / 50 MiB |
| Rejects mixed-host sitemap entries | Yes | Not described | Not described | Not described |
This generator works from a URL list you provide; it does not crawl your site. It removes duplicates and checks sitemap file limits before export, while keeping the URL list on your device. For more than 50,000 URLs, create multiple sitemap files and a sitemap index.