jq JSON Transformation Playground

Transform JSON streams with real jq 1.8.2 running in a disposable browser worker.

On-device No sign-up Free to use

Run jq filter controls

?

Up to 2 MiB. Multiple JSON documents are accepted. Output is limited to 2 MiB and 10,000 values.

Result

Showing an example.

Run jq filters and export each output value as JSON Lines.

Two JSON Lines values are produced: pens with doubled 6, then books with doubled 4. jq-output.jsonl contains the output values without terminal colour codes.

Loading the tool. Your result will appear here.

https://usefreetools.net/jq-transformation-playground · 20 November 2026

Was this helpful?

How to use jq JSON Transformation Playground

  1. Enter a jq filter directly, without a shell command or shell quotes, and paste one or more whitespace-separated JSON input values.
  2. Select Run jq filter and inspect the output count, values and exit status. A filter can produce several values or none.
  3. Download jq-output.jsonl to keep the output as JSON Lines. Cancel or Reset stops the disposable worker; run again for a fresh task.

Example: jq JSON Transformation Playground

Run jq filters and export each output value as JSON Lines.

You add
jq filter: .items[] | {name, doubled: (.count * 2)} JSON input stream: {"items":[{"name":"pens","count":3},{"name":"books","count":2}]}
You get
Two JSON Lines values are produced: pens with doubled 6, then books with doubled 4. jq-output.jsonl contains the output values without terminal colour codes.

Supported inputs and limits

  • JSON input up to 2 MiB, filter up to 64 KiB, and output up to 2 MiB or 10,000 values.
  • Uses jq 1.8.2 with a 128 MiB WASM memory maximum and a two-second task deadline after initialization.
  • Raw NUL bytes and lone surrogates are refused; an escaped Unicode NUL inside a JSON string remains supported.
  • Multiple input documents and multiple or no output values are supported.
  • Exit status 1 means the last result was false or null, while 4 can mean no values.
More details

Invalid JSON, invalid filters and runtime failures are errors.

Input and filter files exist only in the disposable worker; host directories, external modules and network access are unavailable.

No automatic execution or saved history.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Questions about jq JSON Transformation Playground

Is this the real jq language?

The runtime is jq 1.8.2 compiled from its official source, including vendored Oniguruma. It is not a JSONPath approximation.

Why can a jq filter produce no output?

Filters such as empty intentionally emit no values. The result reports zero values and preserves jq exit behavior separately from parsing/runtime errors.

Can a filter load files or modules from my computer?

Only the supplied filter and input stream exist as ephemeral files in the worker. Host paths, downloaded modules and network access are unavailable.

Page updated · Project managed by Tony Hines · Report a problem with jq JSON Transformation Playground