All Tools
J
Dev ToolsFreeOpen Source
JQ
Command-line JSON processor for parsing and transformation
MIT
ABOUT
Extracting values from JSON in shell scripts is painful — grep and sed break on nested structures, and writing full programs for simple queries is overkill. jq solves this with a compact query language for filtering, mapping, and transforming JSON, built for pipelines and one-liners. It turns API responses and config files into exactly the data a script needs, with no dependencies and instant startup.
INSTALL
brew install jqINTEGRATION GUIDE
1. Extract fields from API responses in shell pipelines with dot notation and filters
2. Transform and reshape JSON documents with mapping, grouping, and array operations
3. Slice and project large JSON logs and configuration files down to relevant subsets
4. Validate and pretty-print JSON output for debugging and documentation
5. Build data-processing steps in CI scripts that consume machine-readable tool output
TAGS
jsoncommand-linejqparsingdata-processingscriptingclidevtoolsautomationapi