100% Private

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=value

Special Cases

MULTILINE="line1\nline2"
EMPTY=
WITH_EQUALS="key=value"
WITH_QUOTES="say \"hello\""
TRIM=  spaces removed  
{% include "components/faq.njk" %}

Related Tools

View all Config parsers →

Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.