JSON ⇄ Properties

Convert between JSON and Java Properties style key-value files

How to use

Properties use dots for nested paths and array indices as list.0, list.1. Values are kept as strings; numbers and booleans keep their original text and types are not inferred on the way back.

FAQ

Why did the number become a string?

A Properties file is essentially plain text and all values are strings. Converting back to JSON, this tool does not infer types on its own; convert in code if you need numbers.

Are comments preserved?

JSON → Properties does not generate comments; Properties → JSON skips lines starting with # but does not write them back into the JSON.