Dotenv to JSON

Transform your .env configuration files into a structured JSON object for easier programmatic use and data interchange.

// Result will appear here...

Comment Support

The parser safely ignores lines starting with #, allowing you to paste your entire .env file with its documentation intact while only extracting active variables.

Quote Handling

Automatically detects and strips surrounding single or double quotes from values, ensuring the resulting JSON contains clean strings ready for use.