XML to CSV Converter
Turn XML exports and feeds into a spreadsheet-friendly table. The tool finds the repeating elements, lets you choose which one is a row, and shows the detected columns before you download. XML is parsed locally and nothing external is ever loaded. Everything is processed in your browser; your data is not uploaded.
1. XML input
Local onlyProcessed in your browser; your files and data are not uploaded or stored. Formulas, macros and scripts in your data are never run.
2. Table result
Live previewFor safety, XML containing a DOCTYPE, entity declarations or processing instructions is rejected before it is parsed. Only the XML declaration at the very start is accepted.
CSV downloads use safe export by default: cells starting with =, +, -, @, a tab or a carriage return get a leading apostrophe so spreadsheet apps treat them as text.
XML is parsed in your browser's memory. Limits: 10 MB of XML, 200,000 records and 1,000 columns.
About XML to CSV Converter
XML to CSV Converter reads XML locally and turns repeating record elements into table rows. Attributes and child elements become columns, one nested level is flattened into dot-notation columns, and deeper content is kept as XML text instead of being dropped.
XML exports are hard to review in a spreadsheet. This tool finds the elements that repeat, lets you choose which one is a record, and shows the detected columns before download. Unsafe XML features such as DTDs, entities and processing instructions are refused before parsing.
Step by step
- Upload an .xml file or paste the XML.
- Choose the repeating record element if more than one is found.
- Review the detected columns and table preview.
- Choose CSV or TSV and safe or raw export.
- Download the table.
What it offers
- Automatic detection of repeating record elements
- Attributes as attr_ columns and child elements as columns
- One nested level flattened with dot notation
- Deeper content kept as XML text
- Repeated child elements numbered (phone, phone_2)
- DOCTYPE, entities and processing instructions blocked
Tips for best results
- Pick the element that represents one real-world record.
- Check the detected columns for unexpected names.
- Remove DOCTYPE lines from trusted files before converting.
- Use safe export for files opened in spreadsheets.
Why people use it
Structure-aware
Records, attributes and nested fields mapped clearly.
Safe parsing
No DTDs, entities or external content.
Private
XML is parsed on your device.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.