Skip to content

JSON to ENV

Convert a flat JSON object to quoted environment assignments.

Input

51 chars1 lines

Result

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

Keys must be valid environment names. Scalars become strings. Dollar signs, backticks and control characters (including line breaks) are rejected to avoid ambiguous shell interpolation.

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: