Dotenv ↔ JSON Converter
Convert bounded dotenv assignments and string-valued JSON.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Values are treated as inert text; variable expansion, shell execution, command substitution, and file loading are never performed.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Dotenv ↔ JSON Converter
Fill in the fields:
- Direction: dotenv to JSON, JSON to dotenv.
- dotenv or flat JSON. No variable expansion, command execution, or environment access.
Press “Convert dotenv”.
Copy the result, or download it as converted-dotenv-json.txt.

