onlineyamltools logo

Yaml to csv converter

World's simplest yaml tool

Quickly convert Yet Another Markup Language to Comma Separated Values. Enter YAML in the input box on the left and you'll immediately get CSV in the output box on the right. Enter YAML, get CSV. There are no ads or downloads, and everything works right in your browser. Made by developers for developers.
fullscreen fullscreen_exit
Import from file
Save as...
Copy to clipboard
Can't convert.
An error has occured.
Export to Pastebin
Save as...
Copy to clipboard
CSV Output Options
Column separating character
Custom CSV quote character
Misc CSV Options
Uncheck to omit the header row
Always enclose fields in quotes
Yaml to csv converter tool What is a yaml to csv converter?
This YAML to CSV converter transforms YAML (Yet Another Markup Language) markup files into CSV (Comma Separated Values) data. The output CSV can be customized. This converter allows to change CSV column separator and CSV field quote character. It allows toggling CSV headers (first row) and toggling quotation of all CSV fields.
Yaml to csv converter examples Click to use
Convert a YAML associative array to CSV column data
In this example we convert a YAML associative array of track and field records to CSV column data.
- type: 100m # Sprint type time: 9.58s # Record time athlete: Usain Bolt # Sprinter's name - type: 200m # Sprint type time: 19.19s # Record time athlete: Usain Bolt # Sprinter's name - type: 400m # Sprint type time: 43.03s # Record time athlete: Wayde Van Niekerk # Athlete's name type,time,athlete 100m,9.58s,Usain Bolt 200m,19.19s,Usain Bolt 400m,43.03s,Wayde Van Niekerk
Required options
These options will be used automatically if you select this example.
Uncheck to omit the header row
Convert a long YAML list to CSV data
In this example we convert a long list of words to a long CSV column. And just for fun we also enable quoting of all the CSV column data items.
tech: - irc - usenet - freenode - skype - wikipedia - stackvm "tech" "irc" "usenet" "freenode" "skype" "wikipedia" "stackvm"
Required options
These options will be used automatically if you select this example.
Always enclose fields in quotes
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!
https://onlineyamltools.com/convert-yaml-to-csv?input=-%0A%20type%3A%20%20%20%20100m%20%20%20%20%20%20%20%23%20Sprint%20type%0A%20time%3A%20%20%20%209.58s%20%20%20%20%20%20%23%20Record%20time%0A%20athlete%3A%20Usain%20Bolt%20%23%20Sprinter%27s%20name%0A-%0A%20type%3A%20%20%20%20200m%20%20%20%20%20%20%20%23%20Sprint%20type%0A%20time%3A%20%20%20%2019.19s%20%20%20%20%20%23%20Record%20time%0A%20athlete%3A%20Usain%20Bolt%20%23%20Sprinter%27s%20name%0A-%0A%20type%3A%20%20%20%20400m%20%20%20%20%20%20%20%23%20Sprint%20type%0A%20time%3A%20%20%20%2043.03s%20%20%20%20%20%23%20Record%20time%0A%20athlete%3A%20Wayde%20Van%20Niekerk%20%23%20Athlete%27s%20name&convert-headers=true
All yaml tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
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 differences between them.
Show YAML Statistics
Show detailed information about a YAML config.