.env Parser & Validator
Check a .env file for duplicates, bad names, missing quotes and committed secrets, and compare it with .env.example for missing keys. Private.
.env file
Stays in your browser.env.example (optional)
Stays in your browserFindings
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to .gitignore Generator.
Free Online .env File Validator and Comparer
Paste a .env file to find mistakes before they cause a confusing error. Add your .env.example to see which keys are missing or not documented. It gives developers a quick browser-based way to solve a focused .env parser & validator task before moving the result into a project.
How to check a .env file
Paste the file in the first box. Problems are listed with their line numbers, and the number of variables is shown.
How to compare with .env.example
Paste the example file in the second box. Missing keys are the ones a new teammate would forget to set.
Common mistakes
- Committing .env to git: add it to .gitignore and share .env.example instead.
- Spaces around "=": many tools read the name with a trailing space and the variable is never found.