CSV to YAML
Paste CSV or add a file and get YAML straight away. Copy the result or download it, with no sign up and no upload.
- No upload
- No account
- Free, no watermark
Your CSV
Result as YAML
How it works
How to convert data
Paste your data or add a file
Type or paste into the box on the left, or press Choose file. You can also drop a file onto the box.
Adjust the options
The result updates as you type. Change the options if you need a different separator, indent or root name.
Copy or download
Press Copy to paste the result into your code, or Download file to save it.
Why
Why convert CSV to YAML
CSV is a table written as plain text, one row per line. YAML is a readable data format used for configuration files, such as in Docker, Kubernetes and GitHub. Converting CSV to YAML lets you move data between tools, services and scripts that expect different formats.
Questions
Questions and answers
Is my data uploaded?
No. The conversion runs inside your browser, and what you paste or add never leaves your device. It is safe to use with private data, API responses and configuration files.
Which CSV separators work?
Comma, semicolon, tab and vertical bar. The separator is detected automatically, or you can choose it yourself. If your CSV has no header row, untick First row is the header and each row becomes a list of values.
Are YAML comments kept?
No. Comments are not data, so they are dropped when YAML is converted. Anchors and aliases are resolved, so the converted result holds the full values.
Why do some values become numbers?
CSV and XML store everything as text. With Turn numbers and true or false into real values ticked, text such as 42 or true becomes a number or a boolean. Untick it to keep every value as text, for example for postcodes or phone numbers.
Is there a size limit?
There is no fixed limit. Files up to a few tens of megabytes work on most computers, and the only limit is the memory of your device. Very long results are shown in part, and Copy and Download still give you all of it.
Does it work offline?
Yes. Once the page has loaded, it works without an internet connection, and nothing you type or add is sent anywhere.
More tools
More free tools
Everything on ConvertOrino runs in your browser, so your files and what you type never leave your device.
Last updated