Skip to content
Input
Properties
Limit
1 MiB
Runtime
Browser

Convert Java Properties pairs to JSON

Decode the documented line and escape grammar into a flat JSON string map while keeping dotted keys literal.

Local processingNo sign-upNo content upload

Convert Properties to JSON

Inputs are limited to 1 MiB and stay in this browser tab.

Paste or edit the source. Tool Swim does not upload or save it.

JSON string map

Nothing is placed in a URL, account, or remote log.

What this tool does

Bounded, explicit, and local

Properties is a flat string table. The converter does not infer objects from dots, arrays from repeated names, or numbers and Booleans from spelling. Comments and original escape choices are reported as presentation loss.

Keys remain flat strings

A key such as service.url stays one JSON member name. Nested-object conventions belong to application schemas, not java.util.Properties.

Decoded values can look different

Continuation markers, escaped separators, spaces, and Unicode escapes are represented by their parsed characters. The compact JSON result cannot recreate the original spelling.

Primary references

Questions and answers

Related INI and Properties tools