XML Sitemap Generator
Paste a list of URLs and generate a valid XML sitemap with lastmod, changefreq and priority. Validates URLs and downloads sitemap.xml instantly.
sitemap.xml
What is the XML Sitemap Generator?
The XML Sitemap Generator turns a plain list of URLs — one per line — into a valid sitemap. xml file.
- Paste-and-go: one URL per line
- lastmod, changefreq and priority controls
- Per-line URL validation with error reporting
- Proper XML escaping of ampersands and angle brackets
- Download as sitemap.xml or copy to clipboard
- Handles hundreds of URLs instantly, all client-side
How to use the XML Sitemap Generator
- 1
Paste your page URLs into the input, one per line.
- 2
Pick a lastmod date (defaults to today), change frequency and priority.
- 3
Fix any invalid URLs the tool flags.
- 4
Copy the XML or download sitemap.xml.
- 5
Upload the file to your site root and reference it from robots.txt or Search Console.
About the XML Sitemap Generator
The XML Sitemap Generator turns a plain list of URLs — one per line — into a valid sitemap.xml file. Set the last-modified date, change frequency and priority once and they're applied to every URL, with the XML output updating live as you edit.
The tool validates each line, flags anything that isn't an absolute http(s) URL, and escapes special characters correctly so the file passes sitemap validators and Search Console without complaints.
Generation happens entirely in your browser; no crawling, no uploads. It's ideal for small static sites, landing-page collections and quick fixes where a CMS plugin is overkill.
Frequently asked questions
Do changefreq and priority actually affect Google?
Google has said it ignores both changefreq and priority — it relies on lastmod (when accurate) and its own crawl scheduling. Other search engines may still read them. They're included here for completeness, but don't spend time fine-tuning them.
How many URLs can one sitemap contain?
Up to 50,000 URLs and 50 MB uncompressed per file. Beyond that you split into multiple sitemaps and list them in a sitemap index file. For most small sites a single file generated here is plenty.
Does a sitemap guarantee my pages get indexed?
No. A sitemap helps discovery — it tells crawlers your URLs exist — but indexing still depends on page quality, internal linking and crawl budget. Think of it as an invitation, not a command.
Where do I submit my sitemap?
Upload it to your site (commonly /sitemap.xml), then submit the URL in Google Search Console under Sitemaps and in Bing Webmaster Tools. Also add a 'Sitemap:' line to robots.txt so any crawler can find it automatically.
Should the lastmod date be the real modification date?
Yes. Google uses lastmod as a crawl hint only when it's consistently accurate; sites that stamp every URL with today's date teach Google to ignore the field. Set it to when the content genuinely changed.
Guides for XML Sitemap Generator
Related tools
Robots.txt Generator
Build a robots.txt file with user-agent rules, allow/disallow paths, crawl-delay and sitemap URL. One-click presets to allow all, block all, or block AI bots.
Canonical Tag Generator
Generate a correct rel=canonical link tag from any URL, with optional trailing-slash and lowercase normalization. Fix duplicate content the easy way.
Hreflang Tag Generator
Generate hreflang link tags for multilingual and multi-regional sites. Add URL and language rows, include x-default, and catch duplicate locales.
XML Formatter
Format and beautify XML online with proper indentation, or minify it to a single line. Parse errors are reported clearly — free, fast and fully private.
XML Validator
Free online XML validator and syntax checker: verify your XML is well-formed and read the parser's exact error, plus element and attribute counts. Private.