Convert ENV to TSV

Turn ENV files into TSV. A list of objects becomes one row per object under a header of every key in first-seen order, and a single object becomes one row.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Environment variables as a TSV table.Each ENV conversion produces one TSV file with a header row and data rows.

  1. What you get

    A single TSV file. A list of objects becomes one row per object. The header holds every key, in the order each key first appears.

    A single object becomes one row under its own header.

  2. How cells are written

    Nested objects and lists are written into their cell as JSON text. A null value leaves the cell empty.

    A cell that holds a tab, a quote or a line break is quoted, so the tab or line break stays inside that cell and does not split it.

ENV and TSV.What each format is.

The formats

From · ENV

Dotenv

KEY=value lines that hold environment variables for an app.

Extensions
.env
MIME type
text/x-env
Kind
Text and data
To · TSV

Tab-Separated Values

Tab-separated values.

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

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

terminal
$ cv convert report.env report.tsv
$ cv convert report.env report.tsv

Questions.What people ask about ENV to TSV.

01OF 04

One file. All rows go into the same TSV.

The order in which each key first appears.

They are written into their cell as JSON text. The nesting is not spread across extra columns.

A null value leaves its cell empty. Cells with a tab, quote or line break are quoted.

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