Data
JSON Flattener
Flatten nested JSON into a JSON Pointer map of leaf values without ambiguous dotted keys.
Loading tool…
How to use JSON Flattener
Turn nested data into a path-to-value object for inspection and mapping. Empty arrays and objects are preserved as leaves, and slashes or tildes in property names use JSON Pointer escaping.
- Paste the nested JSON structure.
- Select Run tool to map each leaf to its JSON Pointer path.
- Review the result, then copy it or download the generated file.
Good to know
- Up to 100,000 input characters, 10,000 values, and 40 nesting levels. Standard JSON numbers use JavaScript precision; duplicate keys retain their last value.
- Output is a path map, not a spreadsheet or an unflattening format. The empty string identifies a primitive or empty root.
Common questions
Why does a property slash become ~1?
JSON Pointer uses ~1 for / and ~0 for ~ so path separators remain unambiguous.
Keep going with related tools
All data →Data
JSON Path Query
Select JSON values using a restricted, safe path grammar with array indices and wildcards.
DeveloperJSON to CSV
Convert a JSON array of objects into a quoted CSV table with spreadsheet formula protection.
DeveloperJSON Viewer
Inspect a JSON document as a safe path, type, and value tree without executing its contents.