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

JSON to YAML

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 72 transforms (such as join, filter and dedupe) to quickly and easily create a wide range data transformations.

JSON to YAML

Try it free now!

Windows Logo Windows Download

v2.9.0 for Windows 11 / 10 / 8 / 7 (66 MB)
Zip file version

Apple Logo Mac Download

v2.9.0 for macOS 26 to 10.13 (89 MB)

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


Questions or problems?

Email support@easydatatransform.com