JSON To Yaml Online

JSON to YAML Converter Online

JSON to Yaml Converter is easy to use tool to convert JSON to yaml. Copy, Paste and Convert.

It offer tools for:

  1. Generate YAML from JSON string online (json to yaml).
  2. Generate json string from yaml online (yaml to json).

How to use JSON to YAML Converter ?

  1. In the above textarea field write or paste your json/yaml string.
  2. Click 'JSON to yaml' button to generate your yaml code. Or Click 'Yaml to JSON' button to generate your json code.
  3. Click 'Copy' button to paste it into your clipboard, you can also download the result file.

Convert json string to yaml example

Input json string

{
  "id":1,
  "name":"John",
  "age":24,
   "db":{
      "tyle":"mysql",
      "host":"127.0.0.1",
      "port":3306,
      "username":"root",
      "password":"root"
   }
}
Output yaml result: 
id: 1
name: John
age: 24
db:
  tyle: mysql
  host: 127.0.0.1
  port: 3306
  username: root
  password: root