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:

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 42 transforms (such as join, filter and dedupe) to quickly and easily create a wide range data transformations. See our quick start guide for more details.

JSON to YAML

Try it free now!

Windows Logo Windows Download

v1.6.2 for Windows 10 / 8 / 7 (48 MB)

Apple Logo Mac Download

v1.6.2 for Mac 10.15 to 10.12 (22 MB)


Questions or problems?

Email support@easydatatransform.com


Do you have a question?
We would love to help.

This pop-up will not be shown again