SEO Tools
XML Sitemap Generator
Generate a spec-compliant sitemap.xml from a list of URLs. Set lastmod, changefreq, and priority. Auto sitemap index for sites over 50,000 URLs.
sitemap.xml
Spec-compliant urlset following sitemaps.org 0.9. Ready to upload at the root of your domain.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/about</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/products</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/products/widget</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/products/gadget</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/blog</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/blog/launching-our-product</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/blog/changelog</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/contact</loc>
<lastmod>2026-05-18</lastmod>
</url>
<url>
<loc>https://example.com/privacy</loc>
<lastmod>2026-05-18</lastmod>
</url>
</urlset>How to use
- Paste one URL per line into the input. Lines without a scheme are treated as https:// when the auto-fill option is enabled.
- Pick a uniform lastmod (Omit, Use today UTC, or Use custom date) plus optional changefreq and priority values that apply to every URL.
- Read the Notices panel for invalid URLs, duplicate entries, mixed schemes, or hostnames that span multiple domains.
- Click Copy XML to copy the sitemap or Download .xml to save sitemap.xml. For URL lists over 50,000 entries, also copy or download the auto-generated sitemap index.
- Upload sitemap.xml to the root of your domain (https://yourdomain.com/sitemap.xml) and reference it from your robots.txt with the line Sitemap: https://yourdomain.com/sitemap.xml.
About this tool
XML Sitemap Generator builds a search-engine-ready sitemap.xml from any list of URLs, following the sitemaps.org 0.9 protocol that Google, Bing, and the rest of the major crawlers consume. Paste one URL per line and the tool parses each entry through the browser's native URL constructor, so scheme, host, port, percent encoding, and IDN/punycode all behave the same way Googlebot would interpret them. Per-sitemap controls let you stamp every entry with a uniform lastmod (today's UTC date or a custom W3C Datetime), a changefreq value (always, hourly, daily, weekly, monthly, yearly, never, or omit), and a priority between 0.0 and 1.0. URLs are deduplicated as a one-click action, and warnings flag the issues that quietly break crawl coverage in production: invalid URLs, mixed schemes (http and https in the same file), URLs that span multiple hostnames (a sitemap may only list URLs that share the host of the sitemap file), duplicate <loc> entries, and sitemaps that exceed the 50,000 URL or 50 MB-per-file ceiling defined by the protocol. When the URL count is over 50,000, the tool automatically previews a sitemap index file with auto-numbered child sitemaps (sitemap-01.xml, sitemap-02.xml, ...) so you can ship a multi-file sitemap without hand-editing XML. Output is generated locally in your browser, with proper XML entity escaping (&, <, >, ", ') in every <loc>, the required encoding declaration, and the urlset namespace. Copy the result into a text editor or click Download .xml to grab a ready-to-deploy file. Useful for static sites that do not have a CMS plugin, marketing pages that need to ship a sitemap before launch, headless storefronts, JAMstack blogs, internal documentation portals, and any deployment where the sitemap is hand-curated rather than auto-generated. Because everything runs client-side, you can paste private staging URLs, internal beta pages, and pre-launch product URLs without those URLs touching a third-party server.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
XML Sitemap Validator
Validate sitemap.xml structure, surface errors with line numbers, and extract every URL.
Open tool
SEORobots.txt Generator
Generate a valid robots.txt with grouped rules, sitemap URLs, and useful presets.
Open tool
SEOCanonical Tag Generator
Build a normalized rel=canonical link tag and HTTP header from any URL.
Open tool
SEOMeta Tag Preview
SERP, Open Graph, and Twitter Card preview with pixel-accurate length checks.
Open tool
DeveloperURL Parser
Break a URL into protocol, host, path, query params, and fragment with decoded values.
Open tool