What the config converter does
Configuration moves between tools in different formats. Spring and Java apps read .properties files, Kubernetes and CI systems read YAML, and APIs speak JSON. This tool converts between JSON, YAML and .properties while you type, and checks the syntax of what you paste.
How to use it
- Pick the input format and the output format.
- Paste your configuration. Errors are reported straight away.
- Copy the result, download it, or use the swap button to send the output back as the new input.
Example: properties to JSON and YAML
Dotted keys in .properties become nested objects:
# application.properties
server.port=8080
server.host=localhost
app.features.beta=true
# JSON
{ "server": { "port": 8080, "host": "localhost" }, "app": { "features": { "beta": true } } }
# YAML
server:
port: 8080
host: localhost
app:
features:
beta: trueThings to watch
- Comments are not kept. JSON has no comments, and the converters read data, not comments.
- Properties files have no types. A value such as 8080 may come back as a number or as text depending on the target, so check type-sensitive fields.
- Arrays in properties use indexed keys like items[0]. Check the result matches what your application expects.
When this saves time
Typical situations where a quick conversion helps:
- Moving a Spring Boot application.properties file to application.yml, or the other way round.
- Turning a Kubernetes or Docker Compose YAML snippet into JSON for an API call.
- Checking that two config formats really describe the same settings by converting both to JSON and comparing them in a diff checker.
- Validating a config file before you commit it, since a syntax error is reported as you type.
Related tools
- YAML Validator & Formatter: Validate YAML with line and column errors, reformat it, sort keys and convert between YAML and JSON.
- JSON Formatter & Validator: Format, validate, and beautify JSON with clear error messages for developers.
- JSON to CSV & CSV to JSON Converter: Convert JSON arrays to CSV and CSV to JSON with quotes, nested objects and custom delimiters handled.
- Diff Checker: Compare two blocks of text and instantly see line-by-line additions, deletions, and unchanged content.
