CSV to YAML converter

Convert CSV rows into a YAML list of mappings, handy for static-site data files, fixtures and config.

Loading the tool…

How to use it

  1. Paste CSV or drop a file.
  2. Choose type detection and nesting.
  3. Copy or download the .yaml.

Private by design

The conversion runs as JavaScript in this tab. Your data is not uploaded, logged or stored. There is no account and no file-size paywall.

Where this is useful

Static site generators such as Jekyll and Hugo read YAML data files, and test frameworks often load YAML fixtures. Keeping the source in a spreadsheet and converting to YAML keeps editing easy for non-developers.

Questions

Is my file uploaded anywhere?

No. The file is read by JavaScript in this tab and never leaves your device. You can load the page, switch off Wi-Fi and it keeps working.

Can I get JSON instead?

Yes, use the CSV to JSON converter; the options are the same.

Related tools