Convert CSV to YAML

Form for CSV converting to YAML

This form allows you convert CSV to YAML data:


CSV configuration:
Your result can be seen below.

Result of CSV conversion to YAML


Move to "Paste Code" for Saving

About CSV conversion to YAML

About CSV data conversion to YAML

YAML is a human-readable data serialization format that takes concepts from programming languages such as Perl, C, e.t.c. The CSV to YAML Converter was created for online transform CSV(Comma Separated Values) data into YAML(Yet Another Markup Language). It supports custom CSV column delimiters, if you use headers, then the first CSV row will be used for names. This converter allows customizing input CSV and output YAML.

How it Works?

Just select the options you need and paste your CSV data to the textarea above and click to the button "Convert" and you will instantly get YAML data.

Example of CSV conversion to YAML

Before:
Name,Email,Phone Number,Address
Bob Smith,bob@example.com,123-456-7890,123 Fake Street
Mike Jones,mike@example.com,098-765-4321,321 Fake Avenue
After:
-
    col1: Name
    col2: Email
    col3: 'Phone Number'
    col4: Address
-
    col1: 'Bob Smith'
    col2: bob@example.com
    col3: 123-456-7890
    col4: '123 Fake Street'
-
    col1: 'Mike Jones'
    col2: mike@example.com
    col3: 098-765-4321
    col4: '321 Fake Avenue'
After the conversion, you can apply the YAML data to your project or use it for some other purpose.