Transform & Reshape

Flatten JSON

Turn nested values into a flat path map so fields can be inspected and selected directly.

Browser private
JSON Input
Loading editor…
1 line 0 characters0.0 KB UTF-8
Loading editor…
Preview your result here
Ready when you are| Local processing
|

How to use Flatten JSON

  1. Enter nested JSON.
  2. Choose a delimiter and inspect the escaped paths.
  3. Keep the path convention when saving data for unflattening.

Input: JSON. Output: Path map.

Try a small example

Use the workspace's Sample action to load example data, or paste this input and run the tool. Loading an example is an explicit action.

{"name":"Ada","active":true,"scores":[9,12],"address":{"city":"Pune"}}

What to keep in mind

Object paths use an escaped delimiter and arrays use bracket indexes. Retain escaping and the same delimiter when reconstructing the document.

Your source and result are separate. Review transformations before applying them, and download an original copy when preserving exact input matters.

Continue your workflow

Read practical JSON guides or learn how local processing works.