.env <-> JSON/YAML Converter
Converts a .env file to JSON or YAML and back. Values must be flat strings — .env has no concept of nested objects or arrays, so those get rejected rather than silently flattened wrong.
.env
Paste .env and click Convert.
Output
JSON or YAML (flat object)
Paste JSON or YAML and click Convert.
.env
Advertisement