Flattens nested JSON into single-level dot/bracket paths.
JSON Flatten turns a deeply nested JSON object into a single-level map of path keys, using dot notation for object properties (a.b.c) and bracket notation for array items (a[0]). Each path points to a leaf primitive value, which makes nested data easier to read, diff, search, or feed into tools that expect flat key/value pairs. It is handy whenever you need to unnest JSON and inspect exactly where each value lives.
No. JSON Flatten runs entirely in your browser, so nothing is uploaded or stored remotely. Your JSON never leaves your device.
Object properties use dot notation (for example a.b.c) and array elements use bracket notation (for example items[0]). The two are combined as needed, such as user.roles[1].
They are preserved as leaf values rather than being expanded. An empty object stays as {} and an empty array stays as [] under their path key.
If the input is a single primitive like a number or string, it is surfaced under the key "value" in the output so it still appears as a proper key/value pair.
The tool parses the input with the standard JSON parser, so malformed JSON will fail to parse and produce an error. Make sure the input is valid JSON before flattening.