Convert YAML to TSV Online
Convert YAML files to TSV format directly in your browser. No upload required — your data never leaves your device.
About converting YAML to TSV
Converting YAML to TSV suits records with free text in them. Descriptions, addresses, commit messages and translated strings often contain commas, and in a tab-separated file they need no quotes. TSV output from a YAML list pastes cleanly into a spreadsheet, and it feeds straight into cut, awk, sort and MySQL LOAD DATA, which expects tabs by default.
The YAML needs to be a sequence of mappings at the top level. Each mapping becomes a line, and the union of all keys becomes the header. A file with several documents separated by --- lines is read in full. A document holding a list adds each of its items as a line, and a document holding one mapping adds one line.
YAML block scalars, the multi-line strings written with | or >, keep their line breaks. A value with a line break is quoted in the TSV so the record stays together. Strict tab-separated readers that do not handle quotes will split those records. If that matters, fold the text to one line in the YAML, or replace line breaks after conversion. Anchors and aliases are expanded, so a value shared with &default and *default appears in full on every row that uses it.
Worked example
A small orders export with an ID, a customer name, a date, an amount (one missing) and a true/false flag, converted with the default settings.
Input (YAML)
- order_id: 1001
customer: Acme Ltd
order_date: '2026-03-02'
amount: 249.5
shipped: true
- order_id: 1002
customer: Brightside Co
order_date: '2026-03-02'
amount: 1200
shipped: false
- order_id: 1003
customer: Acme Ltd
order_date: '2026-03-05'
amount: 89.99
shipped: true
- order_id: 1004
customer: Northwind
order_date: '2026-03-07'
amount: null
shipped: falseOutput (TSV)
order_id customer order_date amount shipped
1001 Acme Ltd 2026-03-02 249.5 true
1002 Brightside Co 2026-03-02 1200 false
1003 Acme Ltd 2026-03-05 89.99 true
1004 Northwind 2026-03-07 falseWhat changes when you convert YAML to TSV
- One tab separates each column, and the first line lists every key found in the file.
- A value like "Acme, Ltd" is written without quotes, because commas are not special in TSV.
- Values with a tab, a double quote or a line break are wrapped in double quotes.
- null and missing keys become empty fields, as in the amount column for order 1004.
- Booleans come out as true and false. YAML words like yes, no and on stay as that text.
Your file is processed locally in your browser and is never uploaded. The free limit is 50 MB per file; larger files work if your device has the memory for them.
Frequently Asked Questions
Can I convert a multi-document YAML file to TSV?
Yes. Every document between the --- lines is read. List documents add their items as rows and mapping documents add one row each, and keys found in any document become columns.
What happens to YAML anchors and aliases?
They are resolved before conversion. Every alias is replaced by the full value it points to, and merge keys (<<) add their fields to the record. The TSV has no trace of the anchor names.
Why did my multi-line description split across lines?
It did not split the record, but it did keep the line breaks inside a quoted field. Many viewers show that as several lines. Tools that do not understand quoted fields will break the record apart.
What is TSV format?
TSV (Tab-Separated Values) is similar to CSV but uses tab characters as delimiters — useful when data values contain commas.
Related Tools
Convert TSV to YAML Online
Convert TSV files to YAML directly in your browser. Download clean, human-readable YAML — no upload required.
TSV Viewer Online
View and inspect TSV files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.
YAML Viewer Online
View and inspect YAML files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.
Convert YAML to CSV Online
Convert YAML files to CSV format directly in your browser. No upload required — your data never leaves your device.
Convert YAML to Parquet Online
Convert YAML files to Parquet format directly in your browser. No upload required — your data never leaves your device.
Convert YAML to Excel Online
Convert YAML files to Excel format directly in your browser. No upload required — your data never leaves your device.
Convert YAML to JSON Online
Convert YAML files to JSON format directly in your browser. No upload required — your data never leaves your device.