JSON to PropertiesConvert JSON objects to Java .properties format with dotted key notation.

JSON to Properties
Convert JSON objects to Java .properties format with dotted key notation.
Paste JSON
Paste a JSON object into the input field.
View .properties output
Nested objects are flattened to dotted key notation.
Copy result
Copy the .properties output for your Java application.
What Is JSON to Properties?
JSON to Properties converts JavaScript Object Notation into Java-style .properties file format. Properties files use simple key=value syntax with dotted keys for hierarchy (e.g., db.connection.host=localhost). This converter flattens nested JSON objects into dotted key notation, handles arrays with indexed keys, and escapes special characters. The output is ready for use in Java applications, Spring Boot configuration, and i18n message bundles.
Why Use Our JSON to Properties?
- Nested objects flattened to dotted key notation automatically.
- Arrays converted to indexed keys (array[0], array[1]).
- Special characters properly escaped for .properties format.
- Clean output ready for Java and Spring Boot applications.
Common Use Cases
Spring Boot Config
Generate application.properties from JSON configuration data.
Java i18n
Create Java message bundle .properties files from JSON translation data.
Legacy Integration
Convert JSON config to .properties for legacy Java applications.
Build Configuration
Generate .properties files for Maven, Gradle, or Ant build systems.
Technical Guide
The converter recursively traverses the JSON structure, building dotted key paths. For each primitive value encountered, a key=value line is output using the accumulated path. Nested objects add their key to the path with a dot separator. Arrays use bracket notation with zero-based indices (e.g., items[0]=value). This recursive approach handles JSON of any depth. Values are escaped for the .properties format: backslashes are doubled, newlines become \n, and tabs become \t. This ensures the output can be parsed correctly by Java's Properties class. The output uses = as the key-value separator and outputs one property per line, matching standard Java .properties format.
Tips & Best Practices
- 1Nested JSON objects produce dotted keys: {"a":{"b":"c"}} โ a.b=c.
- 2Arrays use indexed notation: [0], [1], etc.
- 3Newlines and tabs in values are escaped with backslash notation.
- 4The output is compatible with Java Properties, Spring Boot, and similar frameworks.
Related Tools

Properties to JSON
Convert Java .properties files to structured JSON with nested key support.

JSON to INI
Convert JSON objects to INI configuration file format with sections.

JSON to YAML
Convert JSON to clean, readable YAML format using the js-yaml library.

JSON to TOML
Convert JSON objects to TOML configuration format with tables and array tables.

CSV to JSON
Convert CSV data to JSON array format instantly in your browser.

JSON to CSV
Convert JSON arrays to CSV format with proper escaping and formatting.
Frequently Asked Questions
QHow are nested objects handled?
QHow are arrays handled?
QAre special characters escaped?
QCan I convert back?
QIs the output compatible with Java?
About JSON to Properties
JSON to Properties is a free online tool from FreeToolkit.ai. All processing happens directly in your browser โ your data never leaves your device. No registration required. No ads. Just fast, reliable tools.







