Text utilities

Unflatten JSON

Rebuild nested JSON objects from dot-separated keys.

Text stays in your browserCopy your result

Input workspace

Runs on your device

OUTPUT WORKSPACE

Your result

Let’s calculate.

Use the Calculate button to see your result.

Your content is processed locally.

How to use this tool

  1. Enter flat json object.
  2. Select Update result to view the result.
  3. Check the method and assumptions below before using the result.

The method, explained

Split each key on dots and create nested objects. Reject paths that conflict with an existing value.

A WORKED EXAMPLE

{"user.name":"Ava"} becomes {"user":{"name":"Ava"}}.

What to keep in mind

Dotted numbers remain object keys, not array indexes. Unsafe and conflicting paths are rejected.

Common questions

How does this tool handle my input?

Processing happens in your browser. Your pasted content is not uploaded, included in URLs or stored as a calculation history.

What input should I use?

Flat JSON object: use the example already shown, then replace it with your own content. Dotted numbers remain object keys, not array indexes. Unsafe and conflicting paths are rejected.

Methodology maintained by ClarityKit. How these tools are built and checked.