Skip to content
BEAD

.env File Parser

Parse a .env file into JSON, with quoted-value and export support — and warn about anything fishy.

KeyValue
DATABASE_URLpost••••••••
DB_POOL_SIZE20
API_KEYsk_t••••••••
TIMEOUT_MS5000
DEBUGtrue
SIGNING_KEY----••••••••
EMPTY(empty)
MESSAGEit's•••••
As JSON
{
  "DATABASE_URL": "postgres://user:pass@localhost:5432/mydb",
  "DB_POOL_SIZE": "20",
  "API_KEY": "sk_test_4eC39HqLyjWDarjtT1zdp7dc",
  "TIMEOUT_MS": "5000",
  "DEBUG": "true",
  "SIGNING_KEY": "-----BEGIN PRIVATE KEY-----\nabcdef1234567890\n-----END PRIVATE KEY-----",
  "EMPTY": "",
  "MESSAGE": "it's fine"
}

You might also like

Used in these workflows