XML Sitemap Generator
Paste your list of URLs, set an optional changefreq, priority and last-modified date, and get a valid sitemap.xml you can download and drop in your site root.
This xml sitemap generator turns a plain list of page URLs into a valid sitemap.xml, the file search engines use to discover every page on your site. Paste your addresses one per line and the file builds as you go — duplicate and blank lines are dropped and each URL is escaped so query strings with ampersands stay valid. Set a shared changefreq, priority and last-modified date, or leave any of them off. When you’re happy, download the file or copy it. It’s a no-fuss sitemap maker that runs in your browser, so you can generate a sitemap online without pasting your URLs into someone else’s server.
These values apply to every URL as a shared default. Duplicate and blank lines are dropped, and each address is XML-escaped so query strings with & stay valid.
Save this as sitemap.xml in your site root, then point search engines at it — add Sitemap: https://yoursite.com/sitemap.xml to robots.txt and submit the URL in Google Search Console.
<?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-07-31</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-07-31</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog</loc>
<lastmod>2026-07-31</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/blog/getting-started</loc>
<lastmod>2026-07-31</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-07-31</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>How it works
- 1
Paste your URLs
One full URL per line. The counter shows how many were found after blanks and duplicates are removed.
- 2
Set the optional values
Pick a change frequency and priority to apply to every URL, and choose whether to include a last-modified date.
- 3
Download sitemap.xml
Copy the XML or download the file, then upload it to your site root and reference it from robots.txt.
Instant & 100% private — nothing is uploaded
Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.
Frequently asked questions
- Where do I put the sitemap.xml file?
- In your site’s root, so it’s reachable at https://yoursite.com/sitemap.xml. Then add a “Sitemap:” line to robots.txt and submit the URL in Google Search Console.
- What do changefreq and priority actually do?
- They’re hints, not commands. changefreq suggests how often a page changes and priority ranks pages against each other on your own site. Google largely ignores them now, so it’s fine to leave them off.
- How many URLs can a sitemap hold?
- A single sitemap can list up to 50,000 URLs and must stay under 50 MB uncompressed. Past that, split it into several files and list them in a sitemap index.
- Do I need a lastmod date?
- It’s optional but useful — an accurate last-modified date helps crawlers spot what’s changed. This tool fills today’s date when you enable lastmod and leave the field blank.
- Is my URL list uploaded anywhere?
- No. The whole sitemap is built in your browser, so you can create sitemap.xml without your list of URLs leaving your device.
More tools
More from the Hivly network
Free sister tools on our other sites.