CSV → YAML Converter
Convert CSV to YAML locally. Each row becomes a mapping; all values are strings unless type inference is enabled.
Output structure
Each CSV row is converted to a YAML mapping. The resulting YAML is a sequence of mappings — perfect for configuration files that list multiple records (users, servers, products, etc.).
Input
id,name,email,active 1,Alice,[email protected],true 2,Bob,[email protected],false
Output
- id: '1' name: Alice email: [email protected] active: 'true' - id: '2' name: Bob email: [email protected] active: 'false'
Note: All CSV values are treated as strings by default. Numbers like
1 come out as '1'and booleans like true come out as 'true'. To get native YAML types, open the output in the YAML Workbench and edit manually, or enable type inference in the CSV → JSON step first.Column header rules
| Scenario | Result |
|---|---|
| Header with spaces | Quoted YAML key: "first name" |
| Header with special chars | Quoted YAML key |
| Duplicate header | Last column wins — earlier columns overwritten |
| Empty header | Key is empty string — avoid this |
Frequently Asked Questions
Your files stay on your computer. Dad promised.