PB
Available
code
lock Free · Private · In-Browser

Flatten JSON

Turn nested JSON into flat dot-notation key/value pairs.

Nested JSON, made flat

Deeply nested JSON is hard to scan and awkward to map onto flat systems like spreadsheets or environment config. Flattening rewrites it as a single level of dot-notation keys.

A nested address object becomes keys like address.city and address.zip, and list items get bracketed indexes. The result is a flat, greppable view of every value in the document.

Structured and private

The JSON is parsed and flattened in your browser, so your data is never uploaded.

Frequently Asked Questions

What does flattening do?

It rewrites nested structures as a single level, joining keys with dots and marking array items with square-bracket indexes.

Why flatten JSON?

Flat keys are easier to diff, map to spreadsheet columns, feed into config systems, or scan by eye.

Is my data uploaded?

No. The JSON is parsed and flattened entirely in your browser.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward