About YAML to CSV
YAML is widely used for config files and data serialisation. This tool converts a YAML sequence (list) of mappings to CSV, with the mapping keys used as column headers. Runs entirely in your browser.
YAML is widely used for config files and data serialisation. This tool converts a YAML sequence (list) of mappings to CSV, with the mapping keys used as column headers. Runs entirely in your browser.
Convert a YAML sequence of mappings (a list of objects) into a CSV table any spreadsheet or BI tool can ingest. The converter parses the YAML in your browser, builds the header row from the union of every key seen across items, then emits one row per item with empty cells where keys are missing.
Field values are RFC 4180-escaped: anything containing a comma, double quote, or newline is wrapped in double quotes and internal quotes are doubled. Nested objects and arrays are JSON-stringified into their cell so no information is lost. Pick CRLF endings for Excel on Windows; LF works everywhere else.
A top-level sequence of mappings — i.e. a list where every item is an object with key/value pairs (the equivalent of a JSON array of objects). Each item becomes one CSV row.
The header row is the union of every key seen across items. Items missing a particular key get an empty cell for that column. Order follows first-occurrence.
They are JSON-stringified into the cell. So a nested object becomes "{\"k\":1}" in CSV. If you need true flattening, use the dotted-path option to expand one level of nesting into separate columns.
No — parsing runs in your browser via a JavaScript YAML library; nothing is sent over the network.
Explore the full suite of DATA FORMATS tools and 290+ other free utilities at Chunky Munster.