Properties to JSON Converter

Convert Java .properties files to JSON format. Supports key=value pairs, comments, line continuation, and optional dot-notation nesting into nested objects.

How to Use Properties to JSON Converter

The Properties to JSON Converter transforms Java .properties files into clean JSON format. Paste your properties content with key=value pairs, comments (# or !), and dot-separated keys. Enable nesting to convert dot-notation keys (like db.host) into nested JSON objects. Supports line continuation with backslash and both = and : separators. Perfect for migrating Java configuration to modern JSON-based systems, building config parsers, or converting Spring Boot properties to JSON.

Step-by-Step Instructions

  1. Paste your .properties file content into the input area
  2. Toggle nesting option for dot-separated keys
  3. Click Convert to JSON
  4. Copy the structured JSON output

Related Tools

More Free Tools