Code · Made a little simpler
CSV to YAML Converter
Convert CSV or TSV to a YAML sequence of records. Use the header as keys and keep IDs, empty fields, quoted separators and multi-line values as strings.
Preserving CSV and TSV cells in YAML
Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
CSV to YAML Converter: how to use it
- Select the delimiter or ask the tool to detect it. Use Tab for TSV.
- Paste a table with a header or select a UTF-8 file. Convert it to YAML.
- Review the record and column counts, then download records.yaml.
Limits and notes
UTF-8 files up to 4 MiB or pasted text up to 4,194,304 UTF-16 code units. Up to 250,000 cells. Headers must be distinct and all records must match the header width. Cells become strings, including empty cells. A header on its own yields an empty sequence.
How your privacy works →CSV to YAML Converter: common questions
Will a value such as false become a YAML boolean?
Each CSV cell becomes a quoted YAML string. The value false therefore stays text, just like a spreadsheet ID with leading zeroes.
How do I convert a tab-separated file?
Choose Tab as the input separator. The converter uses the first record for keys and writes one YAML mapping per subsequent record.