Skip to main content

YAML to CSV

New

Convert an array of YAML records into CSV format.

yamlcsvconvert
Read the guide
Shortcuts:⌘ KSearch
0 rows · 0 columns

Frequently Asked Questions

What YAML shape works best for CSV output?

An array of objects is the cleanest input because each object becomes one row. A single object becomes one row, and a scalar becomes a one-column value row.

What happens to nested objects or arrays inside YAML?

They are not flattened into multiple columns. The tool stringifies nested arrays and objects as JSON inside one CSV cell.

Why did extra columns appear even though my first row was smaller?

Headers are built from the union of keys seen across all rows. If later objects contain new keys, new columns are added.

Can I switch the CSV delimiter?

Yes. You can output comma, semicolon, tab, or pipe-delimited CSV from the dropdown.

Do I need to press Convert every time?

Not necessarily. The tool auto-runs after a short delay when you edit the YAML or change the delimiter, and the button is just a manual trigger.

Related Tools