.env Parser & Validator
Parses KEY=VALUE text, infers value types (string/boolean/number/null/empty), masks secrets, and exports as JSON or Shell export.
Parse Results
| Key | Value | Type | |
|---|---|---|---|
| (undefined) | |||
JSON Output
How to use
About this tool
Parses .env (KEY=VALUE) text and automatically infers value types. Sensitive keys are masked, and you can export as JSON or Shell export.
How to use
Paste .env text (KEY=VALUE) into the input box. You’ll see the parse results (key, value, type) and any errors for each line. Switch between JSON / Shell export and copy the output.
Use cases
• Verify inferred value types (string/number/boolean/null/empty) • Create JSON or export-form output from .env • Mask sensitive keys when sharing values
How it works
Each line is split into key/value by the first `=`. Outer quotes (double quote or single quote) are removed once from the value before type inference. Lines starting with `#` are ignored as comments. If the key name contains `password/secret/key/token` (etc.), the value is masked by default.
Privacy and data
All processing happens in your browser. Input data and generated results are never sent to a server.
