JSON flattener
Processed in your browser · nothing is uploaded
Turns a nested structure into a single object keyed by dotted path — `user.name`, `user.tags[0]` — and turns it back again.
How to use the json flattener
Flattened JSON is what a lot of systems actually want: translation files, feature-flag stores, environment configuration and analytics payloads are all flat key-value maps, and a nested document has to be flattened to fit. The round trip is lossless for ordinary data, with one edge worth knowing about — an empty array or object has no leaf to flatten into, so it is preserved as an explicit empty value rather than vanishing, which is exactly what lets unflattening give back what you started with.
Questions
Dots for object keys and square brackets for array indices, so `a.b[0].c`. That is the convention most config systems use.