JSON Key-Value Extractor
Flatten a JSON object into path, delimiter, value lines: nested objects become dotted paths, arrays print as compact JSON, and the delimiter is configurable. Parsing stays in your browser.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
The top level must be an object. Nested objects become dotted keys and array values are printed as compact JSON (tags=["a","b"]).
Key/value list
One line per leaf: path, delimiter, value, in depth-first order. Empty objects produce no lines.
Paste a JSON object to see its key/value pairs
What this tool does
- Export a JSON config as key=value text that pastes straight into .env or a shell script
- Flatten nested JSON into dotted key/value lines so two configs can be diffed line by line
Example
Input
{"user":{"name":"Ada","age":37},"active":true}Output
user.name=Ada user.age=37 active=true
Paths are emitted depth-first; the default delimiter is =.
Frequently asked questions
How are array values printed?
As compact JSON, for example tags=["a","b"]. They are no longer joined with commas, which would lose element boundaries.
Can the top level be an array?
No. The top level must be a JSON object; arrays and primitives are rejected.
What delimiters are allowed?
Any non-empty string, for example : or " => ". An empty delimiter raises an error.
What about empty objects and arrays?
An empty object has no leaf values so it produces no line; an empty array is a leaf and prints as key=[].
Keywords:json key valuejson to env