How to use .env Inspector, Diff & Redactor
Validate dotenv syntax, detect duplicates, compare environments, and produce a share-safe redacted template.
What to provide
Paste one dotenv file. Values stay in memory and likely secrets are masked in output by default.
Paste a second environment to compare keys. It is never stored.
- Paste, type, or drag and drop a supported text file into the input area.
- Place the second value in the adjacent panel. Sensitive fields are masked by default.
- Choose the options that match your intended result.
- Select “Run tool” or press Ctrl/Command + Enter, then copy, download, or move the result back into the first input for another pass.
Use “Swap inputs” to reverse the comparison without copying either value.
What the result means
Key diagnostics, added/removed/changed names, and a redacted template.
Privacy and safety
This utility is loaded as browser code and processes your input only in this tab. OmniCastConverter has no upload endpoint and never stores your content, filenames, tokens, or secrets. Generated markup and code are shown as inert text and are never executed.
Limitations
- Shell expansion and runtime interpolation are not evaluated; multiline values require quoted dotenv syntax.
Try the included example
Select “Load example” at any time to restore this tested sample.
API_URL=https://dev.example.com
API_TOKEN=dev-secret
DEBUG=trueAPI_URL=https://api.example.com
API_TOKEN=prod-secret
CACHE_URL=redis://localhost