List of JSON tools for command line

This page summarizes the projects mentioned and recommended in the original post on /r/commandline

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • jid

    json incremental digger

    jid reimplements json filtering stuff. jiq just uses jq internally. It helps with issues like these. https://github.com/simeji/jid/issues/87

  • jiq

    Discontinued jid on jq - interactive JSON query tool using jq expressions

    There is also https://github.com/fiatjaf/jiq

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • yamlpath

    YAML/JSON/EYAML/Compatible get/set/merge/validate/scan/convert/diff processors using powerful, intuitive, command-line friendly syntax.

  • dasel

    Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

  • up

    Ultimate Plumber is a tool for writing Linux pipes with instant live preview (by akavel)

    I use jq in combination with ultimate plumber. Ultimate plumber basically lets you work with pipes interactively, giving you a live preview. The nice thing is that it's not limited to jq (but also you don't get the interactive completion and stuff, so it's a tradeoff).

  • nvim-jqx

    Populate the quickfix with json entries

    Shameless self-promotion, I wrote a neovim plugin that helps browsing and querying json files: nvim-jqx, in case someone finds it useful :)

  • jj

    JSON Stream Editor (command line utility) (by tidwall)

    jj is also really good. Someone posted it as a comment, but it didn't make the original article.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • fx

    Terminal JSON viewer & processor

    For the lazy such as myself; https://github.com/antonmedv/fx

  • Textrude

    Code generation from YAML/JSON/CSV models via SCRIBAN templates

    Plug for something I wrote: [github link]*https://github.com/NeilMacMullen/Textrude). The CLI version can pipe json (or yaml,csv or text lines) from stdin or fetch it from a URL then turn it into model and apply a Scriban template to it to emit text to stdout. Runs on Linux or Windows and also comes with an interactive UI prototyping tool.

  • pxi

    🧚 pxi (pixie) is a small, fast, and magical command-line data processor similar to jq, mlr, and awk.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts