How to Convert TSV to YAML
Tab-separated data is easy to export from a spreadsheet, but YAML is far nicer to read and is the default for modern configuration. This converter bridges the two. It reads your TSV, treats the first row as headers, and turns each remaining row into a YAML list item whose keys come from those headers. Turn on type detection and numbers, booleans and null become real YAML values instead of strings, while anything that could be misread — a value with a colon, a leading zero, or one that looks like a keyword — is quoted automatically so the YAML always parses back to the same data. The result is cleanly indented and standards-compliant. Copy or download. Everything runs in your browser, so nothing is uploaded.
Paste your TSV
Paste tab-separated data with a header row, or load the sample; it's parsed locally.
Choose type detection
Keep types on for real numbers and booleans, or off to preserve everything as strings.
Copy or download
Grab the YAML with one tap or save it as a .yaml file.
TSV vs YAML — What's the Difference?
TSV — tab-separated values
A flat text format where each line is a row and tabs separate columns. It's compact and pastes perfectly from spreadsheets, but it has no types and no nesting — everything is plain text.
YAML — YAML Ain't Markup Language
A human-friendly, indentation-based format that keeps types and structure while staying easy to read. It's the default for configuration. Converting TSV to YAML turns a flat table into a clean, typed list of records.
Common Use Cases
Build config from a sheet
Turn a spreadsheet of settings into a readable YAML config file.
Seed data files
Produce YAML fixtures and seed data from tabular exports.
DevOps pipelines
Bring tabular data into YAML-based CI/CD and infrastructure files.
Readable records
Convert a flat table into a list of records that's easy to scan and edit.
Spreadsheet to YAML
Copy columns straight from Excel — they paste as TSV — and get YAML.
Documentation
Show example data as clean YAML rather than a raw table.
Static site data
Feed YAML data files to static-site generators from a spreadsheet.
Quick transforms
A fast, no-install way to turn a table into YAML.
Tips & Best Practices
Keep a clean header row
Header names become YAML keys, so clear, simple names give the tidiest output.
Use type detection wisely
Great for numeric data, but turn it off if identifiers like 007 must stay exact strings.
Trust the quoting
Values with colons, leading zeros or keyword-like text are quoted automatically so YAML stays valid.
Mind the tabs
This tool splits on tabs; if your data is comma-separated, use our CSV to YAML converter.
Verify it round-trips
Paste the YAML into a parser to confirm it reads back to the same records.
Flatten complex values
TSV cells are flat text; if you need nested YAML, structure the data before converting.
Troubleshooting
Columns split wrongly
This tool expects tab-separated input. If your data uses commas, use our CSV to YAML converter instead.
Numbers stayed as strings
Enable type detection. Values with leading zeros or extra characters are kept as strings on purpose to avoid data loss.
A value got quotes
That's intentional — values with colons, special characters or keyword-like text are quoted so the YAML parses correctly.
Only a header, no output
There were no data rows below the header. Add at least one row of values to generate list items.
Frequently Asked Questions
How do I convert TSV to YAML for free?
Paste your tab-separated data above and clean YAML appears instantly, one list item per row. Copy it or download a .yaml file — free, no signup.
What YAML shape do I get?
A list of mappings: each row becomes a list item whose keys are your header names.
Does it detect data types?
Yes. With type detection on, numbers, booleans and null become real YAML types instead of strings.
Why did a value get quotes?
Values that could be misread — with colons, leading zeros or keyword-like text — are quoted so the YAML parses back correctly.
Can I keep everything as strings?
Yes. Turn off type detection to preserve every value exactly as text, useful for IDs with leading zeros.
What happens to empty cells?
They become empty strings so every record keeps the same set of keys.
Does the first row have to be headers?
Yes. The first row supplies the keys, so include a header row.
Is the output valid YAML?
Yes. It's standards-compliant YAML that any parser or config loader will accept.
How is indentation handled?
Records and fields use consistent two-space indentation, keeping the output tidy and diff-friendly.
Is my data sent to a server?
No. Everything happens inside your browser, so your data never leaves your device.
Can I download the result?
Yes. Save the output as a .yaml file, or copy it straight to your clipboard.
How large a file can it handle?
It comfortably converts thousands of rows, all within your browser.
Can I convert CSV instead?
Yes — use our CSV to YAML converter for comma-separated input.
Can I convert YAML back to TSV?
Yes — use our YAML to TSV converter for the reverse direction.
Does it preserve Unicode?
Yes. Any Unicode characters in your data are preserved in the YAML output.
Can it produce nested YAML?
TSV cells are flat, so the output is a flat list of mappings. Structure your data first if you need nesting.
Does it work on phones?
Yes, in any modern browser on Windows, Mac, Android or iPhone with nothing to install.
Is this converter really free?
Completely free, forever — no account, no ads and no premium wall.
100% free · No signup · Processed in your browser · Data never sent
Last updated: August 2026 · FlipMyFormat TSV to YAML Converter
Written and maintained by the FlipMyFormat team · Runs entirely in your browser