jq Playground
Query, filter, slice, and transform JSON payloads using jq syntax. Fast, free, and fully client-side.
How the jq Playground Works
Runs a jq filter expression against a JSON document and displays the resulting output. The document is parsed as strict JSON before the filter runs, so a syntax error is reported first. The result updates when the document or filter changes, and a failed filter shows the jq error text. Evaluation runs in your browser and the file is never uploaded.
Usage Example
Extracting the names and totals of unpaid invoices from a billing export with a select filter.
Frequently Asked Questions
What is shown if the document is not valid JSON?
The parser error message appears instead of output, because the document must be strict JSON before the filter is applied. Trailing commas and single-quoted strings are common causes of this error.
What does a filter error look like?
When jq exits with an error, its error text is shown in the Evaluation Error panel. A blank document or a blank filter produces neither output nor an error, so the panel stays empty until both fields have text.
Why does the panel say the jq engine is loading?
The engine is loaded in your browser when the page opens, and filters cannot run until it is ready. If you type before it finishes, the panel shows a loading message and runs the filter once the engine is available.
Browse more
See all JSON tools.
