SEO tool
Sitemap Generator
Build an XML sitemap from a list of URLs. Paste your page URLs, and the tool produces valid sitemap XML you can upload to your site and submit to search engines.
Your URLs are processed locally in the browser — nothing is sent anywhere.
Privacy & data handling
Browser processingThis tool processes your input locally in your browser. Nothing is uploaded to a server or sent to an external service.
Interactive tool
Sitemap Generator
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-08-19</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-08-19</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/tools</loc>
<lastmod>2026-08-19</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog</loc>
<lastmod>2026-08-19</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>Overview
What does Sitemap Generator do?
This tool wraps each URL you provide in the XML structure search engines expect from a sitemap. Paste one URL per line, and the output is a complete <urlset> document with each URL inside a <url><loc> entry.
The tool handles up to 50 URLs per run — plenty for a small site or a section of a larger one. The output is valid XML as defined by the sitemap protocol, so it can be uploaded directly to your web server.
It is a builder, not a crawler: it does not scan your site or discover pages. You supply the URLs; the tool makes sure they're formatted correctly.
Under the hood
How does it work?
Your input lines are read one at a time, each treated as a URL. The tool assembles them into the standard sitemap XML skeleton — the <urlset> root with the sitemap namespace, and one <url><loc> entry per URL — in the order you provided.
The document is generated in the browser and shown for copying. Because it is plain string assembly, there is no server involved and no data leaves your device.
Sitemaps help search engines discover pages, but they are not a ranking factor and do not guarantee indexing — they simply announce which URLs exist.
Key features
Features of Sitemap Generator
Use cases
When should you use Sitemap Generator?
New sites
Generate a first sitemap from your known URLs and submit it in Google Search Console.
Static sites
Sitemaps are often generated by frameworks, but for a simple static site a hand-built one from your URL list works perfectly.
Section sitemaps
Generate a sitemap for one part of a large site — new products, a blog section — without touching the rest.
Verifying structure
Produce the XML and compare it with what your CMS or framework generates to check the format is valid.
Step-by-step
How to use Sitemap Generator
- Step 1
Enter your page URLs and their priorities.
- Step 2
Set change frequency and last modified dates.
- Step 3
Copy the generated XML sitemap.
Real example
Example
Your URLs
https://example.com/ https://example.com/about https://example.com/blog
Sitemap XML
<?xml version="1.0"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>https://example.com/</loc></url> <url><loc>https://example.com/about</loc></url> <url><loc>https://example.com/blog</loc></url> </urlset>
One <url><loc> entry per input line, up to 50 URLs per run.
Technical information
How the details work
The sitemap protocol defines a strict XML structure: a <urlset> root that declares the sitemap namespace, containing one <url> element per page, each with a <loc> child holding the page's absolute URL. Optional elements like <lastmod>, <changefreq>, and <priority> provide hints but are not required — and search engines treat them as hints, not instructions.
A single sitemap can contain up to 50,000 URLs or be at most 50 MB uncompressed. Larger sites use multiple sitemaps, or a sitemap index that lists other sitemaps. This tool's 50-URL-per-run cap is a practical limit for manual entry, not a protocol limit.
Once your sitemap is uploaded, tell search engines where it lives. The standard ways: submit it in Google Search Console, and add a Sitemap line to your robots.txt so any crawler can find it automatically.
Privacy & security
Your data stays yours
Your URLs are processed entirely in your browser. Nothing is uploaded or stored.
Local processing — files stay in your browser
- Sitemap assembly runs locally — no input is transmitted.
- Nothing is retained after you close the tab.
- The XML is copied directly from your browser.
- Analytics only record the page visit.
Limitations
What this tool does not do
- Handles up to 50 URLs per run — large sites need multiple runs or an index sitemap.
- Does not add lastmod, priority, or change frequency fields.
- Does not crawl your site or discover URLs automatically.
- Sitemaps help discovery but do not guarantee indexing.
Frequently asked questions
Common questions about Sitemap Generator
How many URLs can a sitemap contain?
The protocol allows up to 50,000 URLs per sitemap (or 50 MB uncompressed). This tool accepts up to 50 per run for practical manual entry; large sites should split into multiple sitemaps or use a sitemap index.
How do I submit my sitemap to Google?
Upload the sitemap file to your server (for example at /sitemap.xml), then submit it in Google Search Console under Sitemaps. You can also reference it from robots.txt so crawlers find it automatically.
Do I need priority or change frequency fields?
No. They are optional hints and search engines largely ignore them today. A sitemap with just <loc> entries is perfectly valid and useful.
Does a sitemap guarantee indexing?
No. A sitemap announces which URLs exist, which helps discovery and crawling. Whether pages get indexed depends on their quality, accessibility, and internal linking.
Are my URLs private?
Yes. The sitemap is assembled locally in your browser and nothing you paste is sent anywhere.
Can I use this for a site with thousands of pages?
Not in one run — the tool caps at 50 URLs. For large sites, use your CMS or a framework plugin that generates sitemaps automatically, or split the URL list across multiple runs.
Related tools
Robots.txt Generator
NewCreate a robots.txt file to control search engine crawler access to your site.
Canonical URL Checker
NewCheck whether your URLs use HTTPS so they are ready for canonical tags.
Meta Tag Generator
NewDraft a meta title and description at common character limits for your page.
Related guides
Practical articles to help you get the most out of this tool and related workflows.
Need another tool?
Browse the full catalog and jump between related workflows with SEO-friendly internal links.
Explore all tools