Flatten JSON
Turn nested JSON into a single level with keys like a.b[0].c, handy for putting data into a spreadsheet.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Handy when you need a deeply nested API response in Excel or Google Sheets with one column per key such as customer.address.city, or when you want the full path of a deeply buried value.
Empty arrays and objects are kept as [] and {}. If your key names already contain dots, switch the separator to / or __ so the data can be rebuilt later without splitting keys by mistake.
How to use
- Paste nested JSON.
- Choose a key separator if you want something other than a dot.
- Click Copy or Download.
Frequently asked questions
Is the data I paste sent to a server?
No. The tool runs in JavaScript right in your browser, and Takikit has no server that receives data. You can turn off your internet after opening the page and the tool will still work.
Related tools
More Developer tools
JSON Key SorterSort key names alphabetically at every level, handy for comparing two JSON files or keeping configs tidy.JSON to TypeScript ConverterGenerate a TypeScript interface or type from a JSON sample, detecting keys that may be missing in arrays.JSON ValidatorCheck whether JSON has valid syntax, point out the error and show the count of objects, arrays and depth.JSONPath TesterType a JSONPath expression and instantly see the values extracted from the JSON, including conditional filters.JSON MinifierRemove all spaces and line breaks to make the JSON as compact as possible, with the number of characters saved.JSON Formatter and BeautifierBeautify JSON with readable indentation and show the exact line and column when the JSON is invalid.
See all developer tools