XML Sitemap Generator
Generate an XML sitemap from a list of URLs.
Loading…
About XML Sitemap Generator
A sitemap gives search engines a plain list of the pages you want them to find. Paste your addresses, one per line, choose a change frequency, a priority and a last-modified date, and press Generate Sitemap XML. The tool normalizes each address, removes duplicates and wraps the list in the standard urlset format. If any line is not a valid public URL, nothing is produced until you fix it, so you never copy a half-built file.
Features
- Writes loc, lastmod, changefreq and priority for each URL
- Removes duplicate lines and normalizes addresses before writing them
- Rejects localhost, private and non-http addresses and names the first bad lines
- Change frequency from always to never and priority from 1.0 to 0.1
- Warns when the list passes 50,000 URLs or 50 MB
Limitations
- Change frequency, priority and last-modified date are the same for every URL; edit the XML afterwards if some pages need different values.
- Above 50,000 URLs or 50 MB uncompressed the tool warns you to split the list into several sitemaps, but it does not build a sitemap index for you.
- Nothing is crawled or fetched: the sitemap contains exactly the addresses you paste, whether or not the pages exist.
- Downloading sitemap.xml needs a free account; copying the XML does not.
How it works
- Paste your page addresses into the URLs box, one per line; three example addresses are there to start with.
- Pick a change frequency, a priority and a last-modified date, which apply to every URL in the list.
- Press Generate Sitemap XML.
- If an error names invalid lines, fix them and generate again, because the output stays empty until every line is valid.
- Copy the XML, or download it as sitemap.xml and upload it to your site.
Example input
<url>
<loc>https://example.com/</loc>
<lastmod>2026-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>Frequently asked questions
- The output stays empty when the box is blank or any line is not a valid public http or https URL. The error lists up to the first three bad lines and how many more there are. A line without https://, with a space in the host or pointing at localhost is rejected.
- Yes. Identical lines are collapsed, and so are addresses that normalize to the same form, for example ones that differ only in host capitalization. Blank lines are ignored, and the file holds each unique address once.
- Every URL gets what you chose above the button: the date for lastmod, the frequency for changefreq and the priority written with one decimal. The date starts as today and can be cleared to leave lastmod out.
- Upload the file to your site first. Then add a Sitemap line to robots.txt, which the robots.txt generator can write, or submit the sitemap address in the search engine's webmaster tools. This tool only creates the file.
- The form has no cap, but it shows a warning above 50,000 URLs or 50 MB of XML, the most one sitemap file may hold. The XML is still displayed, so you can split the list yourself.
Related tools
- Robots.txt GeneratorGenerate a robots.txt file with a form-based builder.
- Canonical URL GeneratorGenerate a canonical <link> tag for any URL.
- Full Site AuditAudit a page plus a few of its internal pages at once.
- HTTP Status CheckerCheck HTTP status codes and redirect chains.
- Redirect CheckerTrace redirect chains for any URL.
