50+ stars on GitHub

The jq Playground
for VS Code

Create interactive notebooks with the full power of jq filters. Work with JSON data from files, URLs, or command line outputs — with a dedicated filter panel, AI assistance, and autocomplete.

30k+installs
MITlicense
4.7+rating

Notebook-style jq editing

Execute jq filters interactively with instant results

Ctrl+EnterExecute filterCtrl+Shift+EnterExecute all

Everything you need

A comprehensive toolkit for working with jq in Visual Studio Code

New

Filter Panel

A dedicated webview to pick JSON files, write filters with autocomplete, and see results side by side.

Multiple Input Sources

Work with JSON from inline text, files, URLs, workspace buffers, or command line outputs.

AI-Powered Assistance

Explain, fix, and generate jq filters with GitHub Copilot. Chat with @jq for interactive help.

Command Line Integration

Pipe output from curl, ls, grep, and other commands directly into your jq filters.

Intelligent Autocomplete

IntelliSense powered by official jq builtins with docs and examples as you type.

Keyboard Shortcuts

Execute filters quickly with Cmd/Ctrl+Enter for output or Shift+Enter for editor.

Variable Support

Define variables in your playground and use them in commands and filters.

Chat Participant @jq

Ask @jq in GitHub Copilot chat for help writing, explaining, or debugging jq filters.

Examples

Learn jq through practical examples

Fundamental jq operations

Identity

Returns the input unchanged

Try in VS Code
jq '.'
{"name": "Alice", "age": 30}
{
  "name": "Alice",
  "age": 30
}
Copy as .jqpg
jq '.'
{"name": "Alice", "age": 30}

Documentation

Everything you need to master jq Playground

Overview

New in v5.0.6 — A dedicated webview panel to experiment with jq filters without leaving the editor.

Run JQPG: Open Playground Panel from the Command Palette, or click the jq Playground icon in the Activity Bar to open the filter panel.

Filter panel screenshot showing the file picker, filter textarea, and output area

Ready to get started?

Install jq Playground for VS Code and start working with JSON data more efficiently.

ext install davidnussio.vscode-jq-playground

or

Open VS Code Marketplace
Works with VS Code 1.100.0+jq auto-detected or downloaded for you