YAML that reads back the same
Writing YAML by hand goes wrong in surprising places. The country code NO becomes false in older YAML readers, a version like 1.10 becomes the number 1.1, and a postal code like 0123 can lose its leading zero. This converter quotes every value that YAML 1.1 or YAML 1.2 would read as something other than text, and leaves all other text unquoted so the result stays easy to read.
Multi line text is written as a block with |, keys keep their original order, and empty objects and lists are written as {} and []. Use it to turn an API response into a configuration file, or to write Kubernetes and Docker Compose files from data you already have in JSON.
About JSON
JSON (JavaScript Object Notation) writes data as objects in curly braces, lists in square brackets, text in double quotes, numbers, true, false and null. Almost every API and programming language reads it.
About YAML
YAML is a text format for data that people read and write, based on indentation instead of brackets. It is used for configuration files and supports comments, multi line text and references to repeated parts.