Command-line tool
json2yaml
npm/json2yaml
Checked 25 Oct 2026, 21:11 UTC · Still published on npm
A commandline utility to convert JSON to YAML / YML yml yaml json cli util
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:11 UTC
Install it
Windows
npm install -g json2yaml
macOS
npm install -g json2yaml
Linux
npm install -g json2yaml
Related command-line tools
- convert2json
CLI utilities to convert BSON, CBOR, CSV, INI, MessagePack, Plist, RSV, TOML, XML & YAML into JSON and for use with… - yaml2json
Command-line tool convert from YAML to JSON - yj
CLI to convert between YAML, TOML, JSON and HCL - cmd_lib
Common rust commandline macros and utils, to write shell script like tasks easily - remarshal
Convert between TOML, YAML and JSON - fxtools
A collection of commandline Fasta/Fastq utility tools - ff-find
ff is a simple and fast utility for finding files on Unix commandline. It also supports complex filters like GNU find. - dhall-yaml
Convert between Dhall and YAML
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents