Sitemap Generator
NewGenerate a valid XML sitemap from a URL list with changefreq, priority, and lastmod settings.
Related Tools
Embed this tool
Add this tool to your website or blog with a single iframe snippet.
<iframe src="https://dukotools.com/tools/sitemap-generator?embed=1" width="100%" height="600" frameborder="0" allow="clipboard-write" loading="lazy" title="sitemap-generator tool"></iframe>
About Sitemap Generator
Sitemap Generator produces valid XML sitemaps from a list of URLs conforming to the Sitemaps.org protocol used by Google, Bing, and all major search engines. Enter one URL per line in the textarea. Each URL is validated as a properly formatted URL and invalid entries are flagged inline. The output XML includes the correct XML declaration, the urlset element with the sitemaps.org schema namespace, and a url block per entry containing loc, changefreq, priority, and lastmod. Global defaults cover all URLs with change frequency, priority from 0.1 to 1.0, and last modified date defaulting to today. Advanced mode reveals a per-URL table for lists under 50 URLs. The validation section checks that all URLs share the same domain and warns if any URL exceeds 2048 characters.
Key Features
Valid XML Sitemap Output
Produces XML with correct declaration, urlset namespace, and loc/changefreq/priority/lastmod per URL.
URL Validation
Validates each URL format and flags invalid entries with inline error messages.
Global Default Settings
Set changefreq, priority, and lastmod for all URLs at once.
Per-URL Advanced Mode
Individual settings per URL shown in a table for lists under 50 URLs.
Mixed Domain Warning
Warns if URLs from different domains are detected.
Download as sitemap.xml
Downloads the generated XML with the correct filename.
How to Use
- 1
Enter URLs
Paste one URL per line into the input textarea.
- 2
Set global defaults
Choose changefreq, priority, and lastmod that apply to all URLs.
- 3
Advanced mode (optional)
Enable Advanced Mode for lists under 50 URLs to set per-URL values.
- 4
Fix validation errors
Correct any invalid URL formats shown in inline error messages.
- 5
Copy or download
Click Copy to grab the XML or Download to save as sitemap.xml.
Real-World Use Cases
New Website Launch
A developer creates a sitemap for a newly launched site and submits it to Google Search Console to accelerate initial indexing.
Content Audit
An SEO specialist generates a sitemap from a list of blog posts to get a complete picture of published content before a site migration.
Multi-Language Site
A developer uses the per-URL advanced mode to assign correct lastmod dates to recently translated pages across five locales.
Frequently Asked Questions
Related Free Tools
Explore these tools that work great alongside Sitemap Generator: