JSON to Properties Converter

Turn JSON into a Java .properties file with dotted keys.

Processed on your device. Files are not uploaded

How to convert JSON to a properties file

  1. Paste your JSON

    Paste or type it into the box, or press Try an example.

  2. Check the keys

    Nested objects become dotted keys, such as server.port.

  3. Copy or download

    Save the output as a .properties file for a Java app.

Worked example

This is what JSON to Properties Converter gives for its own sample values. Open the tool above and change anything to try your own.

JSON

{
  "server": { "port": 8080, "host": "localhost" },
  "app": { "name": "Sarva", "debug": true }
}

Properties

server.port=8080
server.host=localhost
app.name=Sarva
app.debug=true

About JSON to Properties Converter

Turn JSON into a Java .properties file, the format used by Spring Boot's application.properties. Special characters and non-ASCII text are escaped.

FAQs

How are lists written?

Each item gets its index, such as items.0 and items.1.

Can I go the other way?

Use Properties to JSON Converter.

Does it escape unicode?

Yes. Characters outside plain ASCII are written as \uXXXX escapes.

Related tools