JSON to Properties
Flatten JSON into a .properties file: dotted keys, indexed arrays, escaped values. Nothing is uploaded.
What JSON to .properties does
Objects become dotted keys and arrays become indices — features.0, features.1 — which is the shape Spring's relaxed binding already reads, so the file works without inventing a convention. Separators inside a key are escaped (\:, \=), a newline in a value becomes \n, and a null becomes an empty value. A comment cannot survive: JSON has nowhere to keep one, which is why the round trip back to properties is stable as data and not as text.
How to use it
JSON to Properties: paste the JSON into the box above, and press Run to get the .properties below.
Worked example
Input:
{
"server": {
"port": 8080,
"host": "0.0.0.0"
},
"features": ["search", "export"]
}
Output:
server.port = 8080
server.host = 0.0.0.0
features.0 = search
features.1 = export
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads JSON and returns .properties; reloading the page discards both.
Objects become dotted keys and arrays become indices — `features.0`, `features.1` — which is the shape Spring's relaxed binding already reads, so the file works without inventing a convention. Separators inside a key are escaped (`\:`, `\=`), a newline in a value becomes `\n`, and a null becomes an empty value. A comment cannot survive: JSON has nowhere to keep one, which is why the round trip back to properties is stable as data and not as text.
Flatten JSON into a .properties file: dotted keys, indexed arrays, escaped values. Nothing is uploaded.
How to use it
JSON to Properties: paste the JSON into the box above, and press Run to get the .properties below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads JSON and returns .properties; reloading the page discards both.
What to Expect
Best for
- Converting JSON to .properties when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
{ "server": { "port": 8080, "host": "0.0.0.0" }, "features": ["search", "export"] }
Sample output
server.port = 8080 server.host = 0.0.0.0 features.0 = search features.1 = export
Frequently asked questions
How do I use the json to properties?
JSON to Properties: paste the JSON into the box above, and press Run to get the .properties below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.