ENV to JSON
Parse simple dotenv assignments into a JSON object of strings.
Convert in your browser · No sign-up
How to use
- Parse simple dotenv assignments into a JSON object of strings.
- Choose the mode or options, then run the tool.
- Review the result, then copy or download the TXT file.
Example
PORT=8080 → {"PORT":"8080"}Details and limitations
Supports export, quoted values and comments. Duplicate keys are rejected. Variables are not expanded and shell commands are never evaluated.
Text stays in your browser; it is not sent to a conversion server.
FAQ
ENV to JSON — What are the supported inputs and limits?
Supports export, quoted values and comments. Duplicate keys are rejected. Variables are not expanded and shell commands are never evaluated.
Related tools
Format references
Tool page updated: