A valid assignment
export is optional. The key is the name before =.
export PORT=8080
Checks KEY=value lines. The text in the editor is not rewritten.
Values stay strings. $NAME and ${NAME} are errors because this tool does not expand them.
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 before =.
export PORT=8080
The second assignment is an error. The line number is the later one.
PORT=8080 PORT=9090
Convert a .env file to JSON in the browser. Every value stays a string, duplicate keys are errors, and $ references are not expanded.
Validate JSON, then pretty-print it with 2 or 4 spaces or minify it. Invalid JSON produces an error and leaves the output empty.
Check YAML syntax without converting or rewriting it. Errors include a line and column when the parser provides them, and valid input is left unchanged.