jq Cheat Sheet
Core jq syntax, filters, selectors, arrays, objects, variables, sorting, grouping, formatting, and shell-friendly usage.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Getting Started
## Selectors and Paths
## Arrays and Objects
## Filters and Conditions
## Variables, Reduce, and Advanced Transformations
## Strings and Formatting
## Files, Slurp, and Streams
More in jq
jq CLI Recipes
Real-world jq commands for APIs, cloud tooling, DevOps output, reporting, logs, and shell scripting.
jq Filters and Transformations
Advanced jq patterns for regex, booleans, dates, math, recursive descent, filtering, and output shaping.
jq Arrays and Objects
Deep reference for jq arrays, objects, grouping, entries, path updates, reshaping, and structural manipulation.