XML to CSV Conversion
Input
<inventory>
<item>
<sku>A1</sku>
<qty>10</qty>
</item>
<item>
<sku>B2</sku>
<qty>25</qty>
</item>
</inventory>Example output
sku,qty
A1,10
B2,25Convert between repeated XML data structures and delimited CSV or TSV spreadsheets. Features customizable delimiters, header handling, custom XML root/item tags, and automated spreadsheet formula sanitization.
| Operations | XML to CSV (default) and CSV to XML |
|---|---|
| Supported Delimiters | Comma (,), Tab (\t), Semicolon (;), Pipe (|) |
| Safety Protections | XXE entity prevention and CSV formula injection sanitization |
| Maximum Input | 5 MB |
| Execution Deadline | 3 s |
Input
<inventory>
<item>
<sku>A1</sku>
<qty>10</qty>
</item>
<item>
<sku>B2</sku>
<qty>25</qty>
</item>
</inventory>Example output
sku,qty
A1,10
B2,25Input
id,status
101,active
102,pendingExample output
<root>
<item>
<id>101</id>
<status>active</status>
</item>
<item>
<id>102</id>
<status>pending</status>
</item>
</root>Nested child tags are flattened using dot notation (e.g. user.address.city) so all attributes and child properties map into distinct spreadsheet columns.
Data cells beginning with characters like '=', '+', '-', or '@' can execute arbitrary macros when opened in spreadsheet software like Excel. Sanitization automatically prefixes an apostrophe to neutralize formula execution.
When XML records contain varying sets of fields, the converter detects the union of all columns across all records and fills missing values with empty strings.
XML ↔ JSON Converter
Convert bi-directionally between XML and JSON documents with configurable indentation, attribute prefixes, text node handling, and local XXE protection.
JSON ↔ CSV Converter
Convert bi-directionally between JSON arrays of objects and tabular CSV/TSV data with delimiter options, header validation, and spreadsheet formula injection protection.
XML Formatter
Format, indent, prettify, or minify XML documents with customizable indentation, comment preservation, and self-closing tags.
Yes. Standard comma-separated or tab-separated outputs are fully compatible with Microsoft Excel, Google Sheets, LibreOffice Calc, and Apple Numbers.
None. All processing runs completely inside your browser's local sandbox. No files, contents, or headers are ever uploaded to any external server.
Select 'Tab (\t)' in the delimiter option dropdown. The tool will automatically output tab-delimited records and name the download file with a .tsv extension.