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
- Paste JSON or open a file.
- Type a jq filter, for example .items[] | select(.qty > 1).
- Choose pretty, compact (-c) or raw (-r) output and copy the result.
What it does
- Common jq built-ins: select, map, reduce, to_entries, group_by, paths and more
- Pretty, compact and raw output like the command line
- JMESPath, JSONPath and SQL tools for other ways to query JSON
- Runs in your browser: your data never leaves your device
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