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
LineKeyValue
2NODE_ENVdevelopment
3PORT3000
4DATABASE_URLpostgres://user:pass@localhost:5432/app
5API_KEYdev-secret-key
6FEATURE_FLAGtrue
8PORT3001
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.

Related Tools

All tools