Tested tool guide
Tested browser tools
Checked August 16, 2026
What JSON Flatten / Unflatten Tool does, with a checked example
JSON Flatten / Unflatten Tool switches between a nested JSON object and a flat JSON object whose keys encode nesting with periods. In flatten mode, an inner property becomes a key such as "person.name"; in unflatten mode, that path becomes nested properties again. This helps expose deep fields while retaining their path context. The common surprise is that dot notation is a convention outside JSON itself. A literal period inside an original property name can therefore be confused with a nesting separator.
Worked example
A concrete input and expected output from the current implementation.
Input
{
"user": {
"name": "Ada",
"role": "admin"
}
} ->
Expected output
{
"user.name": "Ada",
"user.role": "admin"
} Both values are inside the original "user" object. Flattening joins that parent name to each child property with a period, producing two top-level path keys while preserving the associated string values.