csv ↔ yaml Converter

Run csv ↔ yaml Converter using the supplied input and options.

CSV has header row. XML conversion uses root/item with attributes under @attributes; mixed content is rejected. Reverse conversion is not always lossless.

Your workbenchInputs are not stored

Result

Enter your values and run the tool to see your result.

What this tool does

Converts between CSV and YAML — useful for moving tabular data into configuration format and back.

How to use it

  1. Paste the data.
  2. Choose the direction.
  3. Run it and check the indentation and value types.

Worked example

Converting name,value and Ada,42 to YAML produces a list item with name and value keys.

Frequently asked questions

yes, no, on, and off become booleans.
YAML parsers can read those strings as booleans. Quote them to keep them as text.
Can I indent with tabs?
YAML does not allow tab indentation — use spaces. The generated output uses spaces.

What this tool does not cover

Input is processed in your browser. YAML anchors and multi-document streams are not fully preserved.

References