Properties to JSON converter
To convert Properties to JSON, drop your Properties file in the box below. It converts straight away; press Download to save the JSON. It all happens in your browser, so your file stays on your device.
Convert to
Converted on this device, never uploaded
What changes
| Properties to JSON | What happens |
|---|---|
| Rules | As Java’s Properties.load: =, : or a space; # and ! comments; continued lines |
| Escapes | \uXXXX, \t, \n read as the characters they stand for |
| Dotted keys | Kept as they are, or nested: server.port becomes port inside server |
| Set twice | The last value counts |
How to convert Properties to JSON
- Add your Properties. Drop the file in the box, or click to choose it. It becomes JSON straight away.
- Check the result. Look at the preview and the size. The defaults are right for most files.
- Download. Press Download to save the JSON.
Why JSON
Read Java .properties, such as Spring Boot’s application.properties or translation bundles, as JSON.
Questions
Pick YAML instead of JSON: dotted keys are nested for YAML, as Spring Boot expects.
No. It is read and converted in your browser and never uploaded.
No. The conversion happens right in your browser, so your file stays on your device. There is no account to make, either.