JSON Tools

Properties to JSON Converter

Transform Java .properties files, .env configs, or key-value pairs to structured JSON. Automatically expands dot notation into nested objects with type inference and array support.

Updated 2025-06-12

Properties to JSON Converter

Convert Java .properties, .env files, or key-value configs to structured JSON. Automatically builds nested objects from dot notation.

Load sample:

Conversion Options

About Properties to JSON

Convert Java .properties files, .env configs, or key-value pairs to structured JSON. Dot notation in keys is automatically expanded to nested objects.

Features:

  • Nested Structure: db.host=localhost becomes {"db": {"host": "localhost"}}
  • Type Inference: Automatically parses numbers, booleans, and null
  • Array Support: items[0]=a, items[1]=b becomes ["a", "b"]
  • Comment Handling: Skips lines starting with # or !

Related tools

Properties to JSON Converter | JSON Tools