.env to JSON Converter
Everything runs locally in your browser — your
.env
values, keys, and secrets never leave your browser.
Duplicate keys detected — the last value wins:
.env Input
JSON Output
What the parser supports
- •
KEY=valuepairs, blank lines - • Optional
exportprefix -
• Full-line and inline
# comments - • Duplicate-key warning (last value wins)
-
• Double-quoted values with
\n \t \" \\escapes - • Single-quoted (literal) and multiline quoted values
-
• JSON → .env flattens nested keys with
_or.join - • Optional type parsing for numbers, booleans, and null
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect