Our Network


Coming Soon


Coming Later

JSON to Properties Converter

World's Simplest JSON Tool

Free online JSON to properties converter. Just load your JSON file in the input field and it will automatically get converted to a properties file. In the tool options, you can fine-tune the output format by customizing the separator between property keys and values, changing how the nested object keys are joined, and selecting the formatting of array indexes. Created for developers by developers from team Browserling.

JSON to Properties Converter

World's Simplest JSON Tool

Free online JSON to properties converter. Just load your JSON file in the input field and it will automatically get converted to a properties file. In the tool options, you can fine-tune the output format by customizing the separator between property keys and values, changing how the nested object keys are joined, and selecting the formatting of array indexes. Created for developers by developers from team Browserling.

᠎᠎᠎          Tool Options

Key-value Format

Insert an equal sign between
the key and value.
Insert a colon between the
key and value.
Insert a custom separator
between the key and value.
Key-value separator symbol.

Object Key Separator

Insert a dot between the
flattened object keys.
Insert an underscore between
the flattened object keys.
Insert a custom separator
between the object keys.
Object key separator symbol.

Array Index Separator

Insert a dot before the array index.
Enclose the array index in
square brackets.
Insert a custom symbol before
the array index.
Array index separator symbol.
Wrap index in custom symbols.
Left symbol.
Right symbol.

What Is a JSON to Properties Converter?

This tool converts configuration files in JSON format to the properties file format. It turns nested multi-level JSON objects and arrays into a flat linear list of key-value pairs, known as the properties file. The properties file is also known for its simplicity, as there's almost no special syntax. The way this tool works is it recursively traverses all nested JSON data, creating a hierarchical sequence of JSON keys, values, and array contents from the root object (or array) to the final value in the chain. It takes into account the data type of each JSON element and forms the corresponding element in properties format. If the input JSON is an object, then each key-value pair is turned into a single line in the properties file, with the equals sign "=" inserted between the key and the value. For example, a JSON object { "name" : "Julie" } will turn into a properties file "name=Julie". In the options, you can change the equal sign to a colon (in this case, the properties file will be "name: Julie") or set a custom separator character, such as "> " (in this case, the properties file will be "name> Julie"). If one JSON object is nested within another object, then when objects are flattened, their keys are joined via a dot symbol. For example, a nested JSON object { "animal" : { "type" : "cat" } } will become the properties file "animal.type=cat". In the options, you can replace the dot with an underscore (in this case, the properties file will be "animal_type=cat") or set a custom key joining character, such as "+" (in this case, the properties file will be "animal+type=cat"). If the JSON contains an array, the program uses the index of each value in the array as a key. Just like when flattening objects, the indexes are separated from other keys via a dot symbol. For example, a JSON object containing an array { "colors" : [ "red", "green", "blue" ] } will become a properties file "colors.0=red colors.1=green colors.2=blue". In the options, you can also wrap the indexes in square brackets (in this case, the properties file will be "colors[0]=red colors[1]=green colors[2]=blue"), use custom brackets such as "<>" (in this case, the properties file will be "colors<0>=red colors<1>=green colors<2>=blue), or separate the index with a custom symbol, such as "/" (in this case, the properties file will be "colors/0=red colors/1=green colors/3=blue"). The output data of this tool is compatible with Java applications and other tools that work with properties files. If you already have a properties file and need to convert it back to regular JSON, then you can use our Convert Properties to JSON tool. Json-abulous!

What Is a JSON to Properties Converter?

This tool converts configuration files in JSON format to the properties file format. It turns nested multi-level JSON objects and arrays into a flat linear list of key-value pairs, known as the properties file. The properties file is also known for its simplicity, as there's almost no special syntax. The way this tool works is it recursively traverses all nested JSON data, creating a hierarchical sequence of JSON keys, values, and array contents from the root object (or array) to the final value in the chain. It takes into account the data type of each JSON element and forms the corresponding element in properties format. If the input JSON is an object, then each key-value pair is turned into a single line in the properties file, with the equals sign "=" inserted between the key and the value. For example, a JSON object { "name" : "Julie" } will turn into a properties file "name=Julie". In the options, you can change the equal sign to a colon (in this case, the properties file will be "name: Julie") or set a custom separator character, such as "> " (in this case, the properties file will be "name> Julie"). If one JSON object is nested within another object, then when objects are flattened, their keys are joined via a dot symbol. For example, a nested JSON object { "animal" : { "type" : "cat" } } will become the properties file "animal.type=cat". In the options, you can replace the dot with an underscore (in this case, the properties file will be "animal_type=cat") or set a custom key joining character, such as "+" (in this case, the properties file will be "animal+type=cat"). If the JSON contains an array, the program uses the index of each value in the array as a key. Just like when flattening objects, the indexes are separated from other keys via a dot symbol. For example, a JSON object containing an array { "colors" : [ "red", "green", "blue" ] } will become a properties file "colors.0=red colors.1=green colors.2=blue". In the options, you can also wrap the indexes in square brackets (in this case, the properties file will be "colors[0]=red colors[1]=green colors[2]=blue"), use custom brackets such as "<>" (in this case, the properties file will be "colors<0>=red colors<1>=green colors<2>=blue), or separate the index with a custom symbol, such as "/" (in this case, the properties file will be "colors/0=red colors/1=green colors/3=blue"). The output data of this tool is compatible with Java applications and other tools that work with properties files. If you already have a properties file and need to convert it back to regular JSON, then you can use our Convert Properties to JSON tool. Json-abulous!


