Submit a product

yq

Command-line processor for YAML, XML and TOML documents

ToolCommand lineOpen source

yq is a command-line tool for reading and transforming YAML, XML and TOML files from a terminal or a shell script. It wraps jq, so people who already know jq's filter syntax can apply the same queries to structured configuration and data files in those formats.

The source code is public under the Apache-2.0 license and the tool runs on the command line. Its appeal is that it reuses jq rather than introducing a new query language, which keeps the learning cost low for anyone already working with JSON tools. A project website is listed alongside the repository.

Alternatives to yq

Products that do a similar job in Developer Tools.

All alternatives

yq

command-line processor for YAML, JSON, XML, CSV and TOML files

ToolDeveloper Tools··Open source·16k

fq

jq-style queries and decoding for binary file formats

ToolDeveloper Tools··Open source·11k

jc

Converts shell command output and strings into JSON, YAML or dictionaries

ToolDeveloper Tools··Open source·8.7k

dasel

command-line tool for querying and editing JSON, YAML, TOML and XML

ToolDeveloper Tools··Open source·8.2k

Windows Terminal

Command-line terminal app and console host for Windows

ToolDeveloper Tools··Open source·106k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

ripgrep

command-line search tool that finds regex matches across directory trees

ToolDeveloper Tools··Open source·71k