Category: Developer tools
CSV to YAML Converter
Convert CSV, semicolon or tab-separated rows to YAML in your browser
Paste comma, semicolon or tab-separated rows and get YAML, with an optional header row that becomes each object's keys. Conversion happens in your browser.
Paste CSV to convert it to YAML.
The result will appear here.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
This tool parses delimited rows the same way a spreadsheet would, including quoted fields, and writes the result as YAML: a list of mappings when the first row is a header, or a list of lists otherwise. It is useful for turning exported spreadsheet data into a config file or fixture without a round trip through a spreadsheet app.
How to use it
- Paste delimited rows in the input box.
- Choose the delimiter and whether the first row is a header.
- Copy the YAML or download it as a file.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- Is my data uploaded anywhere?
- No. Parsing and YAML generation both happen in JavaScript in your browser tab, so nothing is sent to a server.
- What happens without a header row?
- Each CSV row becomes a YAML list of values instead of a mapping, since there are no keys to use.
- Which YAML library does this use?
- js-yaml, the same library used by this site's JSON to YAML converter, loaded on demand only when you paste something to convert.