JSON flatten and unflatten

Flatten JSON to JSON Pointer values and rebuild it without losing array types.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options

How to use this tool

  1. Flatten a JSON value into separate values and containers maps.
  2. Paths use JSON Pointer escaping, so slashes in keys are unambiguous.
  3. Paste that complete envelope in unflatten mode to rebuild the original structure.

Things to know

  • Unflatten expects this tool's values/containers envelope, not arbitrary dotted keys. Prototype-modifying paths are rejected.
  • Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
  • Structured documents accept up to 128 nesting levels and 250,000 values; query and schema modes have additional limits.

You might also need

More in data & csv