.env ⇄ JSON Converter
Dotenv lines ↔ JSON object, either direction.
Direction
What is this tool?
Many apps use .env files for configuration while others prefer JSON. This converter parses KEY=value lines (skipping comments) into a JSON object, or emits dotenv lines from a flat JSON object — handy when moving config between formats.
How to use it
- Choose .env → JSON or JSON → .env.
- Paste your input.
- Copy the converted output.