sitemap.xml Generator.
Turn a list of URLs or paths into a valid sitemap.xml with optional lastmod, changefreq and priority.
Runs in your browserAbout sitemap.xml Generator
sitemap.xml Generator converts a plain list of pages into an XML sitemap that follows the sitemaps.org 0.9 protocol used by Google, Bing and other search engines. Paste absolute URLs or site-relative paths (one per line) and set the base URL to expand the paths, for example /pricing becomes https://example.com/pricing. Duplicates are removed, the scheme and host are normalised to lower case, characters that are not allowed in URLs (spaces, non-ASCII letters) are percent-encoded, and XML special characters are escaped, so a link like /search?q=a&lang=en correctly becomes & in the file. Optionally add a lastmod date (today or a date you choose), a changefreq value or a priority. Be honest with these: Google ignores changefreq and priority, and it uses lastmod only when it is consistently accurate, so stamping every page with today's date on each build teaches crawlers to distrust it. Other common mistakes: listing URLs that redirect, return 404 or are blocked by robots.txt or noindex, mixing http and https or www and non-www versions, and exceeding the limits of 50,000 URLs or 50 MB uncompressed per file (split larger sites and use a sitemap index). Once generated, upload the file to your site, reference it in robots.txt with a Sitemap line and submit it in Google Search Console.
How to Use
- Paste URLs or paths, one per line, and set the base URL for paths.
- Choose optional lastmod, changefreq and priority values.
- Download sitemap.xml, upload it to your site and add it to robots.txt.
Frequently Asked Questions
Do changefreq and priority affect rankings?
No. Google has said it ignores both. They are kept here because some other crawlers and tools still read them; leave them at "none" if unsure.
How many URLs can one sitemap contain?
Up to 50,000 URLs and 50 MB uncompressed. Larger sites need several sitemaps listed in a sitemap index file.
Should every URL on my site be listed?
List only canonical, indexable pages that return 200. Leave out redirects, error pages, parameter variants and pages marked noindex.
Are my URLs sent to a server?
No. The sitemap is built in your browser.
Related Tools
Validate an XML sitemap or sitemap index - structure, URLs, lastmod dates and limits.
Build a valid robots.txt with allow and disallow rules, crawl delay, sitemaps and optional AI crawler blocking.
Generate title, description, canonical, Open Graph and X (Twitter) card tags with length checks.
Encode and decode URL components.
Turn titles into clean URL slugs, with Ukrainian and Russian transliteration and accent removal.
Generate UUID v4, UUID v7, and ULID identifiers.