Skip to content

JSON to Properties Converter

JSON config into a Java .properties file, escaped the way Java expects to read it.

Drop a JSON file here, or click to choose one

Converted on your device — the file is never uploaded

.properties

Quick Tool Overview

The JSON to Properties Converter flattens JSON into a Java .properties file, with Spring-style array indexes and the escaping Java expects for keys, values and non-ASCII characters.

What it does
Converts JSON to a .properties file
You give it
A JSON object or array
You get back
Dotted keys, escaped for Java
Best for
Spring Boot, Micronaut and Quarkus config
Converters Free, unlimited use No sign-up Runs in your browser

About the JSON to Properties Converter

Spring Boot, Micronaut, Quarkus and plain Java all read configuration from .properties files, and the values you want to load are often JSON — exported from another environment, produced by a tool, or written by someone who works in JSON all day. Converting by hand means flattening the structure and escaping it correctly.

Paste JSON and get a .properties file. Nested objects become dotted keys that Spring binds straight back into objects, and arrays become Spring-style menu.items[0] entries, plain dotted indexes or a single comma-separated line. Keys and values are escaped the way Java requires: spaces, colons, equals signs and hashes in keys, leading spaces in values, and — when you need it — every non-ASCII character as a \uXXXX escape, which is what Java 8 and earlier require to read é or Bangla text correctly.

Key features of the JSON to Properties Converter

Spring-ready arrays

menu.items[0] is exactly how Spring binds a list back into config.

Java escaping

Spaces, colons, equals signs and hashes in keys are escaped properly.

\uXXXX when needed

Escape non-ASCII for Java 8 and earlier, or keep UTF-8 for Java 9 and later.

Three separator styles

key = value, key=value or key: value.

Sorted output

Sort keys alphabetically to make files easy to compare.

How to use the JSON to Properties Converter

  1. 1

    Paste the JSON

    An object or an array of values.

  2. 2

    Pick the array style

    items[0] for Spring Boot, items.0 for plain dotted keys, or one comma-separated line.

  3. 3

    Decide about non-ASCII

    Escape as \uXXXX for Java 8 and earlier, or leave as UTF-8 for Java 9 and later.

  4. 4

    Copy or download the file

    Drop it in as application.properties or any properties file.

Frequently asked questions

Yes, with the bracket style: menu.items[0], menu.items[1] is exactly how Spring binds a list. The dotted style suits readers that treat indexes as ordinary keys.

Reviews of the JSON to Properties Converter

What people who use the JSON to Properties Converter think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the JSON to Properties Converter. It takes half a minute and no account.

Write the first review

More converters