Properties to JSON
Convert a Java .properties file to JSON online. Dotted keys become nested objects and Unicode escapes are decoded. Free and private.
Properties
Stays in your browserJSON
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to JSON Beautifier or JSON Visualizer.
Free Online Properties to JSON
Turn a Java or Spring .properties file into JSON. Dotted keys are nested and \uXXXX escapes are turned back into readable characters. It gives developers a quick browser-based way to solve a focused properties to json task before moving the result into a project.
How to use Properties to JSON
Paste your data into the box on the left, or open a file, then press Convert. Paste the file. If it has several profile sections separated by #--- the result is a list with one object per section.
Common mistakes
- A backslash at the end of a value that was meant to be literal: it joins the next line.
- Keys with spaces: Java allows them with a backslash, and they are read correctly.