Flatten nested JSON
Paste nested JSON and flatten it into a single-level object whose keys are the dotted paths to every value, ideal for environment files, translation catalogs and spreadsheets. The result is saved privately in your account.
No sign-up needed, runs instantly in your browser.
How it works
- 1Paste your nested JSON
- 2Choose the separator and indentation, then press Run
- 3Download the flattened JSON or find it in your files
Frequently asked questions
- How are arrays handled?
- Array items use their index as the path segment, e.g. items.0.name, so the structure round-trips with Unflatten JSON.
- Can I change the separator?
- Yes, the default is a dot, but you can use any short separator such as / or _ to match your target format.
Related tools
Paste a flat object whose keys are dotted paths and rebuild the original nested JSON. Turn on array rebuilding so numeric path segments become arrays, the exact inverse of Flatten JSON. The result is saved privately in your account.
DeveloperPaste JSON to pretty-print, minify or validate it. Choose the indentation, optionally sort keys, and your formatted file is stored privately in your account.
DeveloperPaste a JSON array and turn it into CSV. Arrays of objects become one column per key (the union of all keys); arrays of values become a single column. Choose the delimiter and whether to include a header, saved privately in your account.
DeveloperPaste Base64 to decode it back to readable text. Both standard and URL-safe Base64 are accepted. The result is stored privately in your account.
Developer