Stack Gems
Menu
← Catalog

yq

MIT portable YAML/JSON/XML/CSV/TOML processor (Go)

DevOps / Tooling · OSS/MIT · 16.1k

Reviewed 2026-09-11 · last push 2026-10-15 · repo checked 2026-10-19

What's Good

MIT. mikefarah/yq — portable Go binary. jq-like syntax across YAML, JSON, XML, CSV/TSV, TOML, properties, and more. In-place edit, merge, and convert paths. Docs at mikefarah.gitbook.io/yq; source github.com/mikefarah/yq.

The Catch

mikefarah/yq ≠ kislyuk/yq — this entry is the Go binary (`mikefarah/yq`), not the Python wrapper around jq. Vs jq (JSON-only filter language): yq is multi-format structured data, not a jq dialect clone of every filter. Feature parity with jq is incomplete on purpose; learn the Go yq docs.

Verdict

MIT multi-format jq cousin. Free forever; use mikefarah/yq when the file is YAML (or XML/CSV/TOML), not only JSON.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/yq.svg)](https://stackgems.com/gems/yq)

HTML

<a href="https://stackgems.com/gems/yq"><img src="https://stackgems.com/badge/yq.svg" alt="yq reviewed on Stack Gems" height="20"></a>

Related

DevOps →