UTILS.
Private by default
⊞}

JSON Flatten / Unflatten

Flatten nested JSON to dot-notation keys, or rebuild nested objects from flat keys.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

— output appears here —

About this tool

Dot paths support object roots and nested arrays. Empty keys, dotted keys, and numeric object keys are unsupported.

Large numbers are preserved exactly. Duplicate object keys are rejected to avoid ambiguous results.

Input or settings changed. Run the tool again to create a current result.

Your text and files stay on this device. Nothing is uploaded or saved by this tool.

Frequently asked questions

How do I use this tool?
Dot paths support object roots and nested arrays. Empty keys, dotted keys, and numeric object keys are unsupported.
How does it handle my data?
Large numbers are preserved exactly. Duplicate object keys are rejected to avoid ambiguous results. Your text and files stay on this device. Nothing is uploaded or saved by this tool.

More tools