Convert TSV to YAML

Turn TSV files into YAML. An array with one object per row, keyed by the header row.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TSV files on the dialor turn it to pick what to do

Each row of a TSV becomes a YAML entry.The header row supplies the keys. You get one YAML file.

  1. What you get

    A YAML file holding an array. Each row of the TSV becomes one object in that array.

    The keys of each object come from the header row. The values are the cells of that row, listed under the matching header.

  2. Output and options

    The conversion produces one file. It has no options, so there is nothing to set before you convert.

    To go the other way, use YAML to TSV. For other conversions from this format, see every TSV conversion.

TSV and YAML.What each format is.

The formats

From · TSV

Tab-Separated Values

Tab-separated values.

Extensions
.tsv .tab
MIME type
text/tab-separated-values
Kind
Text and data
To · YAML

YAML

YAML configuration and data files.

Extensions
.yaml .yml
MIME type
application/yaml
Kind
Text and data

In your code.The same TSV to YAML conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.tsv sheet.yaml
$ cv convert sheet.tsv sheet.yaml

Questions.What people ask about TSV to YAML.

01OF 04

They come from the header row of the TSV. Each row becomes an object keyed by those headers.

It is an array with one object per row. The array is the top level of the file.

No. There are no options for this conversion.

No. The output is one file, and every row is an entry in its array.

More conversions.Other ways in and out of TSV and YAML.