Why convert .env to JSON?
Deployment platforms, CI secrets managers and config APIs often want environment variables as JSON. Paste your .env file above and get a clean JSON object in an instant.
How it works
The parser handles comment lines, export prefixes and quoted values (double quotes
interpret escapes, single quotes are literal). Trailing comments after unquoted values are
stripped. All values stay strings, exactly as the environment would see them.