Turns one YAML map, or a list of maps, into a CSV table. Each map is a row and each key is a column.
About this tool
A YAML list of maps is already close to a table: the same keys return, and each map is one record. This page writes those records as CSV so a spreadsheet can open the same fields without a hand export.
Maps with name and city produce a header and one row per map. A comma inside a city name is quoted. A missing key is an empty cell, not a shifted column.
The tool does not accept a list of plain strings or numbers. Nested values stay JSON text in the cell rather than new columns. Quoting follows ordinary spreadsheet rules.
How to use it
1
Paste YAML or drop a file. The sample button inserts a short example. The value must be one map or a list of maps.
2
Keys become the header. A missing key leaves an empty cell. A nested value is written as JSON text inside the cell.
3
A list of strings or numbers is rejected. Commas and quotes inside values are escaped the way a spreadsheet expects.
What it accepts
A list of maps with name and city becomes a header row and one data row per map. A single map becomes one data row under the same header. If one map lacks a key that another has, that cell is empty. A nested map or list is placed in the cell as JSON text. Commas and quotes inside a value are escaped so the spreadsheet keeps one cell. A list of strings or numbers has no keys and is rejected.
Where your data stays
Your YAML and the CSV table built from its maps stay local to the browser. The conversion is not uploaded to MegaToolkit. Choosing a file larger than 2 MB means it is not read. The result can be copied or downloaded as converted text. Close the tab and it is discarded.
Questions
What if maps do not share every key?
The header is the set of keys. A map that omits a key gets an empty cell in that column. Columns do not shift.
How are nested values written?
A nested map or list is JSON text inside the cell. It does not become extra columns.
Why was a list of strings rejected?
CSV columns need keys. A list of strings or numbers is not a map and is refused. Use a list of maps, or one map.
Is the YAML sent anywhere?
No. The table is built in this browser. A chosen file above 2 MB stays unread. Closing the tab drops the CSV.
Ads stay off until you allow them. The choice is saved in this browser.