XML Sitemap Generator
An XML sitemap is the file that tells Google and Bing which URLs on a site are worth crawling, and a malformed one is silently ignored, so the markup has to be exactly right. This XML sitemap generator turns a plain list of page URLs, one per line, into a standards-compliant sitemap.xml with optional changefreq, priority, and lastmod values, and flags every line it could not use.
It is free and runs entirely in your browser, so the URL list never leaves your machine. Paste the addresses, choose your defaults, and copy or download a ready-to-submit sitemap.xml without uploading anything to a server.
Paste any list of page URLs. Each must start with http:// or https://. Blank and invalid lines are skipped.
Defaults to today. Edit to match your real last-modified date.
🔒 Private: everything runs in your browser. Nothing you paste is uploaded.
How to build and submit your XML sitemap
Paste one URL per line, set the optional defaults, and the valid sitemap.xml appears instantly. Copy it or download the file, upload it to your site root, then submit the URL in Google Search Console.
Paste clean, absolute URLs and let the tool validate them
Every entry in a sitemap must be a fully qualified absolute URL that begins with http:// or https://, because relative paths and bare hostnames are rejected by the protocol. Paste one address per line and the generator checks each one, escapes reserved XML characters such as ampersands inside the loc element, removes exact duplicates, and reports how many lines it skipped as invalid. That validation pass matters because a single broken entry can make a crawler distrust the whole file, so the count of kept versus skipped URLs is your fast confidence check before you ship the sitemap.
Set changefreq, priority, and lastmod as honest hints, not commands
The changefreq and priority fields are optional hints, not directives: search engines treat them as weak signals and frequently ignore them, so weekly and 0.8 are reasonable site-wide defaults rather than values worth agonizing over. The lastmod date is the one field crawlers genuinely value, because an accurate last-modified timestamp helps them prioritize pages that actually changed. The tool defaults lastmod to today in valid YYYY-MM-DD form and lets you edit it, so set it to the real modification date where you can and omit any field entirely when you have no trustworthy value to give.
Upload the file and submit it in Search Console
Once the sitemap reads correctly, download sitemap.xml, upload it to the root of your site so it lives at a path like example.com/sitemap.xml, and reference that location in your robots.txt with a Sitemap line. Then open Google Search Console, enter the sitemap path under the Sitemaps report, and submit it so Google can fetch and parse it. A single sitemap file may hold up to 50,000 URLs and must stay under 50MB uncompressed; larger sites split into multiple sitemaps tied together by a sitemap index, which this tool caps for to keep every file valid.
XML sitemap generator frequently asked questions
Q1What is an XML sitemap and do I need one?
An XML sitemap is a structured file listing the URLs you want search engines to crawl, with optional metadata about each one. It does not guarantee indexing, but it helps crawlers discover pages that internal links reach poorly, which matters most for large sites, new sites with few backlinks, and pages buried deep in the structure. Small, well-linked sites benefit less but lose nothing by having one.
Q2How many URLs can a single sitemap file contain?
The sitemap protocol limits a single file to 50,000 URLs and 50MB uncompressed. This generator caps output at 50,000 URLs and tells you when a list exceeds that. If your site is larger, split the URLs across multiple sitemap files and reference them all from a sitemap index file, which is the standard pattern every major search engine supports.
Q3Do changefreq and priority values actually affect ranking?
No. The changefreq and priority fields are hints about crawling, not ranking signals, and Google has stated it largely ignores them. They never influence position in search results. The lastmod date carries more weight because an accurate last-modified timestamp helps crawlers decide which pages to revisit, so spend your effort keeping lastmod truthful rather than tuning priority numbers.
Q4Where do I put the sitemap file once it is generated?
Upload sitemap.xml to the root directory of your site so it resolves at a path like your-domain.com/sitemap.xml. Add a Sitemap line pointing to that URL in your robots.txt file, then submit the same path in Google Search Console under the Sitemaps report. Bing Webmaster Tools accepts it the same way, and both will fetch and parse the file on their own schedule.
Q5Is this sitemap generator safe for confidential URLs?
Yes. Every step runs in your browser with client-side JavaScript, and the URLs you paste are never uploaded, logged, or stored anywhere. The tool keeps working after the page has loaded even with no connection, which makes it safe for staging sites, unlaunched projects, or any URL list you would rather not send to a third-party server.
