Category: Developer tools
YAML to CSV Converter
Convert a YAML list of objects to CSV in your browser
Paste a YAML list of mappings, or a single mapping, and get comma, semicolon or tab-separated CSV with nested values flattened into dotted column names. Conversion happens in your browser.
Paste YAML to convert it to CSV.
The result will appear here.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
This tool parses YAML with js-yaml and flattens each item into a flat row, the same way this site's JSON to CSV converter does, so nested objects become dotted column names like address.city and short scalar arrays are joined with semicolons. The column set is the union of every item's keys, so rows with missing fields simply get empty cells.
How to use it
- Paste a YAML list of mappings, or a single mapping, in the input box.
- Choose the delimiter and whether to include a header row.
- Copy the CSV or download it as a file.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my data uploaded anywhere?
- No. Parsing and CSV generation both happen in JavaScript in your browser tab, so nothing is sent to a server.
- What happens with nested objects or arrays?
- Nested objects are flattened into dotted column names such as address.city, and arrays of plain values are joined with semicolons into a single cell.
- What if the YAML is a single mapping instead of a list?
- It is treated as a one-row list, so you get a header row plus a single data row.