About the TSV to YAML Converter
This tool converts TSV to YAML in your browser. TSV is a plain table where a tab character splits the columns and each line is a row, and it is common in copy and paste from spreadsheets, bioinformatics files and database dumps. YAML is an indentation-based format where nesting is shown by spaces, lists start with a dash and keys end with a colon, and it is common in configuration files, Kubernetes, Docker Compose and CI pipelines. When a file in the first format has to go into a program that wants the second, you can paste the text, read the YAML on the right, and copy or download it. The first line of the tab-separated text supplies the keys and each following line becomes a dash item with indented keys under it. Everything runs on your device, so the TSV you paste is never sent to a server, which matters when the data is a customer list, a payroll export or private settings.
Updated October 2026
How to use the TSV to YAML Converter
- 1Paste your TSV into the box on the left, or press Try a sample to see how it works.
- 2Check the options above the boxes; they only show the ones that matter for TSV to YAML.
- 3Read the YAML output on the right. It updates as you type.
- 4If an error appears, it names the line of the TSV that could not be read; fix it and the output returns.
- 5Press Copy result, or Download to save a YAML file.
Why people convert TSV to YAML
The two formats suit different jobs. TSV is a plain table where a tab character splits the columns and each line is a row; people meet it in copy and paste from spreadsheets, bioinformatics files and database dumps. YAML is an indentation-based format where nesting is shown by spaces, lists start with a dash and keys end with a colon; people meet it in configuration files, Kubernetes, Docker Compose and CI pipelines. A move from TSV to YAML usually happens when data created in one place has to be used in another, and retyping it by hand would be slow and error-prone.
The first line of the tab-separated text supplies the keys and each following line becomes a dash item with indented keys under it. Numbers and true or false are written plainly when the number option is on, and everything else is written as plain text.
How the TSV to YAML conversion works
The tool first reads your TSV into a plain structure of rows or objects, so it knows what is a key and what is a value. It then writes that structure again in the YAML style. Because nothing is guessed about the content, the values you see in the YAML are the ones that were in the TSV.
This is handy for turning a spreadsheet range into a list your configuration can read.
- Paste the TSV exactly as it is, including the header line if there is one.
- Use Try a sample to see how a small TSV turns into YAML before using your own data.
- Read the YAML before you use it; check that special characters came through as you expect.
Tips for a clean YAML result
Start with tidy TSV: the same keys or columns in every record give the neatest YAML. If your TSV has stray blank lines or an inconsistent number of items, tidy them first, or the YAML will show empty values where something is missing.
Keep a copy of the original TSV. The conversion works well for data, but formatting such as colours, formulas and comments belongs to the program that made the file and does not travel into plain YAML.
Quotation marks matter in TSV: a value that contains the separator, a quote or a line break is written inside quotes, and the converter reads those quotes correctly so a name like Smith, John stays in one cell.
On phone and computer
On a computer, paste with Ctrl+V or Cmd+V, check the YAML and use Copy result. On a phone, long-press in the left box to paste, and use the Download button to save a YAML file you can send from the share menu.
The two boxes sit side by side on a wide screen and one above the other on a narrow one, so you can read both without zooming. Wide tables with many columns are easier to check on a computer, but short lists work fine on a phone. YAML depends on spaces, so check the same data with JSON Validator. Data Format Converter handles other formats, and CSV Tools is there when you want to fix the source columns before converting.
Features
- Converts TSV to YAML as you type
- Clear error messages that name the problem in the TSV
- Sample data to try first
- Copy result or download as a file
- Private: runs in your browser, nothing uploaded
- Works on phone and computer
Frequently asked questions
How do I convert TSV to YAML?
Paste the TSV into the left box and the YAML appears on the right straight away. Press Copy result to copy it or Download to save a file. You can also press Try a sample first. With the sample TSV shown here, the YAML output is: - name: Ann / age: 30 / city: Pune / - name: Bob / age: 25 / city: Leeds.
Is this TSV to YAML converter free and private?
Yes. It is free, needs no account and works in your browser, so the TSV you paste stays on your device. Nothing is uploaded or stored, which makes it suitable for lists and settings that you would rather not send anywhere.
What happens to numbers and true or false values when converting TSV to YAML?
With the option on, values that look like numbers or true and false are written as real numbers and booleans in the YAML. Turn the option off if you need every value kept as text, for example postcodes or phone numbers with a leading zero.
What is the difference between TSV and YAML?
TSV is a plain table where a tab character splits the columns and each line is a row. YAML is an indentation-based format where nesting is shown by spaces, lists start with a dash and keys end with a colon. TSV is mostly used for copy and paste from spreadsheets, bioinformatics files and database dumps, while YAML is mostly used for configuration files, Kubernetes, Docker Compose and CI pipelines.
What if my TSV is invalid?
The converter does not guess. It stops and shows what is wrong, with the line where it can tell, so you can fix the TSV and try again. An empty box simply gives an empty result.
Is there a size limit for TSV to YAML conversion?
Very large pasted text can slow a phone, so there is a limit of about 2 million characters. For the usual files, such as a few thousand rows, the YAML appears within a moment.
Can I change the TSV to YAML output after converting?
Yes. The result is plain text that you can copy into any editor. If you change an option, such as the header row or the indent, the YAML updates by itself.