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.
Notebook-style jq editing
Execute jq filters interactively with instant results
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
jq '.'{"name": "Alice", "age": 30}{
"name": "Alice",
"age": 30
}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 MarketplaceDependency: 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.