XML Sitemap Generator
Convert a newline-separated list of HTTP/HTTPS webpage URLs into a valid, XML-escaped sitemap.xml <urlset> document with today's lastmod date, changefreq, and priority tags.
Detected 3 valid URLs
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.readers24.com/</loc>
<lastmod>2026-11-30</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.readers24.com/seo-tools/</loc>
<lastmod>2026-11-30</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.readers24.com/image-tools/</loc>
<lastmod>2026-11-30</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>How to Use XML Sitemap Generator
Paste one canonical URL per line
Enter full URLs starting with https:// or http://; lines without a valid protocol prefix are automatically filtered out.
Select Change Frequency & Priority
Pick daily, weekly, or monthly changefreq alongside priority weights (0.4 to 1.0) applied consistently across the <urlset>.
Copy XML or download sitemap.xml
Inspect the live XML preview, click Copy or Download sitemap.xml, and test it in XML Sitemap Validator before uploading to Google Search Console.
Practical Use Cases
- Create an instant sitemap.xml for small static landing page sites, portfolio collections, or single-page microsites lacking CMS plugins.
- Ensure canonical trailing-slash URLs match live site navigation without redirecting 301 links inside sitemaps.
- Safely generate XML for URLs containing query parameters without corrupting unescaped ampersands (&).
- Bundle prioritized cornerstones and documentation routes with consistent ISO YYYY-MM-DD lastmod dates.
Real Input & Output Examples
Multi-Page Static Portfolio Sitemap
Generates clean urlset XML entries using YYYY-MM-DD timestamps.
https://www.readers24.com/ https://www.readers24.com/seo-tools/ changefreq: weekly | priority: 0.8
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.readers24.com/</loc>
<lastmod>2026-11-28</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>XML-Escaping Ampersands in Parameter URLs
Raw '&' characters inside <loc> are automatically converted to '&' for valid XML.
https://example.com/archive?cat=seo&page=2
<loc>https://example.com/archive?cat=seo&page=2</loc>
Features, Supported Standards & Limitations
Automatic XML Character Escaping
Converts &, <, >, ", and ' inside URLs into compliant XML entities (&, <, etc.) so Google Search Console never rejects syntax.
Protocol Filtering & Live URL Counter
Counts valid http:// or https:// lines automatically and skips accidental blank lines or partial paths.
ISO 8601 Date Stamping
Writes today's current YYYY-MM-DD date inside <lastmod> for every generated <url> entry.
Direct sitemap.xml Export
Downloads UTF-8 application/xml markup ready to upload directly to /sitemap.xml.
Supported Formats, Standards & Inputs
- Sitemaps.org 0.9 XML schema (xmlns="http://www.sitemaps.org/schemas/sitemap/0.9")
- UTF-8 XML encoding with entity escaping inside <loc>
- ISO 8601 YYYY-MM-DD <lastmod> date format
Limitations & Compatibility
- Applies one uniform changefreq and priority choice across all pasted URLs rather than per-row overrides.
- Does not crawl websites automatically—you must paste the URL list yourself.
- Note that Google officially ignores <priority> and <changefreq> values in ranking decisions, focusing primarily on <loc> and reliable <lastmod> dates.
Related Workflow Tools
Complementary utilities commonly paired with XML Sitemap Generator
XML Sitemap Validator
Check XML sitemap syntax, root structure, and <loc> URL counts.
Robots.txt Generator
Create a valid robots.txt file with Disallow rules and AI bot blocks.
Canonical URL Checker
Inspect rel=canonical declarations on live public pages.
HTTP Status Checker
Inspect direct HTTP status code, redirect Location & headers live.
Frequently Asked Questions
Does XML Sitemap Generator automatically crawl my domain to discover links?
No—for speed and browser-only privacy, you paste your known URLs one per line and the generator immediately formats them into valid Sitemaps 0.9 XML.
Why did my generated URL turn '&' into '&'?
In strict XML, raw '&' characters outside entities cause fatal parsing errors in Google Search Console ('Sitemap could not be read'). Escaping '&' as '&' is required by XML specifications.
How many URLs can a single XML sitemap hold?
Search engines allow up to 50,000 URLs or 50 MB uncompressed per individual sitemap file. Larger sites split lists into multiple sitemaps referenced by a <sitemapindex>.
Should redirected (301/302) or noindex URLs be listed in my sitemap?
No. Only include final canonical HTTP 200 URLs; use Canonical URL Checker and HTTP Status Checker if unsure which URL variant is canonical.
How can I double-check the output XML syntax before deploying?
Paste the generated XML into XML Sitemap Validator right on Readers24 to confirm valid XML parsing and <urlset> structure.