New
.env File Validator
Runs in browserParse and validate .env content in browser. Detect duplicate keys, empty values, suspicious formatting, and potentially sensitive variable names.
.env File Validator tool
Parsed variables
10 variables1 empty2 duplicates
| Key | Value | Status |
|---|---|---|
| DATABASE_URL | postgresql://user:password@localhost:5432/mydb | ✓ Valid |
| API_KEY | sk-1234567890abcdef | ⚠ Suspicious(Sensitive) |
| SECRET_KEY | my-super-secret-key | ⚠ Suspicious(Sensitive) |
| NODE_ENV | development | ✓ Valid |
| PORT | 3000 | ✓ Valid |
| DEBUG | true | ✓ Valid |
| NEXT_PUBLIC_API_URL | https://api.example.com | ⚠ Suspicious(Sensitive) |
| EMPTY_VAR | — | ⚠ Empty(Empty value) |
| DUPLICATE_KEY | first | ✗ Duplicate(Duplicate key; Sensitive) |
| DUPLICATE_KEY | second | ✗ Duplicate(Duplicate key; Sensitive) |
How to use
Paste .env text
Insert key=value lines in the left panel.
Review table
Inspect status tags for valid, empty, duplicate, and suspicious entries.
Copy parsed JSON
Export parsed key/value data for debugging or docs.
Examples
Duplicate key
Later declaration overrides earlier values in many parsers.
InputAPI_KEY=one API_KEY=twoOutputDuplicate warning
Frequently asked questions
- Are values uploaded?
- No. Parsing and checks run entirely in your browser.
- Does this hide secrets by default?
- You can toggle value visibility to reduce accidental exposure during screen sharing.
Related tools
You might find these useful too.