Skip to content
No uploads · runs in browser

JSON Transform

Flatten nested JSON, remove null values, or wrap a payload as a single escaped string.

Favorite it to find it fast on home

When to use it

Flatten nested JSON into dotted keys
Strip null values for a cleaner payload
Escape JSON as a single string for a log line

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.

Frequently asked questions

Can I undo a flatten?

Yes. The unflatten action restores dotted keys like a.b.c back into nested objects.

Can I undo a flatten?

Yes. Unflatten restores dotted keys like a.b.c back into nested objects.

Related tools

View all →