XML Sitemap Generator
Build a sitemaps.org-conformant XML sitemap from a URL list. Auto-paginates at 50,000 URLs or 45 MB, generates a wrapping sitemap-index, downloads as a single file or a multi-file ZIP.
Interactive tool
Input
Up to 200,000 URLs. Anything over 50,000 is auto-paginated.
Output
Paste URLs on the left to generate sitemap.xml here.
What is the XML Sitemap Generator?
A bulk XML sitemap builder that emits sitemaps.org 0.9 conformant <urlset> files. Paste up to 200,000 URLs (with optional lastmod / changefreq / priority columns) and get a ready-to-deploy sitemap. Anything over 50,000 URLs (or 45 MB) is auto-split into multiple child sitemaps wrapped in a <sitemapindex>.
How to Use the XML Sitemap Generator
- 1Paste your URLs into the row editor (one per line) or use the bulk-paste textarea
- 2Optionally add lastmod (YYYY-MM-DD or ISO 8601), changefreq, and priority columns
- 3Set the base URL the sitemap will be served from: used for the sitemap-index <loc> values
- 4Review validation errors (bad URL schemes, oversize priorities) and warnings (malformed lastmod, duplicates)
- 5For small inputs: download sitemap.xml. For inputs over the cap: download the ZIP that contains every child file plus the wrapping index
- 6Use the "Open in Sitemap Validator" deep-link to re-validate the rendered XML
Key features
sitemaps.org 0.9 conformance
XML emitter is round-trip-tested against the existing Sitemap Validator. <urlset> shape, namespace, and escaping all match the spec.
Auto-pagination
Greedy splitter at 50,000 URLs / 45 MB per file. Produces the sitemap-index wrapper automatically when pagination kicks in.
Optional columns
lastmod, changefreq (always / hourly / daily / weekly / monthly / yearly / never), priority (0.0 to 1.0). Anything missing is silently omitted.
ZIP download
When pagination is needed, the ZIP contains every child sitemap plus sitemap.xml at the root: drop the files at your domain root and you’re done.
Live validation
Per-row validation surfaces bad URLs, malformed lastmod, out-of-range priorities, and duplicate <loc> entries.
Deep-link to the Validator
One-click hand-off to the Sitemap Validator so you can re-confirm against the same parser external tools use.
Why use an XML sitemap?
An XML sitemap is the canonical list of URLs you want search engines to consider. It accelerates discovery on large or thin-link sites, surfaces URLs that aren't reachable from internal navigation, and gives crawlers per-URL freshness hints via lastmod.
Common use cases
- Generating a sitemap for a new site before launch
- Splitting a large e-commerce sitemap into 50K-URL chunks
- Producing a news-specific sitemap with daily lastmod stamps
- Re-emitting after a URL migration so Google re-crawls the new structure quickly
- Building a multi-locale site with separate sitemaps per language
Pagination thresholds
- 50,000 URLs per file (sitemaps.org hard cap).
- 45 MB per file (we cap at 45 MB even though the spec allows 50 MB: keeps a safety margin against UTF-8 expansion).
- A sitemap-index is created automatically when either cap is hit.
lastmod formats
ISO 8601 only. Date-only (YYYY-MM-DD) is fine for daily granularity; full datetime (YYYY-MM-DDThh:mm:ssZ or with offset) is fine for sub-day freshness. Anything else triggers a warning.
priority is a hint
priority is a hint about importance within your site: not a global ranking signal. Most crawlers ignore it. Set 1.0 for your home page if you must, but it rarely moves the needle.
Tips & best practices
Don't list URLs Google can't crawl
If robots.txt disallows a URL, omitting it from the sitemap is correct. Listing then disallowing is an inconsistent signal Google penalises.
Refresh lastmod when content actually changes
Faking lastmod to nudge re-crawls is detected by Google and lowers trust in your sitemap.
Submit via Google Search Console after deploy
GSC > Sitemaps > Add a new sitemap. Re-submit any time you regenerate.
Reference the sitemap from robots.txt
Add a Sitemap: https://yoursite.com/sitemap.xml line in your robots.txt so non-Google crawlers find it without configuration.
Privacy & security
This tool runs entirely in your browser. URLs and the rendered XML never leave your device.
Related tools
- Favicon Generator
Generate a complete favicon bundle from an image, text, or emoji: multi-size .ico, PNG, Apple touch icon, manifest, and HTML snippet
SEO Tools
- Meta Description Generator
Write SEO meta descriptions with live character and pixel-width counts plus Google desktop, Google mobile, and Bing truncation previews. Optionally fetch and edit an existing description from a live URL.
SEO Tools
- Schema Markup Validator
Validate JSON-LD, Microdata, and RDFa schema markup against Google Rich Results criteria. Paste HTML or JSON-LD, or fetch from any URL: get per-block required-field reports.
SEO Tools
- Robots Meta Generator
Build a <meta name="robots"> tag and the matching X-Robots-Tag HTTP header. Combine noindex, nofollow, noarchive, nosnippet, max-snippet, max-image-preview, max-video-preview, and unavailable_after with per-engine support hints.
SEO Tools
- Hreflang Generator
Generate hreflang link tags and XML sitemap fragments for international sites, with BCP 47 validation, x-default support, and reciprocity checks.
SEO Tools
- HTML Meta and Heading Extractor
Extract every meta, title, link, canonical, and hreflang tag from an HTML page, or analyze the H1-H6 heading outline with accessibility flags. Paste HTML or fetch any URL.
SEO Tools
Frequently Asked Questions
What is the maximum sitemap size?
50,000 URLs and 50 MB per file are the sitemaps.org caps. We split at 45 MB for headroom. Larger inputs trigger automatic pagination into multiple child sitemaps wrapped in a <sitemapindex>.
Do I need lastmod / changefreq / priority?
lastmod is genuinely useful. Google uses it to prioritise re-crawling. changefreq and priority are mostly ignored by major crawlers and can be safely omitted.
Should I gzip the sitemap?
Yes for large files. Both the 50K-URL and 50 MB caps apply to the uncompressed size. Serve the gzipped sitemap with Content-Encoding: gzip and a .gz extension if you prefer.
Where should I host the sitemap?
At the root of your domain: https://yoursite.com/sitemap.xml. Reference it from robots.txt (Sitemap: https://yoursite.com/sitemap.xml) and submit through Google Search Console > Sitemaps for fastest pickup.
Does the tool run client-side?
Yes. All XML generation and pagination happens in your browser. URLs never leave your device.