How to convert JSON to YAML

JSON and YAML are both used for storing data. JSON typically for serializing data and YAML typically for configuration files. You can easily convert JSON files to YAML with Easy Data Transform:

Auto run on


convert JSON to YAML

JSON to YAML converter

Example JSON input:

    "CustomerID": "ALFKI",
    "CompanyName": "Alfreds Futterkiste",
    "ContactName": "Maria Anders"
    "CustomerID": "ANATR",
    "CompanyName": "Ana Trujillo Emparedados y helados",
    "ContactName": "Ana Trujillo"
    "CustomerID": "ANTON",
    "CompanyName": "Antonio Moreno Taquería",
    "ContactName": "Antonio Moreno"

Example YAML output:

  CustomerID: ALFKI
  CompanyName: Alfreds Futterkiste
  ContactName: Maria Anders
  CustomerID: ANATR
  CompanyName: Ana Trujillo Emparedados y helados
  ContactName: Ana Trujillo
  CustomerID: ANTON
  CompanyName: Antonio Moreno Taquería
  ContactName: Antonio Moreno

If you have many files to convert you can do it using the batch processing feature.

As well as changing file format, Easy Data Transform also allows you to combine 66 transforms (such as join, filter and dedupe) to quickly and easily create a wide range data transformations.


Try it free now!

Windows Logo Windows Download

v1.46.5 for Windows 11 / 10 / 8 / 7 (47 MB)
Zip file version

Apple Logo Mac Download

v1.46.5 for Mac 14.x to 10.13 (79 MB)

No commitments.
You can uninstall any time.
You don't even have to give us your email address.

Questions or problems?