Convert ENV to CSV
Turn ENV files into CSV. 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
Your ENV data as a CSV table.Each object becomes a row, and every key becomes a column header.
What you get
One CSV file. A list of objects becomes one row per object, under a header that holds every key in the order it is first seen.
A single object becomes one row under its own keys.
Nested values and empty cells
Nested objects and lists do not get columns of their own. Each one is written into its cell as JSON text.
A null value leaves its cell empty.
Where to go next
To join the result with other tables, use merge CSV. To see what else starts from this format, browse every ENV conversion.
ENV and CSV.What each format is.
The formats
Dotenv
KEY=value lines that hold environment variables for an app.
- Extensions
- .env
- MIME type
- text
/x -env - Kind
- Text and data
CSV
Rows of comma-separated values. The plainest way to move a table between programs.
- Extensions
- .csv
- MIME type
- text
/csv - Kind
- Text and data
In your code.The same ENV to CSV conversion through the API, for your app or your agent.
$ cv convert report.env report.csv$ cv convert report.env report.csvQuestions.What people ask about ENV to CSV.
The header lists every key in the order it is first seen. A key that appears only in a later object still gets a column.
They stay in one cell. Each is written there as JSON text.
The cell is left empty.
Yes. A single object becomes one row.