About the YAML to CSV Converter
A YAML sequence of mappings is a table waiting to happen: each mapping is a row and the keys are columns. This converter reads the YAML, collects the union of keys in first-seen order, and writes RFC 4180 CSV with proper quoting. Nested mappings become dotted column names such as address.city, and nested lists get indexed names.
A single top-level mapping is written as one row, and a mapping whose values are all mappings is treated as a keyed table. Values keep the text YAML gave them; numbers are not reformatted, and quoted strings that look like numbers stay as they were written.
Choose a semicolon delimiter for European Excel locales or tab for pasting straight into a sheet. The CSV to YAML tool converts in the other direction.
How to use
- Paste a YAML list of records on the left.
- Pick the delimiter your spreadsheet expects.
- Download or copy the CSV.
Common questions
- What if the records have different keys?
- The header is the union of all keys, and rows without a key get an empty cell.
- How are nested values handled?
- Flattened into dotted column names, the same convention as the JSON to CSV tool.
- Can I convert a YAML mapping rather than a list?
- Yes. A single mapping becomes one row; a mapping of mappings becomes one row per entry.