Dad’s Data formats tools

YAML → CSV Converter

Convert YAML to CSV locally. The root must be an array of objects; comments will be stripped.

YAML Input
CSV Output

CSV output will appear here.

Paste, upload, or drop a file in the input panel to get started.

Required YAML structure

CSV is a flat, tabular format — it cannot represent nested objects or arrays of mixed types. The converter expects your YAML root to be a sequence of mappings where every mapping has the same set of keys. Those keys become the CSV column headers.

Input
- id: 1
  name: Alice
  email: [email protected]
  active: true
- id: 2
  name: Bob
  email: [email protected]
  active: false
Output
id,name,email,active
1,Alice,[email protected],true
2,Bob,[email protected],false

Type handling

YAML valueCSV cellNotes
StringvalueUnquoted unless it contains comma or newline
Integer42Rendered as-is
Float3.14Rendered as-is
Boolean truetrueLowercase string
Boolean falsefalseLowercase string
null / ~(empty cell)Rendered as empty string
Nested mapping(serialised JSON)Nested objects are stringified — flatten first
Sequence(serialised JSON)Arrays are stringified — flatten first
Warning: Nested objects and arrays inside rows will be serialised to JSON strings in the CSV cell. Flatten your YAML before converting if you need clean tabular output.

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools