jsontoolskit.org
JSON and JSON Schema utilities, in the browser
Say hi →

jq Playground

jq.wasm · snippet gallery · copy-as-one-liner

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

  1. Paste your JSON in the left panel.
  2. Write a jq filter in the centre panel (e.g. .users[] | select(.active) | .email).
  3. The output appears on the right, recomputed on every keystroke (debounced).
  4. Snippet gallery has 30+ canonical recipes — click any to load the filter and a sample input.
  5. Copy as one-liner generates a jq shell 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.