Environment File Validator
Check dotenv syntax and duplicate assignments. Share the findings without exposing values.
Reading Environment File
Open an Environment File
UTF-8 .env, .env.* or .txt up to 512 KiB.
Dotenv Text Profile v1
- Use one assignment per line. Keys start with an ASCII letter or underscore, followed by ASCII letters, digits or underscores. Case matters.
- Optional lowercase
exportand spaces around=are allowed. Empty values are allowed and count as present. - A single or double quote at the start of a value must close on the same line. Inside double quotes,
\"and\\are recognized when finding the closing quote. #starts a comment outside quotes. Quoted values can contain a literal hash. After the closing quote, use only whitespace or a comment.- Multiline assignments and shell commands are outside the profile. References and command-like text inside values are treated as inert characters.
Paste dotenv text or open a file. Reports exclude keys, values and source excerpts.
Optional Required Keys
Enter one key name per line, up to 32 KiB. Blank lines and # comments are allowed.
Reports contain locations and corrections. Keys, values and source excerpts stay in the input fields.