Skip to content

Array JSON to Object JSON

Transpose an array of objects into an object of arrays. Each key collects all values across the array.

Input

json
loading editor…

Paste your JSON array of objects here...
or drop a file anywhere in this pane

Output

json

Converted object will appear here...
press to convert to object

What Is Array JSON to Object JSON Conversion?

This transformation converts an array of objects into an object of arrays. Each unique key from the input objects becomes a key in the output object with all corresponding values collected into arrays.

How to Use

  1. Paste an array of objects into the input editor.
  2. Click "Convert to Object" to transpose rows to columns.
  3. Use the reverse button to convert back.

Related Tools