JSON to Properties Converter Examples

Click to try!
click me

Convert a JSON Object to a Properties File

In this example, we convert a JSON object representing house data into the properties format. The JSON object includes three keys and one nested object. When converting JSON to properties, the keys and their values get connected via an equal sign, while keys from the nested object are flattened and merged with the keys from the root object via the dot symbol.

{ "type": "House", "price": 1000000, "details": { "bedrooms": 4, "bathrooms": 3, "sqft": 2500 } }
type=House price=1000000 details.bedrooms=4 details.bathrooms=3 details.sqft=2500
Required options
These options will be used automatically if you select this example.
Insert an equal sign between
the key and value.
Insert a dot between the
flattened object keys.
click me

Convert a JSON Array to Indexed Properties

This example converts a JSON array of nested arrays into an indexed properties format. It prints one array element per line and also shows the indexes of inner and outer arrays. Each index is enclosed in square brackets "[ ]", and a colon ":" is placed between the indexes and the array element's value.

[ [ "Max", "Beagle", 3 ], [ "Luna", "Bulldog", 1 ] ]
[0][0]: Max [0][1]: Beagle [0][2]: 3 [1][0]: Luna [1][1]: Bulldog [1][2]: 1
Required options
These options will be used automatically if you select this example.
Insert a colon between the
key and value.
Enclose the array index in
square brackets.
click me

Create a Custom Properties File Format

In this example, we convert a more complex JSON data structure into a custom properties format. The input JSON is an array containing nested objects, which in turn contain more arrays. The file represents event data of a concert and a conference on two different dates. When converting this data structure to properties, we create a completely custom properties file format: we use a plus sign "+" to separate nested keys, a greater-than sign ">" to separate keys and values, and round brackets "( )" to enclose array indexes.

[ { "event": "Concert", "date": { "day" : "March 25", "time": "19:00" }, "performers": ["The Weeknd", "Dua Lipa", "ZHU"] }, { "even": "Conference", "date": { "day" : "April 14", "time": "09:00" }, "speakers": ["Jane Doe", "John Smith"] } ]
(0)event>Concert (0)date+day>March 25 (0)date+time>19:00 (0)performers(0)>The Weeknd (0)performers(1)>Dua Lipa (0)performers(2)>ZHU (1)event>Conference (1)date+day>April 14 (1)date+time>09:00 (1)speakers(0)>Jane Doe (1)speakers(1)>John Smith
Required options
These options will be used automatically if you select this example.
Insert a custom separator
between the key and value.
Key-value separator symbol.
Insert a custom separator
between the object keys.
Object key separator symbol.
Wrap index in custom symbols.
Left symbol.
Right symbol.

Pro tips Master online json tools

You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!

https://onlinetools.com/json/convert-json-to-properties?input=%7B%0A%20%20%22type%22%3A%20%22House%22%2C%0A%20%20%22price%22%3A%201000000%2C%0A%20%20%22details%22%3A%20%7B%0A%20%20%20%20%22bedrooms%22%3A%204%2C%0A%20%20%20%20%22bathrooms%22%3A%203%2C%0A%20%20%20%20%22sqft%22%3A%202500%0A%20%20%7D%0A%7D&equal-sign-separated-key-value=true&dot-separated-key=true

All JSON Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly color-code the syntax of a JSON file.
Quickly beautify a JSON data structure.
Quickly compress a JSON file.
Quickly convert JavaScript data to a JSON string.
Quickly convert a JSON string to JavaScript data.
Quickly check JSON for errors and report them.
Quickly escape special JSON characters.
Quickly unescape an escaped JSON string.
Quickly convert a JSON data structure to an XML file.
Quickly convert an XML file to a JSON data structure.
Quickly convert a JSON data structure to a YAML markup.
Quickly convert a YAML markup to a JSON data structure.
Quickly convert a JSON file to a TSV file.
Quickly convert TSV data to a JSON file.
Quickly convert a JSON file to a CSV file.
Quickly convert CSV data to JSON data.
Quickly convert a JSON structure to binary JSON encoding.
Quickly convert JSON to a PNG, GIF, JPG, or BMP image.
Quickly create a screenshot from JSON code.
Quickly encode JSON to base64.
Quickly decode base64 to JSON.
Quickly convert JSON to URL-encoding.
Quickly convert URL-escaped JSON back to JSON.
Quickly convert JSON data to plain text.
Quickly edit a JSON file in a neat JSON editor in your web browser.
Quickly extract keys from objects in JSON data.
Quickly extract values from objects in JSON data.
Quickly reduce the nesting level of an array of arrays.
Quickly create a single-level JSON object from nested JSON objects.
Quickly rewrite JSON strings, keys, and values using escape codes.
Quickly obfuscate a JSON data structure.
Quickly remove certain information from a JSON data structure.
Quickly display detailed information about a JSON data structure.
Quickly convert a JSON file to properties file.
Quickly convert a properties file to a JSON file.

