JSON and Properties Mutual Conversion
JSON and Properties mutual conversion is a user-friendly tool that can convert JSON to Properties and Properties to JSON. Simply copy, paste, and convert.
It provides the following tools:
- Online generation of Properties from a JSON string (JSON to Properties).
- Online generation of JSON string from Properties (Properties to JSON).
How to use JSON and Properties Mutual Conversion?
- Enter or paste your JSON/Properties string in the text area above.
- Click the "JSON to Properties" button to generate your Properties code. Or click the "Properties to JSON" button to generate your JSON code.
- Click the "Copy" button to paste to clipboard, or download the result file.
Example: Convert JSON string to Properties
Input JSON string
{
"id":1,
"name":"John",
"age":24,
"db":{
"tyle":"mysql",
"host":"127.0.0.1",
"port":3306,
"username":"root",
"password":"root"
}
Output Properties result:
id=1
name=John
age=24
db.tyle=mysql
db.host=127.0.0.1
db.port=3306
db.username=root
db.password=root