JSON Flatten & Unflatten
Flatten nested JSON key structures or unflatten dot-separated paths into deep objects
Reduces deep JSON structures to single dot-separated layers, or parses them back to nested objects.
도구를 불러오는 중…
🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.
How to use
- Paste your nested JSON document.
- Choose Flatten or Unflatten options.
- Click transform and copy the results.
FAQ
- What separator is used?
- Dot (.) is the default separator, but you can configure custom separators.
- What if a key name itself already contains the delimiter character, like a dot?
- If a key name (not the value) already contains the same character used as the delimiter, the path can get split in the wrong place during flatten or unflatten. In that case, switch the delimiter to something that doesn't appear in your data, like / or _.
- What if a key name itself already contains the delimiter character, like a dot?
- If a key name (not the value) already contains the same character used as the delimiter, the path can get split in the wrong place during flatten or unflatten. In that case, switch the delimiter to something that doesn't appear in your data, like / or _.
