ENV File Parser & ValidatorValidate .env format, detect duplicate keys, and export JSON — secrets stay on your device.
6 keys0 errors1 warnings
Issues
- Line 8: Duplicate key "PORT" (also on line 3). Later value wins in most loaders.
Parsed keys
| Line | Key | Value |
|---|---|---|
| 2 | NODE_ENV | development |
| 3 | PORT | 3000 |
| 4 | DATABASE_URL | postgres://user:pass@localhost:5432/app |
| 5 | API_KEY | dev-secret-key |
| 6 | FEATURE_FLAG | true |
| 8 | PORT | 3001 |
JSON export
{
"NODE_ENV": "development",
"PORT": "3001",
"DATABASE_URL": "postgres://user:pass@localhost:5432/app",
"API_KEY": "dev-secret-key",
"FEATURE_FLAG": "true"
}Safe .env checks
Environment files often contain API keys and database URLs. This validator runs entirely in your browser so you can lint format and duplicates without uploading secrets to a third-party server.