JSON WalletPrivacy-first JSON & API workspace

jq Playground

Run jq filters against your JSON, powered by the real jq engine compiled to WebAssembly and running entirely in your browser. Filter, map, select and reshape JSON with the exact syntax you use on the command line — results update as you type, and nothing is ever uploaded.

Flags
JSON input
Output

Run jq filters in your browser

jq is the de facto standard for slicing and reshaping JSON on the command line, but switching to a terminal just to test a filter breaks your flow — and pasting production data into an online tool that uploads it is a non-starter. This playground runs the real jq program, compiled to WebAssembly, entirely inside your browser. The syntax is identical to the CLI, so anything you prototype here works verbatim in a script.

How to use it

  1. Paste your JSON into the input box (or load the sample).
  2. Type a jq filter in the field above and toggle any flags you need.
  3. The output appears on the right and updates as you type.

Filters to try

  • .users[].name — the name of every user.
  • .users | map(.name) — collect names into an array.
  • .users[] | select(.active) — only active users.
  • .users | length — how many users there are.
  • .users | group_by(.active) — group by a field.

When you would reach for it

Prototyping a filter before dropping it into a shell script or CI pipeline, exploring an unfamiliar API response, or extracting a few fields from a large payload. For a selection-only query language see the JSONPath tester; for declarative transformations try the JSONata playground.

Privacy

The jq engine runs entirely in your browser and works offline once the WebAssembly module has loaded. Your JSON and filters are never uploaded or stored, so it is safe to work with real data.

Frequently asked questions

Is my JSON uploaded anywhere?

No. The jq engine is compiled to WebAssembly and runs entirely in your browser — your JSON and filters never leave your device.

Is this real jq?

Yes. It is the actual jq program (jq 1.8) built to WebAssembly, so filters behave exactly as they do on the command line.

Which jq features are supported?

Standard jq filters and built-ins — select, map, | pipes, reduce, string interpolation, math and more. Toggle -r, -c, -S and -s above.

Why is the first run slightly slower?

The WebAssembly engine (~1.3 MB) loads on demand the first time you run a filter, then stays cached for the rest of your session.

What do the flag toggles do?

-r prints raw strings without JSON quotes (handy for piping to a shell), -c puts each result on one compact line, -S sorts object keys, and -s slurps the whole input into a single array before the filter runs.

Why does my filter show an error?

jq reports a parse or runtime error when a filter is malformed or applied to the wrong type — for example indexing an array with a string. Read the message, then build the pipeline up one stage at a time to isolate the failing step.

Press ⌘ K for commands