jq Playground

Input
Output

jq Playground

Try jq filters against your own JSON without installing anything. The output updates as you type, so you can build a filter step by step and copy it into your scripts.

How to use it

  1. Paste JSON or open a file.
  2. Type a jq filter, for example .items[] | select(.qty > 1).
  3. Choose pretty, compact (-c) or raw (-r) output and copy the result.

What it does

Questions

Is this the real jq?
It is a jq implementation written for the browser that supports the filters people use most. Very rare built-ins may be missing.
Can I query JSON with SQL instead?
Yes. The SQL tool runs SELECT queries against arrays in your JSON.
Does it work offline?
Yes, once the page has loaded.

More JSON tools

Bracely has more than 60 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Privacy policy