Parsing uses deterministic rules that preserve field and type boundaries.
JSON Flatten / Unflatten
Converts objects and arrays to RFC 6901 JSON Pointer paths or rebuilds nested data from a flat path map. Key escaping is preserved and duplicate or conflicting paths produce explicit errors.
What does this tool do?
Flatten nested JSON into lossless JSON Pointer paths and rebuild it.
JSON Flatten / Unflatten: method and usage
Converts objects and arrays to RFC 6901 JSON Pointer paths or rebuilds nested data from a flat path map. Key escaping is preserved and duplicate or conflicting paths produce explicit errors.
Syntactically valid JSON containing the object, array, or fields named by the tool Confirm the shape first with a small example containing no personal data.
a parsed structure, field metrics, and explicit syntax findings
Practical steps
- Enter valid nested JSON or a flat JSON Pointer map.
- Choose flatten or unflatten and run the operation.
- Verify array types and empty containers with representative samples.
field names, value types, escaping, and empty or null values compared with the source
Verify schema, encoding, and data-loss assumptions in the target system.
Suitable use cases
- Preparing configuration diffs
- Exposing fields for tabular export
- Inventorying deep API fields
Guides for this tool
Safely Converting YAML, XML, JSON, and CSV in the Browser
A parsing, flattening, deduplication, and schema-validation workflow that avoids silent data loss.
Read guide →Reliable Scheduling with Cron and Unix Time
Prevent time zones, DST, field order, and second-vs-millisecond mistakes from breaking scheduled jobs.
Read guide →Frequently asked questions
What input does JSON Flatten / Unflatten accept?+
Syntactically valid JSON containing the object, array, or fields named by the tool Enter valid nested JSON or a flat JSON Pointer map.
What does JSON Flatten / Unflatten return?+
a parsed structure, field metrics, and explicit syntax findings Parsing uses deterministic rules that preserve field and type boundaries.
How should I validate JSON Flatten / Unflatten output?+
field names, value types, escaping, and empty or null values compared with the source
Does JSON Flatten / Unflatten send or store input on a server?+
Tool input is processed in the active tab. Saving to the Workstation or transferring to another tool is a separate choice. Consider browser extensions and shared devices separately; the privacy page explains advertising and network connections.