Env File Validator

Validate .env file syntax: KEY=value, comments (#), duplicate keys, invalid key names.

About this tool

Checks .env syntax: each non-empty line must be a comment (#...) or KEY=value. Keys must start with a letter or underscore and contain only letters, digits, and underscores. Duplicate keys are reported.

Click "Validate" to check your code