Csv to yaml converter
World's simplest csv tool
Free online CSV to YAML converter. Just load your CSV and it will automatically get converted to YAML. Load CSV, get YAML. There are no ads, popups or nonsense, just an awesome CSV to YAML converter. Created by developers for developers.
Csv to yaml converter tool What is a csv to yaml converter?
This tool transforms Comma Separated Values (CSV) to Yet Another Markup Language (YAML) data. It supports custom CSV column delimiters, custom field quotes, and it can skip CSV rows that start with comments. If headers option is enabled, then the first CSV row will be used for associative data in output YAML file. You can also set how many spaces are used for YAML output indentation.
Csv to yaml converter examples Click to use
This example converts a two column CSV to YAML.
user,count eric,7 linus,4- user: eric count: '7' - user: linus count: '4'
In this example commented lines will be skipped.
mode,type,planet 0x00,yaml,sun // 0x01,html,moon- mode: '0x00' type: yaml planet: sun
These options will be used automatically if you select this example.
Skip lines starting with this
Pro tips Master online csv tools
You can pass input to tools 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 csv tools
Quickly convert a CSV file to a JSON data structure.
Quickly convert a JSON data structure to a CSV file.
Quickly convert a CSV file to an XML file.
Quickly convert an XML file to a CSV file.
Quickly convert a CSV file to a YAML file.
Quickly convert a YAML file to a CSV file.
Quickly convert a CSV file to a TSV file.
Quickly convert a TSV file to a CSV file.
Quickly convert a CSV file to evenly aligned text columns.
Quickly convert text columns to a CSV file.
Quickly change the CSV column delimiter to a new symbol.
Quickly prepend columns at the beginning of a CSV file.
Quickly append one or more new columns at the end of a CSV file.
Quickly insert one or more new columns anywhere in a CSV file.
Quickly export one or more columns from a CSV file.
Quickly replace one or more columns in a CSV file.
Quickly delete one or more columns from a CSV file.
Quickly swap two columns in a CSV file.
Quickly exchange columns with rows in a CSV file.
Quickly exchange rows with columns in a CSV file.
Quickly transpose a CSV file.
Coming soon These csv tools are on the way
Convert CSV to HTML
Convert CSV to a HTML table.
Convert CSV to PDF
Convert CSV to a PDF document.
Convert CSV to an Image
Draw CSV file as table and output a PNG, JPG or GIF picture.
Convert CSV to Excel
Convert CSV to an Excel spreadsheet.
Convert CSV to Base64
Base64-encode a CSV file.
Convert Base64 to CSV
Base64-decode a CSV file.
Preview CSV in the Browser
Show the contents of CSV in your browser.
Convert CSV to LaTeX
Convert CSV to a LaTeX table.
Merge CSV files
Merge together two CSV files.
Quote all CSV fields
Quote absolutely all CSV fields.
Change CSV Quote Character
Change the character CSV fields are wrapped in.
Delete Empty CSV Columns
Delete columns that are completely empty.
Delete Empty CSV Rows
Delete rows that are completely empty.
Compress a CSV file.
Subscribe! Never miss an update
Notifications We'll let you know when we add this tool