Masked .env drift
Compare two .env files with values masked and list keys that were added, removed or changed.
Runs in your browser. Your input is not uploaded.
Loading the tool…
What it does, how to use it, and questions
What it does
Two environments drift when keys are added, removed or changed between .env files. A plain text diff also leaks secret values into screenshots and tickets.
This comparison lists only-in-A, only-in-B and changed keys, with values masked by default.
How to use it
- Paste environment A and environment B.
- Leave masking on unless you need the raw values on your own machine.
- Copy the report.
Things to watch for
- All values are compared as strings after dotenv parsing.
- Order of keys does not matter.
Questions
- Are secrets uploaded?
- No. Comparison runs in this page.
- What does show last 4 do?
- Masked values end with the last four characters so you can tell similar secrets apart.
- Does it expand ${OTHER}?
- No. Values are compared as written.
- Can I convert .env to JSON first?
- Yes, with the .env and JSON tool, then compare elsewhere if you need structural JSON diff.