An export prefix
export is optional. The key is the name after it.
export PORT=8080
Paste KEY=value lines. Values stay strings, and $ references are not expanded.
Every value is a string. true, false, and numbers are not converted, and $NAME or ${NAME} is rejected instead of expanded.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
export is optional. The key is the name after it.
export PORT=8080
\n inside double quotes becomes a newline character in the JSON string.
MESSAGE="line one\nline two"
Check a .env file without converting it. Duplicate keys, missing equals signs, and $ references are errors, and the editor text is not rewritten.
Validate JSON, then pretty-print it with 2 or 4 spaces or minify it. Invalid JSON produces an error and leaves the output empty.
Convert YAML configuration to readable or compact JSON in the browser. Comments are dropped, and parse errors include line and column when the parser reports them.