Group by key
Runnable aboveGroup by key
Input
[{"k":"a","v":1},{"k":"b","v":2},{"k":"a","v":3}]Expected result
{"a":[{"k":"a","v":1},{"k":"a","v":3}],"b":[{"k":"b","v":2}]}- Group by: k
- JSON indentation: minify
Output will appear here.
These tools accept json output. Run this tool to enable one-click hand-off.
JSON
Group a JSON Array is a JSON tool that takes json input and returns json output. It runs entirely in your browser, so your input never leaves your device.
Step by step
5 steps, all from the panel above — nothing leaves your browser.
Type or paste your json into the input panel above — it keeps a running character and line count as you type.
Adjust the 2 tool options — JSON indentation, Group by.
Run it — the work happens in your browser, so nothing is uploaded.
The result appears in the output panel as json output. From there you can copy it with one click, download it as a file.
The chain panel lists tools that accept this output; sending the result opens the next tool with its input already filled in.
Formats
What Group a JSON Array accepts and what it hands back.
Pasted json content; no file upload is involved.
Returned as json output; no specific file format is declared for it. From the output panel you can copy it with one click, download it as a file.
JSON indentation
select · default 2
Group by
text · default k
Examples
1 catalog example for Group a JSON Array. Runnable examples can be loaded from the examples panel above.
Group by key
Input
[{"k":"a","v":1},{"k":"b","v":2},{"k":"a","v":3}]Expected result
{"a":[{"k":"a","v":1},{"k":"a","v":3}],"b":[{"k":"b","v":2}]}Prettify or minify JSON with configurable indentation and optional key sorting.
Remove all insignificant whitespace from JSON.
Check whether text is valid JSON and summarize its structure.
Convert a JSON array of objects into CSV rows.
Turn plain text lines into a JSON array of strings.
Flatten a JSON array into text lines.
FAQ
Answers for Group a JSON Array, taken from the tool's own catalog definition.
It runs entirely in your browser — the work happens on your device.
json input.
The result is json output. From the output panel you can copy it with one click, download it as a file.
Yes. After a run, the chain panel lists tools that accept json output (12 compatible tools in the catalog right now) and hands the result across with one click.
Yes — the tool options panel above exposes 2 settings: JSON indentation, Group by.
No. Accounts only add conveniences: favourites, recent-tool history and saved workflows.
Processed locally in your browser; Accepts pasted text; Input can come straight from your clipboard; Copy the result with one click; Download the result as a file; Chain the output directly into another tool.
Get started
The tool is ready above — add your json and run it. It all happens in your browser, so nothing is uploaded.