Convert ENV to PLIST

Turn ENV files into PLIST. An XML property list with the same structure and key order, where text, integers, reals and booleans keep their types and dates stay text.

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 settings as a PLIST file.Each ENV line becomes a key in an XML property list, in the same order.

  1. What you get

    One XML property list with the same structure and key order as your input. Text, integers, reals and booleans keep their types, so a value that is a number stays a number and a value that is true or false stays a boolean.

    Dates stay text. The file holds them as strings, not as property list dates.

  2. What it drops

    Property lists have no null. A null in an object is dropped, and the conversion gives a warning. A null inside a list fails the conversion, because there is nothing to put in its place.

  3. Going back

    To turn a property list into KEY=value lines again, use PLIST to ENV. For other formats, see every ENV conversion.

ENV and PLIST.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 · PLIST

Property List

Apple property lists, XML or binary, that hold app settings and metadata.

Extensions
.plist
MIME type
application/x-plist
Kind
Text and data

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

terminal
$ cv convert report.env report.plist
$ cv convert report.env report.plist

Questions.What people ask about ENV to PLIST.

01OF 04

Yes. The property list keeps the same key order as the input.

Yes. Integers, reals and booleans keep their types, and text stays text.

It stays text. The property list holds it as a string, not as a date value.

In an object, the key is dropped and you get a warning. Inside a list, the conversion fails, since property lists have no null.

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