ENV Diff Tool
Compare two .env files and detect missing keys and value differences
How to use ENV Diff
- Paste your first `.env` in .env A and the second in .env B.
- Click Compare (or just type; it updates in real time).
- Review `missingInA`, `missingInB`, and `differentValues` in the JSON report.
Notes
- Comments (`# ...`) and empty lines are ignored.
- Spaces are trimmed and quoted values are normalized.
- Useful for CI/CD config drift checks before deployment.
FAQ
Does it support `export KEY=value` syntax?
Yes, `export` prefixes are supported and normalized.
Are duplicate keys handled?
The last key occurrence wins, matching common dotenv behavior.