Skip to content
Day 69: new resources are added every day. See what's new

What is yq?

yq is a lightweight, portable command-line processor for YAML, JSON, INI and XML files, with a query syntax modelled on jq. Its README says it can convert between formats, update files in place, merge files and handle multi-document YAML. It is distributed as a dependency-free binary and is released under the MIT license.

Third-party open-source projects. We are not affiliated with their authors; repositories are provided as-is by their maintainers. Review each project's license, code and security before installing. See our Disclaimer.

Pros: what yq does well

  • Edit config files with a single command
  • Converts between YAML, JSON and XML
  • One binary with no dependencies

Cons: where it falls short

  • Command line only
  • Takes time to learn the query syntax

Who yq is for

People who edit configuration files and data files in bulk.

Who can skip it

Anyone who does not work with YAML or JSON.

yq alternatives

Not sold on yq? These do a similar job, and each card says what it has in common.

Dasel

Focus: data conversion. Shares json and yaml with yq. Adds macOS, Windows and Linux. Same 4.5 rating.

Desktop AppFreemacOS, Windows

xh

Focus: http client, api and terminal. Shares command line and open source with yq. Same 4.5 rating.

OtherFreeCross-Platform

viddy

Focus: watch, monitoring and terminal. Shares command line and open source with yq. Rated 4.4 (yq: 4.5).

OtherFreeCross-Platform

iTerm2

Focus: terminal, mac and tmux. Shares command line and open source with yq. Adds macOS. Rated 4.7 (yq: 4.5).

Mac AppFreemacOS

fish shell

Focus: terminal, shell and autocomplete. Shares command line and open source with yq. Adds macOS and Linux. Rated 4.6 (yq: 4.5).

Desktop AppFreemacOS, Linux

Nushell

Focus: shell and data pipelines. Shares command line and open source with yq. Adds macOS, Windows and Linux. Rated 4.6 (yq: 4.5).

Desktop AppFreemacOS, Windows

Free alternatives to yq

Want to spend nothing? These free picks cover similar ground.

Task

Focus: task runner, automation and build tool. Shares command line and open source with yq. Adds macOS, Windows and Linux. Rated 4.6 (yq: 4.5).

Desktop AppFreemacOS, Windows

Watchexec

Focus: file watcher, automation and developer tools. Shares command line and open source with yq. Same 4.5 rating.

Automation ToolFreeCross-Platform

entr

Focus: file watcher, automation and developer tools. Shares command line and open source with yq. Rated 4.4 (yq: 4.5).

Automation ToolFreeCross-Platform

jq

Focus: data and filter. Shares json and command line with yq. Adds macOS, Windows and Linux. Rated 4.7 (yq: 4.5).

Desktop AppFreemacOS, Windows

Miller

Focus: csv and data wrangling. Shares json and command line with yq. Adds macOS and Linux. Rated 4.6 (yq: 4.5).

Desktop AppFreemacOS, Linux

keyd

Focus: keyboard, key remapping and shortcuts. Shares open source and github with yq. Adds Linux. Same 4.5 rating.

OtherFreeLinux
Are you the maker of yq?Get a free Featured badge for your site, a share image and ready-to-paste posts. No sign-up.

New · updated daily

What people are actually doing with AI

Real use cases shared on Reddit, Hacker News, X, GitHub and blogs, summarised in plain words with a link to every original post.

Browse AI use cases

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.

18 free downloads

Free databases, guides and hacks

Everything I've collected, free on Gumroad. Pay what you want, or nothing at all.

See all 18