Properties to JSON
Convert Java .properties files to nested JSON. Supports custom separators and array formats.
Input Properties
Output JSON
Options
About Properties to JSON Converter
Use this tool to turn INI/Java-style properties files into nested JSON objects. A properties file is a simple key-value text format commonly used for configuration in Java applications. This converter intelligently handles nested keys and array indexing.
Features
- Client-Side Conversion: Your data is processed securely in your browser and is never uploaded to a server.
- Custom Formats: Configure custom key-value and object separators to handle a variety of file formats.
- Array Support: Automatically create arrays from numeric keys (e.g.,
users.0=Alice
) or bracketed indices (users[0]=Alice
). - Flexible Output: Format the output JSON with tabs, spaces, or keep it minified.
- Data Type Parsing: Automatically converts values to numbers or booleans where appropriate.
How to Use
- Paste your properties text into the input panel or import a
.properties
or.txt
file. - Adjust the format options to match your file's structure, such as changing separators or enabling bracketed array indexing.
- Click "Convert" to see the live JSON output.
- Download the result or copy it to your clipboard.