Sitemap Generator
Generate an XML sitemap from URLs.
About this tool
Paste your page URLs, one per line, and press Generate. The tool returns a sitemap XML document with one url entry per address.
How to use
How it works
Each non-empty line becomes a url element with a loc. The characters &, <, > and quotes are escaped so the XML stays valid. The tool writes only the loc tag: there is no lastmod, changefreq or priority. The sitemap protocol allows up to 50,000 URLs and 50 MB per file, which the tool does not enforce.
Worked example
Two URLs, one with a query
- Input
- https://example.com/ https://example.com/about?a=1&b=2
- Output
- <urlset ...> <url><loc>https://example.com/</loc></url> <url><loc>https://example.com/about?a=1&b=2</loc></url> </urlset>
- Walkthrough
- The ampersand in the second URL is written as & so the XML is valid. (Real output puts each tag on its own line.)
Limitations
- No lastmod, changefreq, priority or image/video entries.
- URLs are not checked for validity or reachability.
- Does not split into several files for large sites.
Questions
How do I create a sitemap.xml?
Does it add lastmod dates?
Why is & shown as &?
How many URLs can a sitemap have?
Features
- XML-escaped URLs
- One url entry per line
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Intro to Google Search Console
Google Search Central
Official GSC intro next to SEO preview and audit helpers.
Watch on YouTubeHow to avoid duplicate content
Google Search Central
Canonical and uniqueness issues meta tools help you catch.
Watch on YouTube
- The Open Graph protocol
ogp.me
OG tags used by social/SEO preview tools.
- Sitemaps overview
Google Search Central
When sitemap and URL tools matter for discovery.