jq & JSONPath Playground

Run jq filters over JSON live, entirely in your browser.

Run jq filters over JSON live in your browser. Learn how to use jq, test JSONPath-style queries, and filter or reshape JSON. Free, no signup, nothing uploaded.

About jq & JSONPath Playground

The jq & JSONPath Playground is a free, browser-based tool for running jq filters over a JSON document and seeing the pretty-printed result update live as you type. You paste or edit JSON, write a jq-compatible expression like `.[] | .name` or `map({name, id})`, and the output appears instantly in a side-by-side pane. It evaluates everything locally using the jq-in-the-browser engine — your JSON is never uploaded, and there is no signup.

How to use jq & JSONPath Playground

  1. Paste or edit your JSON in the 'Input JSON' box, or click 'Sample' to load the built-in example array.
  2. Type a jq filter in the 'jq filter' field (for example `.[] | .name`, `keys`, or `sort_by(.id)`).
  3. Or tap one of the example chips (`.`, `map(.id)`, `length`, `map({name, id})`, etc.) to load a ready-made filter.
  4. Watch the 'Result' pane update automatically — it re-runs as you edit either box, with errors flagged inline for bad JSON or invalid filters.
  5. Click 'Copy' to copy the result, or 'Download' to save it as jq-result.json.

Frequently asked questions

Is my JSON uploaded to a server?
No. The filter is compiled and run entirely in your browser using the jq-in-the-browser engine, so your JSON stays on your device and nothing is ever uploaded.
Is it free and do I need an account?
Yes, it's completely free with no signup, account, or limits on how many filters you run.
Which query language does it support — jq or JSONPath?
It runs jq filters via the jq-in-the-browser engine. You write standard jq expressions such as `.[]`, `map(.id)`, `keys`, `length`, and `sort_by(.id)` rather than JSONPath `$.` syntax.
Is there a size limit on the input JSON?
Yes. Input is capped at about 2 MB (2,000,000 characters) so the live parse and evaluation stay responsive; pasting more than that shows a warning and skips the run.
Does it update automatically, or do I have to click run?
It updates automatically. Both the filter and the JSON are debounced and re-evaluated as you type, so there's no separate run button — and the live char-count stats show JSON, filter, and output lengths.
What happens if my filter produces no output?
If a filter yields no result for the given input, the tool shows an info banner noting the filter produced no output and displays it as `null`. Invalid JSON or an invalid filter are flagged with their own inline error messages.

People also search for

jq & JSONPath Playground is also known as jq playground online, how to use jq, jq jsonpath example, filter json with jq, query json online, test jq filters, jq vs jsonpath.