Tested tool guide
Tested browser tools
Checked August 16, 2026
What jq Playground does, with a checked example
Paste JSON into jq Playground, enter a jq filter, and inspect each value that the filter emits. It supports jq field selection, pipes, array and object construction, filtering, and calculations, with syntax highlighting for the expression. Evaluation happens locally in the browser, so pasted data is not uploaded. The main source of confusion is jq's stream model: `.items[]` emits one output value per item, while `[.items[]]` collects those values into a single JSON array. That distinction determines whether the result is one JSON document or a sequence of values.
Worked example
A concrete input and expected output from the current implementation.
Input
JSON input:
{"items":[{"name":"pen","qty":4},{"name":"pad","qty":2}]}
Filter:
.items | map({name: .name, doubled: (.qty * 2)}) ->
Expected output
[
{
"name": "pen",
"doubled": 8
},
{
"name": "pad",
"doubled": 4
}
] `.items` selects the array, and `map` constructs one new object for each element. The calculated values are 4 times 2 = 8 and 2 times 2 = 4.