Skip to content
Plaintools

XML sitemap generator

Turn any raw list of website URLs or exported markdown routes into a clean, standards-compliant sitemap.xml file. The tool runs 100% in your browser without crawling external websites or uploading links to any server. Features automatic URL normalization, deduplication, configurable lastmod dates, changefreq crawl hints, and priority tags, ready for instant submission to Google Search Console and Bing Webmaster Tools.

Runs locally · No web crawl required · Compliant with Sitemaps.org 0.9

9 valid pages

Global XML Sitemap Settings

sitemap.xml Output

9 URLs

Next steps for search engines:

  • Save as sitemap.xml in your site’s public root (e.g. https://example.com/sitemap.xml).
  • Reference it in your robots.txt with Sitemap: https://example.com/sitemap.xml.
  • Submit the URL to Google Search Console and Bing Webmaster Tools for index discovery.

Parsed URLs (9)

Review individual loc entries generated from your raw list.

#URL (<loc>)<lastmod><changefreq><priority>
1https://example.com/2026-09-10weekly0.8
2https://example.com/services2026-09-10weekly0.8
3https://example.com/pricing2026-09-10weekly0.8
4https://example.com/about2026-09-10weekly0.8
5https://example.com/blog2026-09-10weekly0.8
6https://example.com/blog/getting-started-guide2026-09-10weekly0.8
7https://example.com/contact2026-09-10weekly0.8
8https://example.com/privacy-policy2026-09-10weekly0.8
9https://example.com/terms-of-service2026-09-10weekly0.8

Example

Standard marketing site sitemap

Paste 9 URLs including homepage, /services, /about, and /contact. Automatically formats <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> with today's lastmod date and weekly changefreq. Download as sitemap.xml in one click.

Related: Schema markup generator, Robots.txt generator, Hreflang generator, Meta tag generator

FAQ

Does this sitemap generator crawl my website or external pages?
No. This generator is intentionally lightweight and privacy-friendly. It converts the list of URLs you paste into a valid XML sitemap without sending automated bot crawls or making network requests to arbitrary sites.
What is the maximum number of URLs allowed in an XML sitemap?
According to the official Sitemaps.org 0.9 specification, a single sitemap file can contain a maximum of 50,000 URLs and cannot exceed 50 megabytes uncompressed. If you have more URLs, you should divide them into multiple sitemaps and list them in a sitemap index file.
Do Google and search engines still use the <priority> and <changefreq> tags?
While Google primarily relies on page discovery, internal link structure, and actual modification signals, other search engines (like Bing, Yandex, and Baidu) continue to use changefreq and priority hints. The <lastmod> tag is universally respected when accurate.
How do I format URLs for the sitemap generator?
Paste one URL per line. Full canonical URLs including protocol (e.g. https://example.com/page) are recommended. If you paste domain paths without a protocol (e.g. example.com/page), the tool automatically prepends https://.
Where should I host the sitemap.xml file?
Upload sitemap.xml to the root directory of your web server (e.g. https://yourdomain.com/sitemap.xml). Then declare it in your robots.txt file with 'Sitemap: https://yourdomain.com/sitemap.xml' and register it in Google Search Console.
How do I generate an XML sitemap programmatically in JavaScript?
Map your array of URLs: const xml = `<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n` + urls.map(u => ` <url>\n <loc>${u.replace(/&/g, '&amp;')}</loc>\n </url>`).join('\n') + `\n</urlset>`;
Are duplicate URLs automatically removed?
Yes. With the 'Auto-remove duplicate URLs' toggle enabled (default), repeated URL paths are deduplicated so your sitemap remains clean and concise.