JSON to PROPERTIES Converter Online — Free & Private

Paste JSON and get Properties output. Everything runs in your browser and nothing is uploaded.

Loading…
JSON → Properties for flat key and value files
Writes a flat JSON object as Java .properties lines. A nested value stops the conversion with an error that names the key.

Developer notes

The root must be a flat object whose values are strings, numbers or booleans. An array, null or a nested object stops the conversion and names the key. Backslashes, newlines and tabs in values are escaped the way .properties files expect. Dotted keys such as app.name are written as they are. Key/value separator switches between = and :. A key that contains = or : can break a later read, because the first separator wins.

Conversion options

Key/value separator
The character written between each key and its value, = or :. The default is =.

Use cases

Generate application.properties from a flat JSON export. Hand Java settings to a team that works with .properties files. Check how special characters are escaped before you commit.

About these options

For CSV output, choose the delimiter, how fields are quoted, the line endings and whether to write a header row. Auto uses a comma in English and a semicolon in French, German and Spanish, as Excel expects. For CSV input, the delimiter is detected on the first line (comma, semicolon, tab or pipe). You choose whether that line holds the column names. JSON output can use 2 or 4 spaces or a single line, with an optional recursive key sort. XML output can be pretty-printed with a chosen indent width. YAML output takes an indent width and a quoting mode for strings. XML comments are dropped, because the conversion goes through a JSON tree.

Examples

Spring-style dotted keys

Input

{ "app.name": "FastMinify", "app.version": "2.1.0", "app.env": "production", "db.host": "db.internal", "db.port": "5432", "db.ssl": "true", "feature.checkout-v2.enabled": "true", "feature.dark-mode.enabled": "false" }

Output

app.name=FastMinify app.version=2.1.0 app.env=production db.host=db.internal db.port=5432 db.ssl=true feature.checkout-v2.enabled=true feature.dark-mode.enabled=false

Colon separator and escaped characters

Input

{ "greeting": "Hello\nWorld", "path": "C:\\temp", "retries": 3 }

Output

greeting:Hello\nWorld path:C:\\temp retries:3

Related tools

Other converters that start from JSON are linked on this page.

JSON → Properties FAQ

Flat input only

Why does nested JSON fail?

A .properties file is a flat list of keys and values. A nested object cannot be written without flattening it, so the conversion stops and names the key instead of changing the structure.

Can I use : as the separator?

Yes. Set Key/value separator to : in the options. The default is =.

Are arrays supported?

No. Arrays and null are rejected, because .properties values are plain text.

Is my data sent to a server?

No. The conversion runs in your browser, and FastMinify never receives what you paste.

Convert JSON to YAML, XML, CSV, TOML, TSV, SQL, HTML, Properties and INI. Every converter runs in your browser.