Flatten JSON
Input
Paste or drop your data here, or open a file.
New to Bracely?
Everything stays in your browser.
Compare with
Output
Output appears here
Paste or open your data in the input box. It never leaves your browser.
Flatten and Unflatten JSON
Flatten nested JSON into one level of path keys like customer.city, or rebuild the nesting from those keys.
How do I use the Flatten JSON?
- Paste nested JSON, or choose Unflatten and paste flat JSON.
- Pick a separator: dot, slash, underscore or your own.
- Copy the result.
What does the Flatten JSON do?
- Both directions
- Array indexes kept in the keys
- Any separator
Frequently asked questions
- When is flattening useful?
- For spreadsheets, environment variables, search indexes and config systems that only accept flat keys.
- Is my data uploaded?
- No. Bracely runs entirely in your browser, so nothing you paste or open leaves your device.
More JSON tools
Bracely has 108 JSON tools in one page. Related ones:
- Convert JSON key case
- Remove nulls from JSON
- List tools
- Remove duplicates
- Unix timestamp converter
- Filter JSON fields
- JSON pipeline
- JS macro
- Unflatten JSON
- Merge JSON
- API breaking change checker
- Text diff
- Query JSON with SQL
- JSON Pointer
- JSON Formatter
- JSON Validator
- JSON Viewer
- JSON Repair
- JSON Diff
- JSON to YAML
- JSON to CSV
- jq Playground
Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram