Flatten JSON
Turn nested objects into dotted keys.
Processed in this browser. Nothing is sent to a server.
Result
How do I use Flatten JSON?
Paste JSON to flatten it. Choose unflatten to rebuild a dotted object.
What are the limits of Flatten JSON?
The default mode flattens. Unflatten expects an object whose keys use dots.
Related tools
- JSON minifierCompress valid JSON onto one line.
- JSON diffCompare two JSON values by structure, with keys sorted.
- JSON formatterTurn JSON into readable indentation, or keep it compact.
- JSON validatorCheck that text is valid JSON and see the root value type.
- JSON to YAMLConvert valid JSON into YAML.
- YAML to JSONConvert YAML into formatted JSON.