Converts a JSON object into Java .properties (nested keys dotted).
JSON to .properties converts a JSON object into the Java .properties format, flattening nested objects and arrays into dotted keys (for example, db.host=localhost or items.0=apple). It is useful when you need to turn configuration data from a JSON file into the key=value format expected by Java applications, Spring Boot, or any tool that reads .properties files. Everything runs in your browser, so it is handy for quick config conversions without leaving your machine.
No. The conversion runs entirely in your browser using client-side JavaScript, and nothing you paste is uploaded or stored anywhere. The site is open source so you can verify this yourself.
Nested objects are flattened into dotted keys, so {"db":{"host":"x"}} becomes db.host=x. Array elements use their numeric index as the key segment, so {"items":["a","b"]} becomes items.0=a and items.1=b.
The input must be a JSON object at the top level. A top-level array, string, number, null, or any invalid JSON is rejected with an error message.
Each leaf value (string, number, boolean, or null) is converted to its string form on the right of the equals sign. For example a null value becomes key=null and a boolean becomes key=true.
No. The tool writes plain key=value lines joined by newlines and does not perform .properties-specific escaping of characters such as colons, spaces, or non-ASCII. Review the output if your keys or values contain reserved characters.