Dad’s Data formats tools

CSV → YAML Converter

Convert CSV to YAML locally. Each row becomes a mapping; all values are strings unless type inference is enabled.

CSV Input
YAML Output

YAML output will appear here.

Paste, upload, or drop a file in the input panel to get started.

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

ScenarioResult
Header with spacesQuoted YAML key: "first name"
Header with special charsQuoted YAML key
Duplicate headerLast column wins — earlier columns overwritten
Empty headerKey is empty string — avoid this

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools