Advertisement

YAML to TSV

Convert YAML to TSV free, in seconds. Paste your data below, press Convert, then copy the result and open the result straight in Excel or Google Sheets. Everything runs in your browser, so nothing is ever uploaded.

YAML input

Paste your YAML below, then press Convert.

Lists of maps convert best. Nested maps are flattened with dot notation.

TSV output

Waiting for YAML input.

Private by design: parsing uses the js-yaml library (loaded once from a CDN); the conversion itself happens locally and your data is never uploaded.
Advertisement

How this conversion works

Paste YAML into the input box and press Convert (or just keep typing, conversion happens as you type). The tool parses it with the js-yaml library, then writes it out as tab-separated values with a header row, quoting any values that contain tabs or line breaks. Parsing uses the js-yaml library (loaded once from a CDN); the conversion itself happens locally and your data is never uploaded.

TSV tips

TSV shines when your data contains commas, because tabs almost never appear in normal text. The first row of the output is always the header. Nested objects are flattened with dot notation (for example contact.city), lists of plain values are joined with commas, and values containing tabs, quotes or line breaks are wrapped in double quotes, which Excel and Google Sheets parse correctly on import.

YAML to TSV FAQs

Why convert YAML to TSV?
TSV is the safest plain-text format for spreadsheet data that contains commas: product names, addresses and descriptions survive untouched because fields split on tabs, not commas. Excel, Google Sheets, LibreOffice and most databases import TSV without complaints, so it is a handy middle step between a raw export and a working spreadsheet.
How is my YAML parsed?
With the js-yaml library. A list of maps becomes one row per item, a single map becomes one row, and nested maps are flattened with dot notation so tabular output stays clean.
What happens if my data contains tabs or line breaks?
Those values are wrapped in double quotes with any inner quotes doubled. Excel and Google Sheets understand this quoting, so the data lands in the right cells when you import the file.
How are nested objects handled?
Nested objects are flattened with dot notation, so contact.city becomes its own column. Lists of plain values are joined with commas, and lists of objects are kept as compact JSON inside the cell, which keeps every record on exactly one line.
Is my data sent to a server?
No. parsing uses the js-yaml library (loaded once from a CDN); the conversion itself happens locally and your data is never uploaded.
Advertisement