JSON unflatten
Turn flat dot-path keys such as user.name back into nested JSON objects and lists.
Missing a feature or found a bug in JSON unflatten? Tell me on X (@_andrewtran) or by email.
How to use JSON unflatten
- Paste JSON whose keys are paths, such as "user.name".
- Read the nested result in the output pane.
- Copy it or download it as a file.
Questions and answers
Is my data sent anywhere?
No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.
How are lists written?
With square brackets, so items[0].id and items[1].id give a list of two objects. A plain number after a dot, as in items.0, is read as a key.
Where are the other options?
This page opens JSON flatten and unflatten with one choice already made. Every option of that tool is still here, and its own page says more about it.
Related tools
JSON flatten and unflatten
Flatten nested JSON to dot-path keys such as user.tags[0], or turn flat keys back into nested JSON.JSON escape and unescape
Turn text into a JSON string literal with quotes and line breaks escaped, or turn one back into text.HTML entity encoder
Escape text as HTML entities, or decode entities such as & and ' back into characters.Text to hex converter
Convert text to hexadecimal UTF-8 bytes, or decode hex back into text.