CSV to JSON
Convert CSV table data into JSON arrays and objects.
Convert XML documents into YAML for readable configuration output.
Converts XML to YAML, preserving nesting and repeated elements.
Attributes are dropped: parsing runs with keepAttributes=false, so id in <item id="1"> never reaches the YAML. Use XML to JSON instead when attributes matter — that one keeps an @attributes object by default.
Repeated child elements with the same name become a YAML list. This is the one place XML to YAML has to guess, and the rule here is same name means multiple items.
An element with no children and no text becomes null, and a text-only element becomes a plain string rather than a wrapper object.
Paste the XML
With or without an XML declaration; the browser parser handles the splitting.
Check for lost attributes
Anything written inside a tag will be missing. If those values matter, convert to JSON first, then to YAML.
Copy the YAML
Output uses two-space indentation, with repeated elements as lists.
This tool maps element structure only, so attributes take no part. Use XML to JSON when you need them — the result carries an @attributes object.
They become a YAML list in document order. A tag that appears only once stays a single value and is not wrapped in a list.
Convert CSV table data into JSON arrays and objects.
Transform CSV rows into YAML for configuration and data exchange.
Convert comma-separated CSV into tab-separated TSV format.
Export JSON arrays into CSV format for spreadsheets and BI tools.
Convert JSON documents to YAML with clean, readable output.
Transform JSON structures into XML format for system integration.