.env Converter moves a set of key and value pairs between three formats: the dotenv format, a flat JSON object, and a one-level YAML mapping.
It reads quoted values, the export prefix, and trailing comments, and quotes values that need it on the way out. It runs in your browser.
By default every value is a string, which matches how environment variables work. JSON output has an option to turn 3000 into a number and true into a boolean.
No. Environment files are flat, so nested JSON objects are rejected rather than flattened.
A value quoted with double quotes may contain \n for a newline. Raw line breaks inside a value are not supported.
No. The tool runs entirely on this page.