Convert TOML to TSV
Turn TOML files into TSV. The first array of tables, such as [[items]], becomes the rows with one column per key.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TOML files on the dialor turn it to pick what to do
TOML table rows as a TSV file.An array of tables becomes the rows, with one column per key.
What you get
One TSV file. The first array of tables in your TOML file, such as [[items]], becomes the rows, and each key becomes a column.
A TOML file without an array of tables becomes a single row.
Nested values
Nested tables and lists do not get their own columns. Each one is written into its cell as JSON text, so the structure is still there when you read the cell.
When it stops
A file that cannot be parsed as TOML stops the conversion with
input_corrupted. Only the first array of tables is used for rows.If you need to combine several TSV files afterward, you can merge TSV.
TOML and TSV.What each format is.
The formats
TOML
TOML configuration files, the format of Cargo and pyproject.
- Extensions
- .toml
- MIME type
- application
/toml - Kind
- Text and data
Tab-Separated Values
Tab-separated values.
- Extensions
- .tsv .tab
- MIME type
- text
/tab -separated -values - Kind
- Text and data
In your code.The same TOML to TSV conversion through the API, for your app or your agent.
$ cv convert report.toml report.tsv$ cv convert report.toml report.tsvQuestions.What people ask about TOML to TSV.
The first array of tables, such as [[items]]. Each table in it is one row.
The whole file becomes one row.
They are written into their cell as JSON text.
The file could not be parsed as TOML. The conversion stops with input_corrupted in that case.