Sitemap Generator

Turn a list of URLs into a valid XML sitemap with priority, changefreq and lastmod, then copy or download sitemap.xml.

Paste your page URLs above to build a sitemap.xml instantly.

No uploads. Your files stay on your device.

Free forever, no sign-up, no cookies. Buy me a coffee

How it works

Paste the URLs of the pages you want search engines to index — one per line — and the sitemap generator builds a valid XML sitemap following the sitemaps.org 0.9 schema as you type. Relative paths such as /about are resolved against the base URL, duplicates are removed, invalid lines are skipped, and special characters like & in query strings are XML-escaped for you. Priority can be filled in automatically from each URL's depth (the homepage gets 1.0, one level down 0.8, and so on), and you can add a lastmod date and a changefreq hint. Everything runs in your browser with JavaScript — no crawling, no uploads, and your URL list never touches a server. Download the result as sitemap.xml, put it in your site root, and add the robots.txt line so Google and Bing can find it.

Frequently asked questions

How do I create a sitemap.xml for my website?

Paste the URLs of the pages you want indexed — one per line — into the box above. If you only have paths like /about, fill in your base URL and they will be resolved for you. Pick a change frequency, a priority (or let it be set automatically from each URL's depth) and an optional last-modified date, then click Download sitemap.xml. Upload that file to the root of your site so it is reachable at https://yoursite.com/sitemap.xml.

How many URLs can one XML sitemap contain?

The sitemaps.org spec allows up to 50,000 URLs and 50 MB uncompressed per file, and this generator warns you if you go over that. There is no other limit here: unlike crawler-based generators that stop at 500 URLs on their free tier, you can paste as many URLs as you like. For bigger sites, split the list into several sitemap files and reference them from a sitemap index.

Where do I put sitemap.xml and how do I submit it to Google?

Place the file at the root of your domain (https://yoursite.com/sitemap.xml) and add the robots.txt line shown above — copy it with one click. Then open Google Search Console, go to Indexing → Sitemaps, enter sitemap.xml and submit; Bing Webmaster Tools works the same way. Search engines will re-fetch it periodically, so regenerate it whenever you add or remove pages.

Report a bug