Paste a small .env snippet, inspect final key values, duplicate overrides, quoted hashes, multiline values and safety diagnostics. The parser runs locally and masks secret-like values by default.
dotenv.parse turns text into key value pairs. This playground focuses on the parse step: comments, quotes, empty values, export prefixes, duplicate keys and multiline values.
The page does not load .env files, resolve project config, expand variables, decrypt vault data or write to a runtime environment. Treat every real secret as sensitive and use the masked output for sharing.
Start from a preset, edit the text and compare the masked JSON preview with the final value table.
URL, feature flag, empty value and port examples without secret-like values.
APP_HOSTexample.testnoneFEATURE_CHECKOUTtruenoneEMPTY_VALUEnoneemptyPORT4306none{
"APP_HOST": "example.test",
"FEATURE_CHECKOUT": "true",
"EMPTY_VALUE": "",
"PORT": "4306"
}parse reads text and returns key value pairs. config loads files and populate writes values into a trusted runtime. This public route stays on the parse side only.
Unquoted # text is treated as a comment, while single, double and backtick quoted values keep # as part of the value.
Key names and credential-like values are masked by default. Revealing is only a local UI state for the current page session.
Use these routes when configuration text becomes schema, YAML, dependency policy or browser support policy.