Csv to yaml converter
World's simplest yaml tool
Quickly convert Comma Separated Values to Yet Another Markup Language. Enter CSV in the input box on the left and you'll immediately get YAML in the output box on the right. Enter CSV, get YAML. There are no ads or downloads, and everything works right in your browser. Made for developers by developers from team Browserling.
More tools! gif tools
We just created Online GIF Tools with dozens of utilities for editing GIFs. Check it out!
Csv to yaml converter tool What is a csv to yaml converter?
This CSV to YAML converter transforms CSV (Comma Separated Values) data and files into YAML (Yet Another Markup Language) data and files. This converter allows customizing input CSV and output YAML. It also accepts CSV files with custom column delimiter characters and field quote characters. It supports comment lines and you can optionally ignore empty lines. You can also change how many spaces to use in the output YAML indentation.
Csv to yaml converter examples Click to use
Convert two CSV columns to a YAML hash
In this example we convert a two columns with countries and planets to an associative YAML array.
country,planet greece,earth morocco,earth tunisia,earth theta,mars
- country: greece planet: earth - country: morocco planet: earth - country: tunisia planet: earth - country: theta planet: mars
Convert CSV with comments to YAML without comments
In this example we convert a CSV list with popular email services to a YAML list. We also skip commented out lines and skip headers.
service,users gmail,1b yahoo,800m //alibaba,800m hotmail,500m outlook,250m
- service: gmail users: 1b - service: yahoo users: 800m - service: hotmail users: 500m - service: outlook users: 250m
Skip input starting with this
Pro tips Master online yaml tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
All yaml tools
Quickly color code the syntax of a YAML file.
Quickly prettify a YAML configuration file.
Quickly minify a YAML configuration file.
Quickly check a YAML file for syntax errors and report them.
Quickly convert a YAML config to a JSON config.
Quickly convert a JSON file to a YAML file.
Quickly convert a YAML document to an XML document.
Quickly convert XML markup to YAML markup.
Quickly convert YAML data to CSV data.
Quickly convert a YAML dataset to a CSV dataset.
Quickly convert YAML format to TSV format.
Quickly convert TSV files to YAML files.
Quickly convert YAML to a PNG, GIF, JPG or BMP Image.
Quickly convert YAML to base-64 encoding.
Quickly convert previously base-64 encoded YAML back to YAML.
Quickly URL-escape a YAML file.
Quickly URL-unescape a YAML file.
Quickly edit a YAML file in a simple YAML editor.
Quickly generate random YAML configs.
Coming soon These yaml tools are on the way
Diff Two YAML Files
Compare two YAML files and show their differences.
Show YAML Statistics
Show detailed information about a YAML config.
Loop over YAML and truncate lists, arrays, and strings.
Create a PHP Array from YAML
Convert YAML config to a PHP data structure.
Convert YAML to Properties
Convert a YAML file to a properties file.
Convert Properties ot YAML
Convert a properties file to a YAML file.
Convert YAML to TOML
Convert a YAML file to a TOML file.
Convert TOML to YAML
Convert a TOML config to a YAML config.
Extract Strings from YAML
Find and extract all strings from a YAML file
Extract Numbers from YAML
Find and extract all numbers from a YAML file
Extract Comments from YAML
Find and extract all comments from a YAML file
Remove Comments from YAML
Clean up a YAML configuration file from comments
Visualize YAML Structure
Create an abstract image that represents YAML data.
Subscribe! Never miss an update
Notifications We'll let you know when we add this tool