Skip to content
Jellykit

CSV to YAML

Convert CSV or spreadsheet data into a YAML list of mappings, one per row, with numbers and booleans detected. Great for fixtures and config. Free, no upload.

Runs in your browser. Nothing is uploaded.

About CSV to YAML

CSV to YAML turns each row of a spreadsheet into a YAML mapping, using the header row as keys, and lists them in order. It is handy for seeding test fixtures, writing Jekyll or Hugo data files, or building Ansible variable lists from a sheet.

Numbers, true and false are written as real YAML types unless you turn detection off. Quoted CSV fields with commas or line breaks are parsed correctly.

How to use CSV to YAML

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Can I paste from Excel?

Yes. Copied cells are tab-separated and the delimiter is detected automatically.

Can I go the other way?

Yes, YAML to CSV turns a YAML list back into a spreadsheet.

Is CSV to YAML free and private?

Yes. CSV to YAML is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all data tools →