.env File Validator

Check your .env file for duplicate keys, invalid names, unclosed quotes and weak secrets. Free and private.

🔒 100% client-side. Your keys, secrets and values are never sent to any server and never stored.

.env

.env.example (secrets removed)

Input

Output

Paste your .env content

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.