Environment File (.env) Comparator

Find what is missing or different between your .env and .env.example, or between two servers, without exposing secrets.

How this is worked out

Both files are read as KEY=VALUE lines (comments, blank lines, quotes and an export prefix are handled). The tool lists keys that exist in only one file, keys with different values, duplicate keys, and keys that are empty in one file but filled in the other. By default values are not shown, so you can share a screenshot without leaking secrets.

Related tools: Text Diff Checker, Json Diff Tool, Password Generator.

Something not working on this page? Tell me through the Contact page: that is how I find out what is broken and fix it.