ToolHop.

ADVERT

JSON Shape Flattener & Merger

Flatten nested JSON objects, rebuild dot-path maps, and merge payloads with conflict tracking.

How to use this tool

  1. Use the flatten section to convert nested JSON into path/value maps.
  2. Use the unflatten section to rebuild nested JSON from path keys.
  3. Use merge controls to combine two JSON documents and inspect conflicts.

Flatten and unflatten workflow

  • Flattening outputs dot and bracket notation paths for each leaf value.
  • Unflattening reconstructs arrays and objects from those path keys.
  • Useful when moving between nested payloads and spreadsheet-style maps.

Merge behavior

  • Choose left or right preference for conflicting primitive values.
  • Configure array behavior as concatenate, replace, or merge-by-index.
  • Conflict details show path, resolution strategy, and both source values.

FAQ

Can this handle arrays in flattened keys?
Yes. Array indexes in brackets are supported when rebuilding nested structures.
Will merge always report conflicts?
Conflicts are reported only when values differ or types mismatch at the same path.
Is data processed locally?
Yes. Flattening, reconstruction, and merging run entirely in-browser.

ADVERT

ADVERT