yq

Portable command-line YAML, JSON, XML, and TOML processor with jq-like syntax

yq is a lightweight command-line processor for YAML that also handles JSON, XML, TOML, CSV, and properties files. It uses jq-like expressions to read, update, and convert structured config files.

Key features

  • jq-like expressions for YAML
  • In-place edits of config files
  • Converts between YAML, JSON, XML, and TOML
  • Single static binary

Try it on DevTools Daily

Similar tools

  • jq

    Lightweight command-line JSON processor, like sed for JSON data

    FreeOpen sourceCLI, macOS, Windows +1
  • Miller

    Like awk, sed, cut, and sort for name-indexed data such as CSV, TSV, and JSON

    FreeOpen sourceCLI, macOS, Windows +1
  • VisiData

    Terminal spreadsheet multitool for exploring and arranging tabular data

    FreeOpen sourceCLI, macOS, Linux
  • Datasette

    Explore and publish SQLite data as an interactive website and JSON API

    FreeOpen sourceCLI, Web, Self-hosted
  • ClickHouse

    Open-source column-oriented database for real-time analytics

    by ClickHouseFreemiumOpen sourceLinux, macOS, Self-hosted +2
  • DBeaver

    Universal database client for SQL and NoSQL databases

    by DBeaver CorpFreemiumOpen sourcemacOS, Windows, Linux

Built a tool like yq? Submit it for review