JSON Flatten / Unflatten

Paste a nested JSON object to flatten all keys to a single level using dot, slash, or underscore separators. Arrays are indexed (e.g. list.0). Reverse the operation to unflatten a flat key-value map back into a nested structure. Runs entirely in your browser.

Related tools