Sitemap XML to CSV Converter
Paste sitemap XML and pull every <loc> entry into a clean CSV you can download or copy.
Sitemap XML
Paste a <urlset> sitemap or a <sitemapindex> file to extract its entries.
Processing happens locally in your browser; nothing is uploaded.
CSV tableLive table preview. Uncheck a column to drop it from the copy and download output.
Extract a sitemap to see a preview here.
Typical sitemaps process in under 10ms on modern browsers.
How to convert a sitemap to CSV
Convert in 3 steps
Takes ~5 seconds- 1Paste sitemap XML
Add your sitemap or sitemap index XML in the input box.
- 2Extract
Click "Extract to CSV" to parse every entry.
- 3Pick columns
Uncheck any columns you don't want, then copy or download.
Who should use this tool?
- SEOs auditing site structure
- Developers migrating URLs
- Analysts reviewing site freshness
Examples
Extracts a URL with a lastmod date.
<urlset><url><loc>https://example.com/</loc><lastmod>2026-01-15</lastmod></url></urlset>
url,type,lastmod https://example.com/,url,2026-01-15
Extracts a URL without a lastmod date.
<urlset><url><loc>https://example.com/about</loc></url></urlset>
url,type,lastmod https://example.com/about,url,
Extracts child sitemaps from a sitemap index.
<sitemapindex><sitemap><loc>https://example.com/sitemap1.xml</loc></sitemap></sitemapindex>
url,type,lastmod https://example.com/sitemap1.xml,sitemap,
Turn sitemap XML into CSV
Pull every URL out of a sitemap without writing a parser.
Use this sitemap to CSV converter to extract page URLs or child sitemap URLs from any XML sitemap. Paste a <urlset> or <sitemapindex> document, extract the entries, preview them as a table, and download a CSV with only the columns you need. Everything runs locally in your browser for fast, private conversion.
Works with regular sitemaps and sitemap index files.
- Extracts page URLs
- Extracts child sitemap URLs
- Captures lastmod dates
Get a CSV you can open in a spreadsheet or import elsewhere.
- One click download
- Copy to clipboard
- No server upload
Sitemap tips
Keep sitemap XML well-formed for reliable extraction.
- Paste the full sitemap document, including the root element.
- Check the type column to tell page URLs apart from child sitemaps.
- Uncheck the lastmod column if you only need the URLs.
- Re-fetch large sitemaps in sections if they exceed browser paste limits.
Frequently asked questions
Does this work with sitemap index files?>
Can I choose which columns end up in the CSV?>
Is my sitemap data sent anywhere?>
What if a URL has no lastmod date?>
Can I fetch a sitemap URL directly instead of pasting it?>
Related Data tools
Convert line-separated text into a JSON array of strings. Paste your list, choose whether to keep blank lines, and copy or download the JSON instantly.
Convert tab-separated values to CSV instantly. Handles commas, quotes, and embedded newlines with proper RFC 4180 CSV quoting. Free and browser-based.
Convert TSV data to a JSON array of objects instantly. Headers become keys, rows become records. Fast, free, and browser-based.
Convert TSV data to XML instantly. Headers become element tags, rows become XML nodes. Special characters are escaped automatically in your browser.
Convert TSV data to YAML instantly. Paste tab-separated values and get a clean YAML list of mappings. Fast, free, and browser-based.