XML Sitemap Generator
Paste your URLs and get a valid sitemap.xml.
Blank lines are ignored, duplicates are removed, and https:// is added automatically when a line has no scheme.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</urlset>
What is an XML sitemap?
An XML sitemap is a list of a site's URLs, formatted so search engines can read it in one pass instead of discovering pages purely by following links. Each entry can optionally carry a lastmod date, a changefreq hint and a priority value. Search engines treat these as hints, not commands — they help crawlers prioritize what to (re)fetch, but they don't guarantee faster indexing or better rankings on their own.
A sitemap is most useful for large sites, sites with pages that aren't well linked internally, and new sites that don't yet have many inbound links for crawlers to follow.
How to generate your sitemap.xml
- 1Paste your page URLs, one per line — with or without https://.
- 2Set a default change frequency and priority applied to every URL.
- 3Optionally add a last-modified date (or use the Today button).
- 4Fix any invalid lines, then copy or download sitemap.xml and upload it to your site's root.
Submitting and maintaining your sitemap
Once uploaded to https://example.com/sitemap.xml, add its URL to your robots.txt file and submit it in Google Search Console and Bing Webmaster Tools. A sitemap is a snapshot: regenerate and re-upload it whenever you add, remove or significantly change pages. Only include canonical, indexable URLs — leave out pages you've marked noindex, redirects and duplicate versions of the same content, since mixing those in sends search engines conflicting signals.
Frequently asked questions
›How many URLs can one sitemap file hold?
Up to 50,000 URLs or 50 MB uncompressed, per the sitemap protocol spec. If you have more, split them across multiple sitemap files and list all of them in a separate sitemap index file.
›Does priority or changefreq affect my Google ranking?
No. Google has said for years that it largely ignores both values — they're advisory hints some crawlers use for scheduling, not ranking signals. Setting every URL to priority 1.0 has no benefit and is a common misconception.
›Do I need a separate lastmod date for every page?
It's optional but useful: an accurate lastmod tells crawlers a page hasn't changed since they last fetched it, which can reduce unnecessary re-crawling. Only set it to the real last-modified date — setting it to 'today' on every regeneration regardless of actual changes can cause crawlers to distrust the field.
›Why does the tool add https:// automatically?
A valid sitemap <loc> entry must be a complete, absolute URL. If you paste bare domains or paths (like example.com/about), the generator prepends https:// so the URL() validation and the final XML are both well-formed — adjust any that should be http:// or use a different host manually.
›Can I use this for a sitemap index file instead?
Not directly — this tool generates a standard <urlset> sitemap of page URLs. For sites over 50,000 URLs, generate multiple sitemap files with this tool, then hand-write a small <sitemapindex> file that lists each one's URL and upload date.