YAML to Properties Online

How to use YAML to Properties Online?

  1. Write or paste your yaml string on left .
  2. Click the "Yaml to properties" button to convert your yaml to Properties 
  3. Copy text that contains Properties  on right.

YAML to Properties Convert example

Input yaml string

id: 1
name: John
age: 24
db:
  tyle: mysql
  host: 127.0.0.1
  port: 3306
  username: root
  password: root
Output properties string:
id=1
name=John
age=24
db.tyle=mysql
db.host=127.0.0.1
db.port=3306
db.username=root
db.password=root

What is yaml file?

YAML is a human-readable data serialization language that is often used for writing configuration files. Depending on whom you ask, YAML stands for yet another markup language or YAML ain’t markup language (a recursive acronym), which emphasizes that YAML is for data, not documents. 
YAML is a popular programming language because it is designed to be easy to read and understand. It can also be used in conjunction with other programming languages. Because of its flexibility, and accessibility, YAML is used by Ansible® to create automation processes, in the form of Ansible Playbooks.

What is Properties file?

.properties is a file extension for files mainly used in Java-related technologies to store the configurable parameters of an application. They can also be used for storing strings for Internationalization and localization; these are known as Property Resource Bundles.