Hacker ApprovedDepartments

jq

Hacker Approved

Ranked 2 of 86 privilege escalation tools by recommenders

Command-line tool for filtering and reshaping JSON, used in shell pipelines and API work. Critics find its operator syntax cryptic and hard to remember.

Command-line tool for filtering and reshaping JSON, used in shell pipelines and API work. Critics find its operator syntax cryptic and hard to remember.

108 people gave an opinion

recommend it
75
criticize it
33
approval share
69%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 75 people recommend itNeeds 10 or more, met.
  • 2.3 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Handy one-liner in shell scripts

    “jq is supposed to fit in to other bash scripts as a one liner. That's it's super power.”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”

    “jq and regex really are sort of handy one liners that you invoke in other scripts”

    Comment from 3 Aug 2026 in “The true power of regular expressions (2012)”

    “piping through jq, chaining commands, redirecting to files... that's stuff I do daily”

    Comment from 2 Mar 2026 in “MCP is dead. Long live the CLI”
  • Handles large JSON files quickly

    “JQ is very convenient, even if your files are more than 100GB.”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”

    “I don't think I remember one case where jq wasn't fast enough”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”

    “what vastly improved the usefulness when working with big json responses”

    Comment from 13 Dec 2025 in “Ask HN: How can I get better at using AI for programming?”
  • Simple, intuitive syntax

    “I find jq’s syntax and semantics to be simple and intuitive.”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”

    “I love jq, though. It provides an extremely good language for its task”

    Comment from 10 Jul 2026 in “Good Tools Are Invisible”

    “The first 500 words explain more or less the entire language and how it works.”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”
  • Works well with curl for APIs

    “providing a few curl + jq oneliners to interact with a REST API works great in my experience”

    Comment from 10 Apr 2026 in “I Still Prefer MCP over Skills”

    “Given curl, jq, and awk, you can create a quick MVP client for almost any api”

    Comment from 6 Dec 2025 in “Perl's decline was cultural”

    “It would seem that curl + jq represents most of the solution these days.”

    Comment from 21 Sep 2026 in “MCP was always a bad idea?”

What people warn about

Each mark is one comment

  • Cryptic, hard-to-remember syntax

    “even LLMs often can't get the jq filter syntax right, or when they do, it looks terrifyingly cryptic and confusing”

    Comment from 11 Apr 2026 in “Clojure on Fennel Part One: Persistent Data Structures”

    “It's a nuclear weapon but it's almost a programming language and I never can keep the operators in mind”

    Comment from 10 Jul 2026 in “Good Tools Are Invisible”

    “Why most people strangulate themselves with confusing jq operators unnecessarily”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”
  • Trial and error to learn

    “the pipelining has some implicit contextual stuff going on that I have to arrive at by trial and error each time”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”

    “I feel like I'm still a beginner because I don't get where I want to go on the first several attempts”

    Comment from 27 Mar 2026 in “A Faster Alternative to Jq”

    “it did take me a while to come to terms with the syntax of assigning variables”

    Comment from 28 Mar 2026 in “A Faster Alternative to Jq”
  • Slow on very large data

    “The problem is jq would need to JSON parse all that data which will be expensive.”

    Comment from 19 Mar 2026 in “RX – a new random-access JSON alternative”

    “using yq / jq to performn a query was much (order of magnitudes) slower (>10m)”

    Comment from 19 Jan 2026 in “Command-line Tools can be 235x Faster than your Hadoop Cluster (2014)”
  • Tangled pipelines hard to maintain

    “I know jq can do wonderful things, but I'd seriously question anyone's competency if you're building a production code base that relies on a tangled mess of jq piping commands”

    Comment from 2 Mar 2026 in “MCP is dead. Long live the CLI”

    “even jq gets hairy when you have to do a bigger query or transformation”

    Comment from 8 Sep 2026 in “Simple Is Not Small”

Other privilege escalation tools people recommend

The four most recommended other privilege escalation tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

jq compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
fzf78594%12—Approved
jqThis page753369%12—Approved
grep651977%12—Approved
Atuin632472%112 yrs4 ownersApproved
GitHub CLI494552%12——
See all 86 privilege escalation tools, ranked

What people said

40 of the 116 comments that mention it, newest first. Each links to the original comment.

“Wrap the whole thing in a function and you can instantly test if a number is even from the terminal.”

RecommendsComment from 13 Oct 2026 in “IsEven API”

“5-6 tokens telling it to use `jq` in AGENTS.md was the right call for us”

RecommendsComment from 5 Oct 2026 in “Agents don't need memory, they need documentation”

“I've caught Claude writing python scripts to parse JSON instead of simply using jq”

RecommendsComment from 5 Oct 2026 in “Agents don't need memory, they need documentation”

“Reaching for an existing tool like `jq` means burning a LOT fewer tokens.”

RecommendsComment from 4 Oct 2026 in “Agents don't need memory, they need documentation”

“jq is an awesome tool and bothers me deeply having claude generating some big fat python script for a single line jq command.”

RecommendsComment from 21 Sep 2026 in “MCP was always a bad idea?”

“It would seem that curl + jq represents most of the solution these days.”

RecommendsComment from 21 Sep 2026 in “MCP was always a bad idea?”

