Search tools

Find a tool by name or what it does.

XML Sitemap Generator

Turn a list of page URLs into a valid sitemap.xml. Add lastmod, changefreq, and priority, then copy or download the file.

One URL per line. Everything runs in your browser. Nothing is uploaded.

Optional fields

Cleanup

sitemap.xml

5
URLs
428 B
File size
0
Skipped

How to generate an XML sitemap online

  1. Paste your URLs

    Enter your page URLs into the box, one per line.

  2. Choose optional fields

    Turn on lastmod, changefreq, or priority and set the cleanup options to taste.

  3. Copy or download

    Copy the generated sitemap.xml or download the file and upload it to the root of your site.

Why use this tool

One URL per line

Paste a plain list of page URLs and get a url and loc entry for every non-blank line.

Optional lastmod, changefreq, priority

Add today as the last-modified date, a change frequency, and a priority value to every entry with one tap.

Valid and escaped

Ampersands and special characters in query strings are escaped so the sitemap.xml passes validation.

Dedupe and sort

Drop duplicate URLs and sort the list alphabetically for a clean, reviewable file.

Size and limit checks

See a live URL count and estimated file size, with a warning past the 50,000 URL or 50 MB limit.

Runs entirely in your browser

Everything happens on your device. Nothing is uploaded.

About this tool

An XML sitemap tells search engines which pages on your site exist and where to find them. This generator turns a plain list of URLs, one per line, into a valid sitemap.xml that follows the sitemaps.org 0.9 schema. Every line becomes a url entry with its own loc, and you can optionally attach a lastmod date, a changefreq hint, and a priority value to each one.

Paste URLs with or without the https:// prefix. Blank lines are skipped, bare domains are completed for you, and ampersands and other special characters in query strings are escaped so the file stays valid. Turn on deduplication to drop repeated URLs, or sort the list alphabetically for a tidy, reviewable file.

A single sitemap can hold up to 50,000 URLs and 50 MB uncompressed. The tool counts your URLs and estimates the file size as you type, and warns you when either limit is close so you know it is time to split into multiple sitemaps and a sitemap index. When the file is ready, copy it or download sitemap.xml and place it at the root of your site. Pair it with the meta tag generator for page titles and descriptions, or the URL parser to inspect individual links.

Frequently asked questions

What format does the sitemap use?
It follows the sitemaps.org 0.9 XML schema with a urlset root and one url and loc entry per URL, the same format Google and Bing accept.
Do I need to include https:// on every line?
No. Lines without a scheme are completed with https:// for you, and blank lines are skipped. Anything that is not a valid web address is left out and counted separately.
How many URLs can one sitemap hold?
A single sitemap can contain up to 50,000 URLs and 50 MB uncompressed. The tool warns you as you approach either limit so you can split into multiple sitemaps and a sitemap index.
Are ampersands and query strings handled correctly?
Yes. Ampersands and other special characters in query strings are escaped to their XML entities so the file stays valid.
Is my data uploaded anywhere?
No. Everything runs in your browser; nothing is sent to a server.
Where do I put the finished sitemap?
Save it as sitemap.xml at the root of your domain, then reference it in robots.txt or submit it in your search engine dashboard.

Related tools