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 — all within your favorite editor.

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

Multiple Input Sources

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

URL Data Fetching

Fetch and filter JSON directly from APIs. Perfect for working with REST endpoints.

Command Line Integration

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

Intelligent Autocomplete

Inline documentation and examples for jq functions as you type.

Keyboard Shortcuts

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

Built-in Examples

Access the official jq manual examples directly within VS Code.

Syntax Highlighting

Full syntax highlighting for jq filters and JSON data in .jqpg files.

Variable Support

Define variables in your playground and use them in commands and 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

Installation

Install the extension from the VS Code Marketplace by searching for "jq playground" in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X), or install directly from:

VS Code Marketplace

Dependency: The extension requires jq-syntax-highlighting which is installed automatically.

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.51.0+Requires jq installed on your system