What the validator checks
Missing = separators, invalid or empty keys, duplicate keys, unclosed quotes, unquoted values with spaces, whitespace around keys, non-UPPER_CASE names and placeholder secrets like changeme.
Why validate a .env file?
Parsers differ. A duplicate key or an unquoted space can silently change behavior between dotenv, Docker and your framework. Catching it early avoids hard-to-debug production issues.
Frequently asked questions
Does it check that my secrets are valid?
No. It checks syntax and common mistakes, not whether a key works with a provider.
Is my .env sent anywhere?
No. Validation runs locally in your browser.