Convert .env (dotenv) KEY=VALUE files to JSON objects instantly in your browser. Handles comments, quoted values, and empty lines. Swap to JSON→ENV. Client-side.
The ENV to JSON converter parses `.env` (dotenv) files using a custom parser that handles `KEY=VALUE` pairs, ignores blank lines and `#` comments, and supports single- and double-quoted values. The result is a flat JSON object where each key maps to its string value. Both editors are live — swap direction to JSON→ENV with one click. The JSON output shows an interactive tree view.
QAre all value types preserved?
All ENV values are strings. The output JSON object uses string values for all keys — no automatic type casting is performed.
QAre comments included in the JSON output?
No — lines starting with # are treated as comments and are not included in the JSON output.
QIs my data sent to a server?
No. All conversion runs in a Web Worker inside your browser.