ENV to JSON - Parse Environment Files
Convert .env files to JSON format in your browser. Parse Docker configs, Node.js environment variables, handle comments and quotes. Private, no uploads.
ENV Input
JSON Output
ENV Format Reference
Basic Syntax
# Comment
KEY=value
QUOTED="value with spaces"
SINGLE='literal value'
export SHELL_VAR=valueSpecial Cases
MULTILINE="line1\nline2"
EMPTY=
WITH_EQUALS="key=value"
WITH_QUOTES="say \"hello\""
TRIM= spaces removed