jq Playground
Run jq filters against your JSON in the browser via WebAssembly. Type a filter like .users[] | select(.active) | .email, get the result instantly. Snippet gallery with 30+ canonical recipes. Copy as one-liner gives you a ready-to-paste jq command for the terminal.
Loading jq.wasm in the background — basic filters work immediately.
How to use the jq playground
- Paste your JSON in the left panel.
- Write a jq filter in the centre panel (e.g.
.users[] | select(.active) | .email). - The output appears on the right, recomputed on every keystroke (debounced).
- Snippet gallery has 30+ canonical recipes — click any to load the filter and a sample input.
- Copy as one-liner generates a
jqshell command (jq '...' input.json) ready for terminal use.
FAQ
Is the full jq language supported?
Yes — once jq.wasm finishes loading (a one-time ~1.2 MB download). While it's loading, a lightweight subset interpreter handles the common patterns (.foo.bar, .[], map, select, keys, length) so you can start immediately.
How is the WebAssembly cached?
By your browser's normal HTTP cache. Subsequent visits load instantly.
Can I save snippets?
Not yet — the gallery is read-only for now. Bookmark a URL with the filter in the query string if you need.
Will it work offline?
Yes, after the page and jq.wasm have loaded once.