Skip to the converter

ENV converter, in your browser.

Convert ENV (dotenv) files to JSON and YAML. Everything on this page is converted in your browser, so your files never leave your device.

Drop ENV files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert ENV to…

2 formats

About ENV

A .env file lists environment variables as NAME=value lines, one per line, so an application can load its settings without hard-coding them. Such files often hold passwords and API keys, so they belong outside version control and should not be shared.

ENV is a flat list of variables with no nesting, and dialects disagree on quoting. ENV is what dotenv-style tools and many deployment systems load.

Stands for
dotenv environment file
Type
Plain-text configuration
Compression
None
Introduced
The early 2010s, by no single owner (popularised by the dotenv libraries)
Opens in
Any text editor; read by dotenv libraries, Docker Compose and many frameworks
Best for
Environment variables for an application
File extension
.env
MIME type
text/x-env

Questions

How do I open an ENV file?

ENV opens in: any text editor; read by dotenv libraries, Docker Compose and many frameworks. If your device or app cannot open it, convert it to JSON or YAML above.

What can I convert ENV to?

ToAny converts ENV to JSON and YAML.

Can I convert other files to ENV?

No. ToAny reads ENV files and converts them to other formats, but it does not create ENV.

Are my files uploaded?

No. Every ENV conversion listed here runs inside your browser. The files stay on your device.

Other data formats