devvkit / dev
.env File Validator
Lint .env files: syntax, duplicates, secrets, and clean exports.
0 variables0 errors0 warnings
Input
No issues: file looks clean.
Cleaned export
Checks syntax (KEY=VALUE, quotes, inline comments), duplicate keys, and common secret patterns (AWS keys, GitHub tokens, OpenAI keys, PEM blocks, and *PASSWORD/*SECRET/*TOKEN key names). Secret detection is heuristic: verify before acting. All analysis runs locally.
share this tool
related tools
Lint .env files for syntax errors, duplicate keys, unquoted values, and accidental secrets. Export a cleaned .env with duplicates resolved and sensitive values filtered out.
>[x]Features
- -KEY=VALUE syntax checks with line numbers
- -Duplicate key detection
- -Quote and inline-comment warnings
- -Heuristic secret detection (AWS keys, tokens, PEM blocks)
- -Cleaned export for .env.example
- -Runs entirely locally
>>Use Cases
- >Auditing env files before committing to a repo
- >Generating a safe .env.example from a real .env
- >Catching duplicate keys that silently override
- >Teaching dotenv quoting rules