不上传 · 浏览器内处理
JSON 转换
扁平化嵌套的 JSON、去掉 null 值,或把整段数据封装成转义后的单个字符串。
收藏后可在首页快速找到
How to use it
1Step 1Paste your text into JSON input to start
2Step 2Press the button and the result appears below
3Step 3Use the copy button to take the result anywhere
If the result looks off
The result looks cut off
Use the copy button to get the full result.
My input disappeared
It is saved on this device. Clearing browser storage removes it too.
常见问题
Can I undo a flatten?
Yes. The unflatten action restores dotted keys like a.b.c back into nested objects.