.env File Parser
Parse a .env file into JSON, with quoted-value and export support — and warn about anything fishy.
| Key | Value | |
|---|---|---|
| DATABASE_URL | post•••••••• | |
| DB_POOL_SIZE | 20 | |
| API_KEY | sk_t•••••••• | |
| TIMEOUT_MS | 5000 | |
| DEBUG | true | |
| SIGNING_KEY | ----•••••••• | |
| EMPTY | (empty) | |
| MESSAGE | it'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
- Apache / Nginx Log ParserParse Combined Log Format lines into structured rows with status mix, top paths, and per-row filtering.
- Email Address List ParserParse RFC 5322 address lists with display names, quoted strings, comments, and validation.
- HTTP Message ParserParse a header block, raw request, or raw response into structured JSON with smart Set-Cookie / Cache-Control / Content-Type breakdowns.
- URL ParserBreak a URL into protocol, host, path, query parameters, and fragment.