Java Properties to JSON Converter
Paste a Java .properties file to get clean JSON, or switch direction to turn JSON back into properties. Comments, escapes and continuations are handled.
How to convert .properties to JSON
- Paste your .properties text (or JSON) into the box.
- Pick the direction: properties to JSON or JSON to properties.
- Copy the converted result.
Examples
Dotted keys to JSON
db.host=localhost db.port:5432
{
"db.host": "localhost",
"db.port": "5432"
}Frequently asked questions
Is my file uploaded anywhere?
No. The conversion runs entirely in your browser, so your data never leaves your device.
Which separators and comments are supported?
Both key=value and key:value are parsed. Lines starting with # or ! are treated as comments and skipped.
Are line continuations handled?
Yes. A line ending in a backslash continues onto the next line, and the leading whitespace of the continuation is ignored.
Are escapes like \n and \uXXXX decoded?
Yes. Escape sequences \n, \r, \t, \f and \uXXXX are decoded in values when converting to JSON, and re-escaped when going back.
Are dotted keys turned into nested objects?
No. Dotted keys like db.host are kept flat and used verbatim as JSON keys, which is the safest round-trippable mapping.
Related tools
JSON to CSV
Convert JSON to CSV online. Paste an array of objects and get clean, spreadsheet-ready CSV with the right headers. Runs in your browser.
JSON Formatter
Format, validate and minify JSON online. Pretty-print with custom indentation, sort keys and catch syntax errors. Runs in your browser.
JSON to XML
Convert JSON to XML online. Paste JSON and get clean, indented XML with a custom root element. Special characters are escaped. Runs in your browser.
Air Fryer Converter
Convert any conventional oven recipe to air fryer settings. Lower the temperature by 25 F and cut the cook time by about 20 percent automatically.
Baking Pan Converter
Swap one baking pan for another and scale the batter to fit. Compares pan areas for round, square and rectangular pans and gives a batter scale factor.
Binary to Decimal
Convert binary to decimal online. Paste any binary number, with or without spaces, and get the exact base-10 value instantly. Runs in your browser.