Skip to content

ENV to JSON

Parse simple dotenv assignments into a JSON object of strings.

Input

43 chars3 lines

Result

Type or paste on the left — the result updates as you type.

Supports export, quoted values and comments. Duplicate keys are rejected. Variables are not expanded and shell commands are never evaluated.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: