jq Playground Online
Run common jq-style selectors, projections and array iteration locally.
Open jq PlaygroundFree · No sign-up · Browser-based processing
What jq Playground does
Run common jq-style selectors, projections and array iteration locally. The utility is designed for quick, focused work without requiring an account or installing another application.
Common uses
- Debug API payloads and configuration files
- Prepare data for reviews, tests and migrations
- Convert between common development formats
How to use jq Playground
- Enter or paste the value you want to process in jq Playground.
- Run the tool and review the generated result for the expected format.
- Copy or download the result and verify it in the system where it will be used.
Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.
jq Playground example
Try the tool with this representative input:
{"users":[{"name":"Ada"},{"name":"Linus"}]}jq Playground FAQ
What can I use jq Playground for?
Run common jq-style selectors, projections and array iteration locally. It is intended for focused code & data work and produces a result you can review before using elsewhere.
How does jq Playground handle my input?
jq Playground processes the input in your browser and does not upload it to the DevNet Kit server.
What should I verify after using jq Playground?
Check the jq Playground result against the requirements of the destination system, especially syntax, limits and environment-specific behavior.
Sum a numeric JSON array with a supported jq-like pipeline
For {"items":[2,3,5]}, enter .items | add to return 10. The property step selects the array and add reduces it from zero. Use numeric values for arithmetic; mixed strings and numbers follow JavaScript addition and can produce concatenated text.
This local implementation supports ., property paths, [] projection, length, keys and add joined with pipes. It is not the full jq engine: do not assume support for select, map, variables or object construction. Path steps use the same subset and single-match unwrapping as the JSONPath tool.
Worked example
Input and settings:
{"items":[2,3,5]}Options:
.items | addExpected result or interpretation:
10Questions about this workflow
How do I sum a numeric array stored under items?
Use .items | add for an object such as {"items":[2,3,5]}; the result is 10. add reduces arrays from zero. Use numbers because mixed strings and numbers can concatenate under JavaScript addition.
Is this playground a complete jq implementation?
No. It supports ., paths, [] projection, length, keys and add with pipes. select, map, variables and object construction are outside this subset. Path results can unwrap a single match, so inspect intermediate types.