CSV to YAML Converter
Turn CSV rows into a YAML list of records, and back.
Runs entirely in your browser.
Convert Between CSV and YAML
About CSV to YAML Converter
Each CSV row becomes one item in a YAML list, keyed by the column headers. That is the shape most config and fixture files want, and it reads far better than a grid once the rows have more than a handful of columns.
Numbers and booleans that look like numbers and booleans are written as such rather than quoted. Going back to CSV takes the columns from the first item, so a list whose items have different keys will lose the extras.
Other CSV Tools
- CSV to TSV — and back
- CSV to XML — and back
- TSV to JSON — and back
- JSON to CSV — and back
- Change CSV Separator — commas to semicolons, tabs or pipes
- Transpose CSV — swap rows and columns
- Find Incomplete CSV Records — rows with missing or extra fields
- Insert a CSV Column — add a column at any position
- Swap CSV Columns — exchange two column positions
- CSV Viewer — browse a CSV as a sortable table