yq

yq 4.54.1

yq is a portable command-line YAML, JSON, XML, CSV and properties processor.

  • By Mike Farah
  • Open Source
  • Updated Sep 29, 2026
Download for Windows

About yq

yq is a lightweight and portable command-line YAML, JSON and XML processor.
yq uses jq like syntax but works with yaml files as well as json, xml, properties, csv and tsv.

What's new in 4.54.1

  • Added jq style if-then-elif-else-end conditional operator (#2871) Thanks to @anandghegde
  • Added @base64url/@base64urld operators (RFC 4648 ยง5) (#2827) Thanks @MsfPablo
  • Fixed: preserve explicit assignments in read-only expressions (#2850) Thanks @RRXXZZYY
  • Fixed: error on int64 overflow in +, -, * instead of silently wrapping (#2826) Thanks @MsfPablo
  • Fixed(toml): quote empty keys (#2870) Thanks @jakezwang
  • Fixed: /dev/null was triggering colour output (#2852) Thanks @laraibg786
  • Fixed dead snapcraft confinement link in README (#2840) Thanks @ShurongCAO
  • Bumped dependencies

Full release notes »

Technical details

PublisherMike Farah
AuthorMike Farah and contributors
Version4.54.1
Release date2026-09-29
LicenseMIT
Installer typeportable
Architecturex64, x86, arm64
Package IDMikeFarah.yq

Links & install command

Install yq from the command line with Windows Package Manager (winget):

winget install --id=MikeFarah.yq -e

bashclicsvdevops-toolsgolangjsonportablepropertiessplatxmlyamlyaml-processor

Older versions

  • 4.53.6
  • 4.53.4
  • 4.53.3
  • 4.53.2
  • 4.52.5
  • 4.52.4
  • 4.52.2
  • 4.50.1
  • 4.49.2