# XML Sitemap Generator > Free XML sitemap generator that runs in the browser: paste a list of page URLs (one per line, optionally followed by a date such as 2025-01-15), paths with a site address, a crawl export as CSV (an Address, URL or Loc column; Status Code, Indexability, Meta Robots, Canonical Link Element and Last Modified columns are used when present) or an existing sitemap.xml, and download a sitemap.xml that follows the sitemaps.org protocol. Above 50,000 URLs or 50 MB it writes a sitemap index and numbered parts, downloaded together as a zip. Also the robots.txt Sitemap: line, a CSV of every address with the reason it was left out, a Next.js app/sitemap.ts and a Markdown checklist for submitting the sitemap in Google Search Console. Nothing is uploaded. An optional, metered AI review names listed pages that should not be in the sitemap, suggests sections to split a large sitemap by, and gives up to three tips; the page checks every line against the visitor's list. URL: https://xml-sitemap-generator.skillsafe.ai/ API: https://xml-sitemap-generator.skillsafe.ai/api.html ## What the free generator does (in the browser, no sign-in) - Keeps one host (the site address from the options, a "Site:" line, or the host most addresses use) and lists the others as left out, including the www or bare form not chosen. - Leaves out: entries that are not web addresses, mailto:/tel: links, addresses over 2,048 characters, files (images, scripts, styles, feeds, documents), admin, sign-in, account, cart, checkout, API, draft and preview pages, internal search results, sorted or filtered copies, session ids, and from a crawl export: redirects, errors, noindex pages and pages whose canonical is another page. Exact duplicates and the same page written another way (case, trailing slash, index file) are listed once. - Removes tracking parameters (utm_*, gclid, fbclid, msclkid and similar) and fragments; moves http addresses to https when the site is https. - Priority and change frequency by page type: home 1.0 daily, language home 0.9 daily, list pages 0.9 weekly, main pages 0.8 monthly, content 0.7 monthly, archives (tag, category, author, numbered pages) 0.6 weekly, legal pages 0.5 yearly. Or as listed, or left out. - lastmod only from real dates in W3C format; dates in the future, in a wrong format, or shared by every page are left out; today's date is never used. - Optional hreflang alternates (xhtml:link) for the same path in several language folders, with x-default. - Checks: no site address, http site, other hosts, mixed www and bare, query strings, no home page, dates, flat priorities, languages without hreflang, small sites. ## The optional AI review (sign-in, metered) Input: task "review", site, total, sections ("prefix | count" lines), pages ("path | type" lines; long lists keep their first 200 and last 100 and say so in items_note), left_out ("reason | count | example" lines), problems (check codes), items_note. Reply: one JSON object {exclude: [{path, why}], sections: [{name, prefix}], tips: [string]}. A path may hold one * to name a group. The page refuses pages not in the list, the home page, groups of more than half the pages, sections for lists under 1,000 pages or with no pages, and tips that add a number, a name or a ranking promise. Undo returns to the visitor's sitemap. ## Source Adapted from the agent skill @kostja94/xml-sitemap (kostja94/marketing-skills, MIT): https://skillsafe.ai/skill/@kostja94/xml-sitemap