Create and download sitemap.xml from a URL list
ToolMint's free XML Sitemap Generator turns a supplied list of page URLs into a downloadable sitemap.xml. Paste one absolute HTTP or HTTPS URL per line, fix validation errors, then copy or download the XML. It runs in your browser and requires no account.
Only the URLs you supply are included. The tool does not crawl a website, discover missing pages, fetch live URLs or import existing sitemap XML. Use a URL list from your CMS, a crawl export or your own inventory; copy the URL column without its heading. Do not paste a full CSV document or an XML file into the list field.
- Paste your preferred page URLs, one per line, or select Load example.
- Review the live preview and line-specific validation messages. Remove or fix every invalid line.
- Review duplicate warnings. Exact duplicates are included once; different query strings, casing and trailing slashes remain distinct.
- Leave optional metadata blank unless it is useful and accurate. One shared lastmod date applies to all listed URLs.
- Select Copy or Download sitemap.xml. Publish the file on your host and make it available to search engines.
Try duplicates and an invalid URL
The built-in example contains three lines:
https://example.com/
https://example.com/products?color=blue&size=large
https://example.com/
It produces two URL entries and a duplicate warning. The repeated homepage is omitted, and the query string's ampersand becomes & in the XML. The addresses are illustrative and are not fetched.
With the optional fields left off, the downloadable file contains:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
</url>
<url>
<loc>https://example.com/products?color=blue&size=large</loc>
</url>
</urlset>
Now add /relative-page on a fourth line. The preview still contains the two valid URLs, but Copy and Download sitemap.xml are disabled. Replace that line with https://example.com/relative-page or remove it to restore export. A blank list also disables export; Reset clears the list and optional settings.
Download the generated XML sitemap
Once validation has no blocking errors, select Download sitemap.xml in the tool actions. The browser downloads the generated XML as sitemap.xml; you do not need to install software or create a ToolMint account. The saved file contains the accepted URLs in the preview. Downloading it does not publish it on your website or submit it to a search engine.
If you prefer to save the XML yourself, select Copy, paste it into a plain-text editor and save it as sitemap.xml using UTF-8 encoding. Keep the XML declaration and <urlset> wrapper. Avoid saving it as a rich-text document or accidentally adding a .txt extension.
If either export action is disabled, review the validation messages. Correct invalid URLs, remove unsupported optional values, or reduce a list that exceeds the URL or file-size limit. Duplicate warnings alone do not block export.
What an XML sitemap does
An XML sitemap lists the preferred URLs you want crawlers to discover. Each entry requires an absolute URL in <loc> and can include optional metadata about modification date, likely change frequency and relative priority within the site.
Submitting a sitemap is a hint. It can help crawlers discover URLs, but it does not guarantee that a search engine will download the file, crawl a listed URL, index a page or improve its rankings.
Paste one absolute HTTP or HTTPS URL per line. The tool validates each line, removes exact duplicates in first-seen order, escapes XML-sensitive characters and builds the <urlset> locally in your browser. Fix every blocking error before copying or downloading.
Anatomy of a URL entry
<url>
<loc>https://example.com/pricing</loc>
<lastmod>2025-06-01</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<loc>is required and must contain a fully qualified, absolute URL. Include the preferred canonical URL rather than alternate or duplicate versions.<lastmod>is optional. It should describe the linked page's genuine last significant modification, not the date the sitemap was generated.<changefreq>is an optional protocol hint, not a crawl schedule or command.<priority>is optional and relative only to other URLs on the same site. A higher value does not improve search rankings.
Google documents that it ignores <changefreq> and <priority>. Other crawlers' support for optional fields can vary, so omit them unless they serve a specific workflow.
Use accurate URLs and escaped values
Use complete http:// or https:// URLs rather than relative paths. The Sitemap protocol also requires XML entity escaping. For example, a query-string ampersand must be written as & inside <loc>:
<loc>https://example.com/products?color=blue&size=large</loc>
The generator performs XML escaping without rewriting the submitted hostname, path, query parameters, capitalization, trailing slash or fragment. Correct those URL details before exporting if they do not represent the preferred page URL.
Size limits you have to respect
| Limit | Value |
|---|---|
| URLs per sitemap | 50,000 |
| Uncompressed file size | 50 MB |
If either limit would be exceeded, split the URLs into multiple sitemap files. A sitemap index can list those separate files:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://example.com/sitemap-1.xml</loc></sitemap>
<sitemap><loc>https://example.com/sitemap-2.xml</loc></sitemap>
</sitemapindex>
This tool creates one standard URL sitemap. It does not create sitemap-index files.
When to include lastmod
Leave <lastmod> off unless you know the date of the linked page's last significant modification. The tool accepts one shared YYYY-MM-DD date and applies it to every entered URL, so enable it only when that date is accurate for all of them. It does not insert today's date automatically.
Google may use consistently accurate lastmod values. Changing the value without a significant page update does not guarantee recrawling.
Common mistakes
- Including non-preferred URLs. List the canonical versions you want search engines to consider, not redirects or duplicate URL variants.
- Using relative URLs. Enter the complete URL, including
http://orhttps://and the hostname. - Ignoring validation errors. Invalid URLs are excluded from the preview, and export remains blocked until every error is fixed.
- Using an inaccurate lastmod date. Do not substitute the sitemap-generation date for the page's modification date.
- Treating optional fields as ranking controls. Google ignores priority and changefreq, and higher priority does not improve rankings.
After you generate
- Upload the downloaded
sitemap.xmlto your website, usually at the site root. Forhttps://example.com, that giveshttps://example.com/sitemap.xml. - Open that public URL and confirm it returns the XML file successfully, rather than a login page, HTML error or download from your computer. The generator does not perform this live check.
- Reference the same public URL in
robots.txt, for exampleSitemap: https://example.com/sitemap.xml, and submit it in Google Search Console if you use Google Search. - Check the Sitemaps report for fetch or processing errors. A successful submission does not mean every listed page is indexed.
- Update the file when preferred URLs are added, moved or removed, and update lastmod only after significant page changes. If your CMS already maintains a sitemap, review that workflow before replacing its file manually.
Images, video and news content can require sitemap extensions or dedicated formats. This tool generates a standard <urlset> sitemap only.
Additional guidance
Splitting large sitemaps
Split the file when it would exceed 50,000 URLs or 50 MB uncompressed. You can also separate content types for easier maintenance, then reference those files from a sitemap index.
Sitemap filenames
sitemap.xml is the conventional filename. If you use another name, make the file available at that URL and use the same URL in robots.txt and Search Console.
Authoritative sources
Privacy and practical limits
URL validation, duplicate removal and XML generation happen in the current browser tab. This generator does not upload or autosave the URL list, and its tool events do not include URLs, generated XML or optional dates. Reset clears the tool state; it does not clear your clipboard or remove files you already downloaded.
Validation checks URL syntax, optional fields, URL count and generated file size. It does not confirm HTTP status, canonical declarations, crawl access or indexability. Keep URLs from one host together unless you deliberately meet a search engine's cross-site sitemap requirements. The tool preserves URL text rather than enforcing that deployment policy. Large lists can reach device memory or processing limits before the protocol limits.
Continue the sitemap workflow
Use the Canonical URL Generator to draft preferred URL declarations, then review the actual preferred pages before including them. Check moved URLs with the Redirect Checker and add your published sitemap URL with the Robots.txt Generator.
For sitemap types, deployment and submission troubleshooting, read the XML Sitemap Guide. Browse the SEO tools category for related checks.
Workflow, examples and source guidance reviewed on 3 November 2026.