Add your JSON
Paste JSON, open or drop a file, or keep the sample data. JSON Lines (one value per line) work too.
Paste JSON or open a file, write a jq filter and see the result update live, with the real jq running in your browser.
Switch the common options, pass variables, start from an example and copy or download the output.
jq '.users[] | select(.age > 30) | .name' input.jsonThe first run downloads jq (about 242 KB) once. After that it loads from your browser.
Results update as you type.
The result of your filter appears here.Paste JSON, open or drop a file, or keep the sample data. JSON Lines (one value per line) work too.
Type a jq filter or pick an example such as select, map, group_by or @csv. The result updates as you type.
Copy or download the output, or copy the equivalent jq command line to run it in a terminal.
WaveSpeed AI runs image, video and audio models through one API that answers in JSON, the kind of output this playground is made for.
Generate images from a prompt.
Make videos from text or a picture.
Turn a picture into a 3D model.
$1 in free credits for eligible new accounts. No card needed. Generators have separate account and credit requirements. The jq online is free.
Yes. It is jq 1.8.2, the official jq source compiled to WebAssembly (the jq-wasm package), so filters, built-in functions, regular expressions (test, match, sub) and error messages are the same as on the command line.
No. jq runs inside your browser, in a background worker. Your JSON is not sent anywhere; the only download is jq itself, about 250 KB the first time, then kept by your browser.
Raw output (-r), compact output (-c), slurp (-s), null input (-n), sort keys (-S) and stream (--stream), plus named variables with --arg (text) and --argjson (JSON). The page shows the matching jq command line, ready to copy.
You can open files up to 200 MB, and the page stays responsive because jq runs in a worker. jq itself has 256 MB of memory in the browser, which fits roughly 20 MB of typical JSON when it is read whole. For bigger files use the stream option with a filter built on inputs, as in the “Count values in a huge file” example.
The page shows jq's own message: a compile error points at the part of the filter it could not read, and a runtime error such as “Cannot index array with string” tells you which value had the wrong type. Invalid JSON input gets jq's parse error with the line and column.
Yes. Build an array per row and end the filter with @csv or @tsv with raw output on, as in the CSV example; the download is then saved as a .csv or .tsv file.
Yes. Input with one JSON value per line is read value by value, as jq does in a terminal. Turn on slurp to get all of them in one array.
Yes. No account, no limit on runs. jq is open source under the MIT licence.
Free, private and in your browser.