Convert CSV to YAML Without Uploading
Paste CSV and get a YAML list. With a header row, each record is a mapping of column names to values. Without one, you get lists of cells. You can set the separator, quote and comment characters, skip empty lines, and choose how many spaces to indent (the default is 2; 0 is not allowed).
This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.
How to convert
1. Paste your CSV. 2. Leave the header option on if the first row contains keys. 3. Set the indent if you need something other than two spaces. 4. Copy the YAML.
The rows `task,done` / `Send invoice,yes` become a list item with `task: Send invoice` and `done: yes` underneath it.
Limits
Values are written as plain scalars; this is not a full YAML emitter for nested structures or typed tags. Indent must be greater than zero. The text stays in your browser and is not uploaded.
Frequently asked questions
Can I use a tab as the CSV separator?
Yes. Change the separator to a tab if you are starting from TSV.
Is the file uploaded?
No.
Why can’t I set indent to 0?
The tool requires a positive indent so the YAML it writes stays readable and valid in this simple format.
Are types like booleans detected?
Cells are written as they appear in the table. Unlike the CSV-to-JSON tool, this page does not coerce numbers or booleans.
More CSV Tools
- Change CSV Separator – Change CSV file delimiter
- Convert CSV Rows to Columns – Convert CSV rows to columns.
- Convert CSV to JSON – Convert CSV data to JSON format.
- Convert CSV to TSV – Convert CSV data to TSV format.
- Convert CSV to XML – Convert CSV data to XML format.
- Find incomplete CSV records – Quickly find rows and columns in CSV that are missing values.
- Insert CSV columns – Quickly insert one or more new columns anywhere in a CSV file.
- Swap CSV Columns – Reorder CSV columns.
- Transpose CSV – Quickly transpose a CSV file.
- TSV to JSON – Convert TSV to JSON format