“even jq gets hairy when you have to do a bigger query or transformation”

MixedComment from 8 Sep 2026 in “Simple Is Not Small”

“jq and regex really are sort of handy one liners that you invoke in other scripts”

RecommendsComment from 3 Aug 2026 in “The true power of regular expressions (2012)”

“For small stuff I use bash / sed / awk / jq / yq / curl etc.”

MixedComment from 12 Jul 2026 in “Amber the programming language compiled to Bash/Ksh/Zsh”

“I never can keep the operators in mind (even though I loved the idea at first)”

CriticizesComment from 12 Jul 2026 in “Good Tools Are Invisible”

“I love jq, though. It provides an extremely good language for its task”

RecommendsComment from 10 Jul 2026 in “Good Tools Are Invisible”

“It's a nuclear weapon but it's almost a programming language and I never can keep the operators in mind”

CriticizesComment from 10 Jul 2026 in “Good Tools Are Invisible”

“They're all "mostly compatible" but at this point there should probably be a formal spec / grammar”

MixedComment from 9 May 2026 in “Jetro – JSON query engine for Rust (jq-like DSL with compilation and VM)”

“If you've ever met jq, you don't need anyone to tell you that `--json` is a very valuable thing to have.”

RecommendsComment from 7 May 2026 in “Principles for agent-native CLIs”

“I did this by hand with tmux and jq before deciding it wasn't going to be a good solution.”

MixedComment from 6 May 2026 in “Claudette – An open-source desktop companion for Claude Code”

“Thanks to jq-lang and the jq-wrapper tomlq it can even work around the lints/workspace.lints difference with little problems.”

MixedComment from 30 Apr 2026 in “Your Rust Clippy Config Should Be Stricter”

“even LLMs often can't get the jq filter syntax right, or when they do, it looks terrifyingly cryptic and confusing”

CriticizesComment from 11 Apr 2026 in “Clojure on Fennel Part One: Persistent Data Structures”

“providing a few curl + jq oneliners to interact with a REST API works great in my experience”

RecommendsComment from 10 Apr 2026 in “I Still Prefer MCP over Skills”

“I find this much easier to write and understand than git's cryptic format strings”

RecommendsComment from 8 Apr 2026 in “The Git Commands I Run Before Reading Any Code”

“it did take me a while to come to terms with the syntax of assigning variables”

CriticizesComment from 28 Mar 2026 in “A Faster Alternative to Jq”

“Why most people strangulate themselves with confusing jq operators unnecessarily”

CriticizesComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“even trivial tasks require us to go back to jq's manual to learn how to write their language”

CriticizesComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“I feel like I'm still a beginner because I don't get where I want to go on the first several attempts”

MixedComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“the pipelining has some implicit contextual stuff going on that I have to arrive at by trial and error each time”

CriticizesComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“Great tool, but IMO it is more intuitive to JSON people that want a CLI tool than CLI people that want a JSON tool.”

MixedComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“I find jq’s syntax and semantics to be simple and intuitive.”

RecommendsComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“I don't think I remember one case where jq wasn't fast enough”

MixedComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“JQ is very convenient, even if your files are more than 100GB.”

RecommendsComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“The first 500 words explain more or less the entire language and how it works.”

RecommendsComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“jq is supposed to fit in to other bash scripts as a one liner. That's it's super power.”

MixedComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“backtracking implementation in jq is really the secret sauce for how it handles those complex filters”

RecommendsComment from 27 Mar 2026 in “A Faster Alternative to Jq”

“The problem is jq would need to JSON parse all that data which will be expensive.”

MixedComment from 19 Mar 2026 in “RX – a new random-access JSON alternative”

“I know jq can do wonderful things, but I'd seriously question anyone's competency if you're building a production code base that relies on a tangled mess of jq piping commands”

MixedComment from 2 Mar 2026 in “MCP is dead. Long live the CLI”

“piping through jq, chaining commands, redirecting to files... that's stuff I do daily”

MixedComment from 2 Mar 2026 in “MCP is dead. Long live the CLI”

“using yq / jq to performn a query was much (order of magnitudes) slower (>10m)”

CriticizesComment from 19 Jan 2026 in “Command-line Tools can be 235x Faster than your Hadoop Cluster (2014)”

“you could learn awk or jq, which are arguably more generally- and widely-applicable than nushell”

RecommendsComment from 8 Jan 2026 in “Stop Designing Languages. Write Libraries Instead (2016)”

“the ability to search back through history is a valuable simple (rip)grep/jq combo over the session directory”

RecommendsComment from 30 Dec 2025 in “Stop Claude Code from forgetting everything”

“jq language makes sense for hierarchical data structures but how much useful is it for table formats”

MixedComment from 16 Dec 2025 in “Datasetq: jq for Datasets; Polars-powered Parquet/JSON/CSV query lang/cli”

“what vastly improved the usefulness when working with big json responses”

RecommendsComment from 13 Dec 2025 in “Ask HN: How can I get better at using AI for programming?”

“Given curl, jq, and awk, you can create a quick MVP client for almost any api”

RecommendsComment from 6 Dec 2025 in “Perl's decline was cultural”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.