Coming Soon

These JSON tools are on the way!
Find JSON Keys/Values

Find keys and/or values that interest you in a JSON file.

Convert JSON to a List

Create a text list from a JSON array or object.

Convert a List to JSON

Create a JSON array from a text list.

Convert JSON to Form Data

Generate HTTP form data from a JSON object.

Convert Form Data to JSON

Generate JSON object from HTTP form data.

Convert JSON to HTML

Create a HTML table from keys and values of a JSON object.

Convert JSON to CSON

Convert a JSON file to a CSON file.

Convert CSON to JSON

Convert a CSON file to a JSON file.

Convert JSON to TOML

Convert a JSON config to a TOML config.

Convert TOML to JSON

Convert a TOML file to a JSON file.

Convert JSON to Bencode

Convert a JSON data structure to Bencode encoding.

Convert Bencode to JSON

Convert Bencode data to JSON data.

Convert JSON to JSONL

Convert a JSON file to a JSONL file.

Convert JSONL to JSON

Convert a JSONL file to a JSON file.

Convert BSON to JSON

Convert binary JSON data structure (BSON) to JSON.

Convert JSON to UBJSON

Convert a JSON file to a universal binary JSON (UBJSON).

Convert UBJSON to JSON

Convert universal binary JSON (UBJSON) to regular JSON.

Convert JSON to Message Pack

Serialize JSON data to binary MessagePack format.

Convert Message Pack to JSON

Unserialize binary MessagePack to a JSON struct.

Convert JSON to Protobuf

Serialize JSON data to binary Protobuf format.

Convert Protobuf to JSON

Unserialize binary Protobuf to a JSON struct.

Convert JSON to a LaTeX Table

Generate a LaTeX table from a JSON object.

Convert JSON to INI

Convert a JSON data file to an INI configuration file.

Convert INI to JSON

Convert an INI configuration file to JSON data file.

Truncate JSON

Loop over JSON structure and truncate all values or keys.

Find JSON Depth

Find the nesting depth of a JSON data structure.

Convert JSON to a Data URI

Convert a JSON data structure to a data URL.

Convert JSON to a PHP Array

Create a PHP data structure from a JSON data structure.

Convert a PHP array to JSON

Create a JSON data structure from a PHP data structure.

Compare Two JSON Files

Diff JSON files and show differences visually.

Sort JSON Object Keys

Lexicographically sort the order of JSON object keys.

Swap JSON Keys with Values

Exchange keys with values in a JSON file.

Create a Random JSON Array

Create a JSON array with random values.

Create a Random JSON Object

Create a JSON object with random keys and values.

Randomize a JSON Array

Randomly change the positions of array elements.

Randomize a JSON Object

Randomly change the order of key, value pairs.

Add Spacing to JSON

Add random spaces and newlines in a JSON file.

Tokenize JSON

Tokenize a JSON data structure.

Remove JSON Syntax

Remove all JSON syntax and leave just the values.

Change JSON Syntax

Change curly braces, commas, and quotes to other symbols.

Fix Quotes in JSON

Fix incorrectly quoted (usually single quote) keys and values.

Use Single Quotes in JSON

Make all keys and values in a JSON to be single-quoted.

Use Double Quotes in JSON

Make all keys and values in a JSON to be double-quoted.

Generate FakeSON

Create JSON that looks real but is fake (FakeSON).

Run jq

Execute a jq query on a JSON data structure.

Filter JSON

Filter keys and values that match a pattern.

Split a String into a JSON Array

Create a JSON array from a string.

Group a JSON Array

Create groups of JSON array items.

Merge JSON Arrays

Merge two or more JSON arrays together.

Compare JSON Arrays

Find differences in two or more JSON arrays.

Merge JSON Objects

Merge two or more JSON objects together.

Damage JSON

Introduce errors in a JSON data structure.

Fix JSON

Try to fix a damaged JSON to the best of our ability.

Create JSON Art

Convert images to valid JSON strings that look like ASCII art.

Visualize a JSON Structure

Create an abstract visualization of JSON's complexity.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋

Created with love by

We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling, our mission is to make people's lives easier, so we created this collection of JSON tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Behind the scenes, all JSON tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!

49K
@browserling

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!