Sitemap Generator
Generate XML sitemaps
Generated sitemap — 1 file
Upload as sitemap.xml at your site root, then reference it in robots.txt and submit in Google Search Console.
Sitemap facts that matter ⌄
- Google ignores priority and changefreq — it announced this years ago. Keep the "omit" box checked unless another system needs them;
lastmodIS used when it's accurate and verifiable. - 50,000-URL / 50 MB limit per file — beyond that you need a sitemap index listing child sitemaps, which this tool generates automatically.
- Only canonical, indexable, 200-OK URLs belong in a sitemap. Listing noindex pages, redirects, or 404s wastes crawl budget and sends conflicting signals.
- Don't fake lastmod — setting every page to today's date when content didn't change teaches Google to distrust your dates.
- A sitemap is a discovery aid, not a ranking factor — internal linking remains how crawling actually works. New sites and large sites with weak internal links benefit most.
About this tool
This free Sitemap Generator turns a list of URLs into a valid, search-engine-ready XML sitemap in seconds: paste your pages, set optional last-modified dates, change frequencies and priorities per entry or as defaults, and the finished XML — correctly formatted, XML-declaration included, ready to upload — updates live below. Copy it to the clipboard or download it as sitemap.xml, and the tool even validates your list as you go: duplicate URLs flagged, malformed URLs caught, entry counts checked against the protocol limits so the file you ship works the first time. What a sitemap actually does is worth understanding, because its job is narrower than most guides imply: it's a discovery aid, not a ranking factor. Search engines find pages through links; a sitemap tells them about pages that *might* be hard to find — a fresh site with few backlinks, a large site with deep page hierarchies, pages separated from the link graph by JavaScript rendering, or a site migrating between platforms. The protocol supports more than a plain URL list too: lastmod tells crawlers when a page materially changed (a signal engines use for crawl scheduling — and, since Google's 2023 deprecation of unused fields, essentially the only sitemap tag with demonstrated crawl effect), changefreq and priority remain valid syntax but are treated as gentle hints at best. The generator reflects this hierarchy honestly: lastmod gets first-class treatment, the other fields are available but labeled as advisory, and the tool enforces the protocol's real constraints — 50,000 URLs or 50MB uncompressed per file, beyond which a sitemap index with multiple files is the correct structure. The workflows this tool fits span site sizes and platforms: the small-site owner maintaining a static sitemap by hand — paste the URLs, download, upload to the web root, done until the next page ships; the blogger on a platform without auto-sitemaps generating one per post batch; the developer preparing sitemaps for a static site where the build could emit one (and then automating that build later, with this tool as the reference); the migration team producing before-and-after sitemaps to reconcile old URLs against new ones during a platform move; the SEO auditing a client's existing sitemap by regenerating it cleanly and diffing; and the multi-language site builder producing separate sitemaps per language or locale folder, ready for hreflang annotation. Once generated, the file's destination is always the same: the domain root (example.com/sitemap.xml), declared in robots.txt with a Sitemap: line, and submitted through Google Search Console and Bing Webmaster Tools so search engines find it immediately — all steps the tool's guidance walks through. Everything runs locally in your browser. Every sitemap is generated by client-side JavaScript on your device — the URLs you paste never reach a server, are never logged and never stored. Disconnect from the internet after the page loads and the generator keeps working. Close the tab and nothing remains anywhere.
Frequently asked questions
What is an XML sitemap and does my website need one?+
An XML sitemap is a machine-readable list of your pages, telling search engines what exists and when it last changed. You need one if: your site is new with few external links, some pages are deep or orphaned from the main navigation, your site uses JavaScript rendering that complicates crawling, or you simply want faster discovery of fresh content. You can safely skip it if every page is linked prominently and your site is small — crawlers will find everything anyway. It's not a ranking boost; it's a discovery aid. But faster discovery of new content is itself worth the ten minutes this generator takes, especially for sites that publish regularly.
How do I create a sitemap for my website?+
Gather your URLs (from your CMS export, a crawl, or your site structure), paste them into the generator one per line, optionally set lastmod dates for pages that changed, and download the finished XML. Place it at your domain root — it must live at example.com/sitemap.xml to cover the whole domain — then submit it in Google Search Console (Sitemaps section) and Bing Webmaster Tools, and declare it in robots.txt with a 'Sitemap:' line so any crawler that reads robots.txt finds it. That's the whole deployment: generate, upload, submit — and every step after generation is a one-time setup unless your site changes.
How many URLs can a sitemap contain?+
The protocol's limits are 50,000 URLs or 50 MB (uncompressed) per sitemap file, whichever comes first. Beyond that, the correct structure is a sitemap index file — a small XML that points to multiple child sitemaps, each holding up to 50,000 more. This generator validates your list against the per-file limit and flags when you're approaching it; very large sites typically split sitemaps by section (posts, products, categories) both for the limit and for cleaner Search Console reporting per content type. If you're past 50,000 URLs, generate child sitemaps per section and let the index reference them — the tool's output includes guidance for that structure.
What is lastmod and does Google actually use it?+
Lastmod tells crawlers when a page's content last changed materially. It's the one sitemap field with demonstrated crawl effect since Google's 2023 update: a valid, accurate lastmod helps search engines schedule re-crawls efficiently — fresh content found faster, unchanged pages left alone. The catch is accuracy: Google compares your lastmod against known update patterns, and systematically false values (auto-set to build time, for instance) get ignored. The generator makes lastmod a first-class field — set it per URL or as a bulk default — and the honest guidance is to provide it only when you know it's true. changefreq and priority remain supported syntax but carry little demonstrable weight; the tool labels them as advisory.
What's the difference between changefreq and priority?+
Both are advisory hints with little demonstrated effect on modern crawlers. changefreq suggests how often a page changes (daily, weekly, monthly) — engines may note it but don't obey it. priority is a 0.0–1.0 self-assessment of a page's importance *within your own site* — it was never comparable across sites, and Google has said it effectively ignores it. They remain valid protocol syntax, which is why the generator offers them (some CMS plugins and older audits expect them), but the tool's guidance is blunt: spend your effort on accurate lastmod values and a clean URL list. A sitemap's real work is discovery and freshness signals, not importance declarations.
Should sitemap URLs be canonical and complete?+
Yes on both counts, and the tool helps you get there. Every URL in a sitemap should be the canonical version — the single URL you want indexed, absolute (with https://), consistent in scheme and host (don't mix www and non-www), and free of session parameters or tracking suffixes. Including both http and https versions or with/without trailing slashes sends deduplication noise to crawlers. And the list should be complete for its scope: every indexable content page, excluding pages blocked by robots.txt (a sitemap containing blocked URLs wastes crawl budget and produces Search Console warnings), noindex pages, or duplicates. The generator flags duplicates and non-absolute URLs as you type — the clean-in, clean-out principle.
Where does the sitemap file go after I download it?+
Upload it to your domain's root so it answers at https://yourdomain.com/sitemap.xml — the root location is what lets one file cover the entire domain (a sitemap in a subdirectory can only list URLs under that path). Then declare it in robots.txt with a line like 'Sitemap: https://yourdomain.com/sitemap.xml' — crawlers of every kind read that declaration — and submit the URL in Google Search Console and Bing Webmaster Tools for immediate processing and error reporting. Search Console also shows you how many listed URLs were actually discovered and indexed, which turns the sitemap from a fire-and-forget file into an ongoing health report.
Are the URLs I paste stored or sent anywhere?+
No — nothing leaves your device. Every sitemap is generated entirely in your browser with client-side JavaScript: the URLs you paste are never transmitted to any server, never logged and never stored. You can verify it directly: after the page loads, disconnect from the internet and the generator keeps working, which is only possible because no network is involved. Close or refresh the tab and everything is gone — no history kept on this site or anywhere else.