Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. JSON
  3. jq

jq

NOASSERTIONCjq-1.8.2

A lightweight, zero-dependency command-line JSON processor for slicing, filtering, and transforming JSON data.

Visit WebsiteGitHubGitHub
35.9k stars4.6k forks0 contributors

What is jq?

jq is a lightweight and flexible command-line JSON processor that allows developers to slice, filter, map, and transform JSON data directly in the terminal. It serves as the JSON equivalent of Unix text-processing tools like sed, awk, and grep, enabling efficient manipulation of structured data without external dependencies.

Target Audience

Developers, system administrators, and data engineers who work with JSON APIs, configuration files, logs, or any JSON-based data streams in command-line environments.

Value Proposition

jq offers a powerful, terse query language with zero runtime dependencies, making it portable and fast. Its Unix-like composability and rich built-in functions provide a superior alternative to manual JSON parsing or heavier scripting solutions.

Overview

Command-line JSON processor

Use Cases

Best For

  • Extracting specific fields from JSON API responses in shell scripts
  • Transforming JSON configuration files for deployment pipelines
  • Filtering and querying JSON logs for debugging and monitoring
  • Converting JSON data between different structures or formats
  • Performing calculations or aggregations on JSON datasets
  • Integrating JSON processing into Unix pipelines with other command-line tools

Not Ideal For

  • Projects requiring graphical, interactive JSON editing with immediate visual feedback
  • Teams that primarily handle non-JSON data formats like XML or CSV without built-in conversion tools
  • Environments where command-line tools are restricted due to security or compliance policies

Pros & Cons

Pros

Zero Runtime Dependencies

Written in portable C with no external libraries required, jq runs on any system without installation hassles, ensuring maximum portability.

Powerful Query Language

Its terse, expressive syntax enables complex JSON filtering and transformation with minimal code, seamlessly integrating into Unix pipelines.

Efficient Stream Processing

jq handles large JSON streams efficiently by processing data on-the-fly, avoiding memory overload for big datasets like log files.

Rich Built-in Functions

Includes operators for string manipulation, math, and conditionals, reducing the need for external scripting in common data tasks.

Cons

Steep Learning Curve

Advanced jq queries use cryptic, symbolic syntax that can be difficult to master and debug without frequent reference to documentation.

JSON-Only Limitation

jq cannot natively process other data formats like XML or YAML, requiring conversion steps that add complexity to mixed-format workflows.

Complex Source Builds

Building from source requires dependencies like autoconf and libtool, which can be cumbersome for users without a full development environment.

Frequently Asked Questions

Quick Stats

Stars35,904
Forks4,566
Contributors0
Open Issues315
Last commit1 day ago
CreatedSince 2012

Tags

#json-query#shell-scripting#command-line-tool#devops-tools#data-filtering#data-transformation#jq#json-processor#cli-utilities

Built With

D
Docker
C
C++

Links & Resources

Website

Included in

JSON1.5k
Auto-fetched 1 day ago

Related Projects

fxfx

Terminal JSON viewer & processor

Stars20,693
Forks495
Last commit15 days ago
grongron

Make JSON greppable!

Stars14,530
Forks346
Last commit1 year ago
visidatavisidata

A terminal spreadsheet multitool for discovering and arranging data

Stars9,412
Forks374
Last commit1 day ago
jcjc

CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

Stars8,694
Forks269
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub