.env to JSON Converter

Paste a .env file and get a JSON object of its variables. ParseBox runs in your browser, so API keys and passwords in the file are never sent anywhere. It can also mask secrets in the output.

Example

Input
# Local settings
NODE_ENV=development
PORT=3000
API_URL=https://api.example.com
FEATURE_FLAGS=search,export
Output
{
  "NODE_ENV": "development",
  "PORT": "3000",
  "API_URL": "https://api.example.com",
  "FEATURE_FLAGS": "search,export"
}

What changes in this conversion

ParseBox shows this note under the output, so nothing is lost without a warning.

  • comments not kept

Private by design

ParseBox runs entirely in your browser. Your text is never uploaded, logged or stored on a server, so it is safe to paste API responses, tokens and config files.

Related conversions

All 30 formats in ParseBox →