JSON Flatten

Paste JSON and get a flat object with dot-separated keys (e.g. a.b.c). Useful for config or CSV-like export.

JSON Flatten

How it works

We walk the object recursively and build keys by joining path segments with a dot. Arrays are indexed or stringified.

When to use it

Use for env vars, config flattening, or pre-CSV export.

Frequently asked questions

Arrays?

Array indices become part of the path (e.g. arr.0).

Custom separator?

This tool uses dot; others may allow custom.